Documentation

GetServerBuildUploadUrl

Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild)

Request Details

GetServerBuildUploadURLRequest
Request Properties
BuildId (required) String

unique identifier of the game server build to upload

POST https://{{TitleID}}.playfabapi.com/Admin/GetServerBuildUploadUrl
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "BuildId": "5.0.1"
}
        

Response Details

GetServerBuildUploadURLResult
Result Properties
URL String

pre-authorized URL for uploading the game server build package

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "URL": "https://gamebuild-playfab-dev.s3-us-west-2.amazonaws.com/2fa/5.0.1.zip?AWSAccessKeyId=AKIAIIJIWKXBLUSUIK6Q&Expires=1409094544&Signature=uofoHau9V%2BcC%2BX%2BGaTAKdyAN%2BLE%3F"
  }
}

Authentication

SecretKey

Possible Error Codes

Name Code
BuildAlreadyExists 1084