Documentation

GetTitleNews

Retrieves the title news feed, as configured in the developer portal

Request Details

GetTitleNewsRequest
Request Properties
Count int32

Limits the results to the last n entries. Defaults to 10 if not set.

POST https://{{TitleID}}.playfabapi.com/Server/GetTitleNews
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "Count": 25
}
        

Response Details

GetTitleNewsResult
Result Properties
News List<TitleNewsItem>

Array of news items.

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "News": [
      {
        "Timestamp": "2014-04-06T00:00:00Z",
        "Title": "News of the Day",
        "Body": "We have a new object to buy!"
      }
    ]
  }
}

Authentication

SecretKey

Possible Error Codes

Name Code