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. Note that there may up to a minute delay in between updating title data and this API call returning the newest value.

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/Client/GetPublisherData
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
{
  "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

SessionTicket

Possible Error Codes

Name Code
PublisherNotSet 1122