A designer is an entity that designs games. Often times it represents a company or a brand. Each designer has the following properties. Complete details in DesignerProperties.
The unique id for this designer. It will never change.
designer
Another unique way of identifying a designer. However, this can be changed by an admin or the user that controls the designer.
A User id. The unique id of a user that has control over a designer, and therefore the games that the designer owns.
An email address associated with this designer. This will be publicly available so people can contact the designer.
A URI for the designer's public web site.
A URI for the designer's profile in the shop.
A date when the designer was created.
A date when the designer was last updated.
A File id.
Sets the logo.
The ID is from a File.
If a logo_id
is specified,
then an extra property called logo
will be added which will briefly describe the image.
The list of Games that are controlled by this designer.
The list of DesignerAssociates attached to this designer.
Provides a list of the options that can be used to fill out various fields when creating or updating a designer.
GET /api/designer/_options
Returns:
{ "payout_via" : [...] }
NOTE: You can also get this data by adding _include_options=1
to the parameter list when fetching a designer.
The methods used to fetch and manipulate designers.
POST /api/designer
Required. The unique session id provided by a Session method.
Required.
Required.
Optional.
Optional.
Optional.
Optional.
Optional.
Returns:
{ "id" : "xxx", "name" : "Shawshank Games", ... }
PUT /api/designer/xxx
See Create Designer for details.
DELETE /api/designer/xxx
Required. The unique session id provided by a Session method.
Returns:
{ "success" : 1 }
GET /api/designer/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Options" in Intro and Designer Options above for details.
Optional. See "Relationships" in Intro and Designer Relationships above for details.
Returns:
{ "id" : "xxx", "name" : "Shawshank Games", ... }
GET /api/designer
Optional. The unique session id provided by a Session method.
Returns:
{ "pager" : { ... }, "items" : [ { "id" : "xxx", "name" : "Shawshank Games", ... }, ... ] }
GET /api/designer/xxx/games
Returns:
{ "pager" : { ... }, "items" : [ { "id" : "xxx", "name" : "Prison Break", ... }, ... ] }