This API allows you to create sets of two sided sets like mats and boards.
Accessible via /api/twosidedset
.
Each two sided set is accessed via /api/twosidedset
and has the following properties.
Complete details in TwoSidedSetProperties.
The unique id for this two sided set. It will never change.
The style of two sided set you want.
twosidedset
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.
If the two sided set has no back,
and a member is assigned a back,
then that back will also be assigned to the set.
A boolean indicating whether the back image has been verified by the user to be correct.
The methods used to fetch and manipulate two sided sets.
POST /api/twosidedset
Required. The unique session id provided by a Session method.
Required.
Required.
Optional.
Optional.
Optional.
Returns:
{ "id" : "xxx", "name" : "Guard", ... }
PUT /api/twosidedset/xxx
See Create for details.
DELETE /api/twosidedset/xxx
Required. The unique session id provided by a Session method.
Returns:
{ "success" : 1 }
GET /api/twosidedset/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", ... }