Documentation

GetAssetUploadUrl

Gets the URL to upload assets to.

Request Details

Gets the URL to upload assets to.

GetAssetUploadUrlRequest
Request Properties
FileName (required) String

The asset's file name to get the upload URL for.

POST https://{{TitleID}}.playfabapi.com/MultiplayerServer/GetAssetUploadUrl
    Content-Type: application/json
{
  "FileName": "gameserver.zip"
}
        

Response Details

GetAssetUploadUrlResponse
Result Properties
AssetUploadUrl String

The asset's upload URL.

FileName String

The asset's file name to get the upload URL for.

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "FileName": "gameserver.zip",
    "AssetUploadUrl": "https://2mxyjirehzyc6.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=2018-08-21T20%3A27%3A47.5613204Z&se=2018-08-22T01%3A27%3A47.5613204Z&spr=https&sig=SJH%2B1rgFm6%2F6EkUWVPCI5pSR49W5EbZ4L51sDBlkAtE%3D&api-version=2017-07-29"
  }
}

Authentication

EntityToken

Possible Error Codes

Name Code
MultiplayerServerBadRequest 1382
MultiplayerServerConflict 1386
MultiplayerServerForbidden 1384
MultiplayerServerInternalServerError 1387
MultiplayerServerNoContent 1381
MultiplayerServerNotFound 1385
MultiplayerServerTooManyRequests 1380
MultiplayerServerUnauthorized 1383
MultiplayerServerUnavailable 1388