Game downloads are files that can be downloaded freely, or after the purchase of a Game. Each game download has the following properties. Complete details in GameDownloadProperties.
The unique id for this download. It will never change.
gamedownload
.
A date when the download was created.
A date when the download was last updated.
A boolean defaults to 0. If 1 users can download this file without first purchasing the game. If 0 Users must first purchase the game to download the file.
A Game id. The id of the game associated with this download.
A File id. The id of the file associated with this download.
The methods used to fetch and manipulate downloads.
POST /api/gamedownload
Required. The unique session id provided by a Session method.
Required.
Required.
Returns:
{ "id" : "xxx", "file_id : "xxx", ... }
PUT /api/gamedownload/xxx
See Create Game Download for details.
DELETE /api/gamedownload/xxx
Required. The unique session id provided by a Session method.
Returns:
{ "success" : 1 }
GET /api/download/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Relationships" in Intro and Game Download Relationships above for details.
Returns:
{ "id" : "xxx", "part" : { ... }, ... }