{"info":{"title":"cloudsaving basic","version":"1.0","contact":{"name":"Beamable Support","url":"https://api.beamable.com","email":"support@beamable.com"}},"servers":[{"url":"https://api.beamable.com"}],"paths":{"/basic/cloudsaving/data/replace":{"post":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manifest"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceObjectsRequest"}}}},"security":[{"user":["developer"]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data":{"delete":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectRequests"}}}},"security":[{"user":["developer"]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data/downloadURL":{"post":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/URLSResponse"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectRequests"}}}},"security":[{"user":[]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data/metadata":{"get":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectsMetadataResponse"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"request","in":"query","schema":{"type":"array","items":{"$ref":"#/components/schemas/ObjectRequest"}},"required":false},{"name":"playerId","in":"query","schema":{"type":"integer","format":"int64"},"required":false}],"security":[{"user":[]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data/downloadURLFromPortal":{"post":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/URLSResponse"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectRequests"}}}},"security":[{"user":["tester"]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data/move":{"put":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manifest"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayerBasicCloudDataRequest"}}}},"security":[{"user":[]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data/moveFromPortal":{"put":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manifest"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayerBasicCloudDataRequest"}}}},"security":[{"user":["developer"]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data/uploadURLFromPortal":{"post":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/URLSResponse"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadRequestsFromPortal"}}}},"security":[{"user":["developer"]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data/commitManifest":{"put":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manifest"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadRequests"}}}},"security":[{"user":[]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/data/uploadURL":{"post":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/URLSResponse"}}}},"400":{"description":"Bad Request"}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadRequests"}}}},"security":[{"user":[]},{"server":[]}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]},"/basic/cloudsaving/":{"get":{"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manifest"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"playerId","in":"query","schema":{"type":"integer","format":"int64"},"required":false}],"security":[{}]},"parameters":[{"name":"X-BEAM-SCOPE","in":"header","schema":{"type":"string"},"description":"Customer and project scope. This should be in the form of '<customer-id>.<project-id>'.","required":true},{"name":"X-BEAM-GAMERTAG","in":"header","schema":{"type":"string"},"description":"Override the Gamer Tag of the player. This is generally inferred by the auth token.","required":false}]}},"components":{"schemas":{"ObjectRequest":{"type":"object","additionalProperties":false,"properties":{"objectKey":{"type":"string"}},"required":["objectKey"]},"ObjectRequests":{"properties":{"request":{"type":"array","items":{"$ref":"#/components/schemas/ObjectRequest"}},"playerId":{"type":"integer","format":"int64"}},"additionalProperties":false,"title":"Object Requests","type":"object"},"ObjectsMetadataResponse":{"properties":{"response":{"type":"array","items":{"$ref":"#/components/schemas/ObjectMetadataResponse"}}},"additionalProperties":false,"title":"Objects Metadata Response","type":"object","required":["response"]},"URLSResponse":{"properties":{"response":{"type":"array","items":{"$ref":"#/components/schemas/URLResponse"}}},"additionalProperties":false,"title":"URLS Response","type":"object","required":["response"]},"URLResponse":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string"},"objectKey":{"type":"string"}},"required":["url","objectKey"]},"Reference":{"type":"object","additionalProperties":false,"properties":{"size":{"type":"integer","format":"int64"},"lastModified":{"type":"integer","format":"int64"},"eTag":{"type":"string"},"key":{"type":"string"},"bucketName":{"type":"string"}},"required":["bucketName","key","size","lastModified"]},"ObjectMetadataResponse":{"type":"object","additionalProperties":false,"properties":{"objectKey":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["objectKey","metadata"]},"MetadataPair":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]},"Manifest":{"properties":{"id":{"type":"string"},"manifest":{"type":"array","items":{"$ref":"#/components/schemas/Reference"}},"created":{"type":"integer","format":"int64"},"replacement":{"type":"boolean"}},"additionalProperties":false,"title":"Manifest","type":"object","required":["id","manifest","created","replacement"]},"PlayerBasicCloudDataRequest":{"properties":{"playerId":{"type":"integer","format":"int64"}},"additionalProperties":false,"title":"Player Basic Cloud Data Request","type":"object"},"EmptyResponse":{"properties":{"result":{"type":"string"}},"additionalProperties":false,"title":"Empty Response","type":"object","required":["result"]},"UploadRequestsFromPortal":{"properties":{"request":{"type":"array","items":{"$ref":"#/components/schemas/UploadRequestFromPortal"}},"playerId":{"type":"integer","format":"int64"}},"additionalProperties":false,"title":"Upload Requests From Portal","type":"object","required":["request"]},"UploadRequests":{"properties":{"request":{"type":"array","items":{"$ref":"#/components/schemas/UploadRequest"}},"playerId":{"type":"integer","format":"int64"}},"additionalProperties":false,"title":"Upload Requests","type":"object","required":["request"]},"ReplaceObjectsRequest":{"properties":{"sourcePlayerId":{"type":"integer","format":"int64"},"targetPlayerId":{"type":"integer","format":"int64"}},"additionalProperties":false,"title":"Replace Objects Request","type":"object","required":["sourcePlayerId","targetPlayerId"]},"UploadRequest":{"type":"object","additionalProperties":false,"properties":{"objectKey":{"type":"string"},"lastModified":{"type":"integer","format":"int64"},"checksum":{"type":"string"},"sizeInBytes":{"type":"integer","format":"int64"},"metadata":{"type":"array","items":{"$ref":"#/components/schemas/MetadataPair"}},"deleted":{"type":"boolean"}},"required":["objectKey","sizeInBytes"]},"UploadRequestFromPortal":{"type":"object","additionalProperties":false,"properties":{"objectKey":{"type":"string"},"sizeInBytes":{"type":"integer","format":"int64"},"metadata":{"type":"array","items":{"$ref":"#/components/schemas/MetadataPair"}},"lastModified":{"type":"integer","format":"int64"}},"required":["objectKey","sizeInBytes"]}},"securitySchemes":{"server":{"type":"apiKey","name":"X-DE-SIGNATURE","in":"header","description":"Signed Request authentication using project secret key."},"user":{"type":"http","description":"Bearer authentication with a player access token in the Authorization header.","scheme":"bearer","bearerFormat":"Bearer <Access Token>"}}},"security":[],"externalDocs":{"description":"Beamable Documentation","url":"https://docs.beamable.com"},"openapi":"3.0.2"}