{"openapi":"3.1.0","info":{"title":"Artifact Delivery Service","version":"1.0.0"},"paths":{"/public/v1/delivery/account/{accountId}/downloadurls":{"post":{"tags":["Delivery - Account"],"summary":"Generate download URLs for artifact chunks","parameters":[{"in":"path","name":"accountId","schema":{"$ref":"#/components/schemas/AccountID"},"required":true,"description":"An account id"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["signedTicket","chunkIds"],"properties":{"signedTicket":{"type":"string","description":"The Signed Ticket that is obtained using the Launcher Service Ticket API"},"chunkIds":{"type":"array","items":{"type":"string"},"description":"All Chunk Ids you want to generate Download URLs for"}}}}}},"responses":{"200":{"description":"Map of chunk IDs to signed download URLs","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string","format":"uri"}}}}}},"description":"**Permission Required**: [`delivery:public:downloadurls:{accountId} READ`](https://egs.jaren.wtf/#resource=delivery:public:downloadurls:{accountId}&action=2)","security":[{"bearer":["delivery:public:downloadurls:{accountId} READ"]}]}},"/public/v1/delivery/account/{accountId}/patch":{"post":{"tags":["Delivery - Account"],"summary":"Get signed patch meta links","parameters":[{"in":"path","name":"accountId","schema":{"$ref":"#/components/schemas/AccountID"},"required":true,"description":"An account id"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["signedTicket","deltaId"],"properties":{"signedTicket":{"type":"string","description":"The Signed Ticket that is obtained using the Launcher Service Ticket API"},"deltaId":{"type":"string","examples":["F2HLp1AT9ECKev6viRB5_A/OBkNfoIsGkeguepJAsUBlw.delta"],"description":"Used to determine the delta, format: `targetBuildId/baseBuildId.delta`, the build id is parsed from within the manifest metadata"}}}}}},"responses":{"200":{"description":"Patch meta","content":{"application/json":{"schema":{"type":"object","properties":{"artifactId":{"type":"string"},"binaryVersion":{"type":"string"},"distributionPoints":{"type":"array","items":{"type":"object","properties":{"patchUrl":{"type":"string","format":"uri","examples":["https://download.epicgames.com/Builds/Fortnite/CloudDir/Deltas/F2HLp1AT9ECKev6viRB5_A/OBkNfoIsGkeguepJAsUBlw.delta?..."]},"signatureExpiration":{"type":"string","format":"date-time"}}}}}}}}}},"description":"**Permission Required**: [`delivery:public:patch:{accountId} READ`](https://egs.jaren.wtf/#resource=delivery:public:patch:{accountId}&action=2)","security":[{"bearer":["delivery:public:patch:{accountId} READ"]}]}},"/public/v1/delivery/org/{organizationId}/product/{productId}/artifact/{artifactId}/policy":{"get":{"tags":["Delivery - Organization"],"summary":"Read artifact policy","parameters":[{"in":"path","name":"organizationId","schema":{"$ref":"#/components/schemas/OrganizationID"},"required":true,"description":"An organization id"},{"in":"path","name":"productId","schema":{"type":"string"},"required":true,"description":"A product id"},{"in":"path","name":"artifactId","schema":{"type":"string"},"required":true,"description":"An artifact id"}],"responses":{"200":{"description":"Artifact policy","content":{"application/json":{"schema":{"type":"object","properties":{"useSignedUrl":{"type":"boolean"}}}}}}},"description":"**Permission Required**: [`artifact:{organizationId}:{productId}:{artifactId}:policy READ`](https://egs.jaren.wtf/#resource=artifact:{organizationId}:{productId}:{artifactId}:policy&action=2)","security":[{"bearer":["artifact:{organizationId}:{productId}:{artifactId}:policy READ"]}]}},"/version":{"get":{"tags":["Version"],"summary":"Get the current version","responses":{"200":{"description":"Version info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}}}}}},"components":{"schemas":{"AccountID":{"type":"string","pattern":"^[0-9a-f]{12}4[0-9a-f]{3}[89ab][0-9a-f]{15}$","examples":["8b0a23cb43af46cb972806f4025a9cba"],"description":"This represents a unique id for an epic games account"},"Version":{"type":"object","required":["app","serverDate","overridePropertiesVersion","cln","build","moduleName","buildDate","version","branch","modules"],"properties":{"app":{"type":"string"},"serverDate":{"type":"string","format":"date-time"},"overridePropertiesVersion":{"type":"string"},"cln":{"type":"string"},"build":{"type":"string"},"moduleName":{"type":"string"},"buildDate":{"type":"string","format":"date-time"},"version":{"type":"string"},"branch":{"type":"string"},"modules":{"type":"object","additionalProperties":{"type":"object","required":["cln","build","buildDate","version","branch"],"properties":{"cln":{"type":"string"},"build":{"type":"string"},"buildDate":{"type":"string","format":"date-time"},"version":{"type":"string"},"branch":{"type":"string"}}}}}},"OrganizationID":{"type":"string","pattern":"^o-[0-9a-z]{30}$","examples":["o-aa83a0a9bc45e98c80c1b1c9d92e9e","o-qffyne2n8tuxgnxu4gzg33th8xkuud"],"description":"This represents a unique id for an organization"}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"servers":[{"url":"https://artifact-delivery-public-service-prod.beee.live.use1a.on.epicgames.com/artifact-delivery/api"}]}