GameCenter Web Api

<back to all web services

GetMyEventsByGame

The following routes are available for this service:
GET/games/{gameId}/events
Parameters:
NameParameterData TypeRequiredDescription
ModifiedAfterpathstringNoOptional, but HIGHLY recommended; must be in UTC or included an appropriate time zone offset; format: YYYY-MM-DDTHH:mm:ss+ZZ
CountpathstringNodeprecated in favor of PageSize; how many results to return per page
PagepathstringNoone-based page, based on how big each page is (via PageSize)
PageSizepathstringNohow many results to return per page; may be limited if too many are requested—ensure subsequent pages never request a bigger PageSize than is returned in a previous page (unless this is the last or after the last page, in other words, zero results were returned) to ensure results are not accidentally skipped
OffsetpathstringNodeprecated in favor of Page; how many results to skip

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/GetMyEventsByGame HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: text/csv
Content-Length: length

gameId,deviceId,ModifiedAfter,Count,Page,PageSize,Offset,AuthToken,Version
,String,String,0,0,0,0,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'GameEventResponseList' using the custom 'csv' filter}Object reference not set to an instance of an object.