Documentation

GetPublisherData

Retrieves the key-value store of custom publisher settings

Request Details

This API is designed to return publisher-specific values which can be read, but not written to, by the client. This data is shared across all titles assigned to a particular publisher, and can be used for cross-game coordination. Only titles assigned to a publisher can use this API. For more information email devrel@playfab.com. This AdminAPI call for getting title data guarantees no delay in between update and retrieval of newly set data.

GetPublisherDataRequest
Request Properties
Keys (required) List<String>

array of keys to get back data from the Publisher data blob, set by the admin tools

POST https://{{TitleID}}.playfabapi.com/Admin/GetPublisherData
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "Keys": [
    "color",
    "propertyA"
  ]
}
        

Response Details

GetPublisherDataResult
Result Properties
Data Dict<String, String>

a dictionary object of key / value pairs

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "Data": {
      "color": "blue",
      "propertyA": "xyz123"
    }
  }
}

Authentication

SecretKey

Possible Error Codes

Name Code
PublisherNotSet 1122