This API allows you to create sets of two sided sets like mats and boards.
Accessible via /api/twosidedsluggedset
.
Each two sided set is accessed via /api/twosidedsluggedset
and has the following properties.
Complete details in TwoSidedSluggedSetProperties.
The unique id for this two sided set. It will never change.
The style of two sided set you want.
twosidedsluggedset
A date when the two sided set was created.
A date when the two sided set was last updated.
The name the two sided set is known by.
A Game id. The unique id of a game that this two sided set belongs to.
An integer between 1 and 99.
Defaults to 1
.
Allows for multiple copies of a two sided set to be included in the game.
A File id.
Sets the back image of the two sided set.
The ID is from a File.
If a back_id is specified,
then an extra property called back
will be added which will briefly describe the image.
A boolean indicating whether the back image has been verified by the user to be correct.
The TwoSidedSlugged members that belong to this set.
The methods used to fetch and manipulate two sided sets.
POST /api/twosidedsluggedset
Required. The unique session id provided by a Session method.
Required.
Required.
Optional.
Optional.
Optional.
Returns:
{ "id" : "xxx", "name" : "Guard", ... }
PUT /api/twosidedsluggedset/xxx
See Create for details.
DELETE /api/twosidedsluggedset/xxx
Required. The unique session id provided by a Session method.
Returns:
{ "success" : 1 }
GET /api/twosidedsluggedset/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Related Objects" in Intro and Related Objects above for details.
Optional. See "Relationships" in Intro and Relationships above for details.
Returns:
{ "id" : "xxx", "name" : "Guard", ... }