This API allows you to create three sided objects like dual layer boards.
Accessible via /api/twosided
.
Each three sided custom cut object is accessed via /api/twosided
and has the following properties.
Complete details in TwoSidedProperties.
The unique id for this three sided custom cut object. It will never change.
twosided
A date when the three sided custom cut object was created.
A date when the three sided custom cut object was last updated.
The name the three sided custom cut object is known by.
A TwoSidedSet id. The unique id of a three sided custom cut set that this two sided object belongs to.
An integer between 1 and 99.
Defaults to 1
.
Allows for multiple copies of a three sided custom cut object to be included in the game.
A File id.
Sets the face image of the three sided custom cut object.
The ID is from a File.
If a face_id is specified,
then an extra property called face
will be added which will briefly describe the image.
A boolean indicating whether the face image has been verified by the user to be correct.
A File id.
Sets the back image of the three sided custom cut object.
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.
A boolean indicating whether the back image should be taken from the set, or from this object.
A File id.
Sets the inner image of the three sided custom cut object.
The ID is from a File.
If a inner_id is specified,
then an extra property called inner
will be added which will briefly describe the image.
A boolean indicating whether the inner image has been verified by the user to be correct.
A File id.
Sets the SVG cut file for this shape.
If a cut_id is specified,
then an extra property called cut
will be added which will briefly describe the svg image.
The ThreeSidedCustomCutSet that this three sided custom cut object is a member of.
The methods used to fetch and manipulate three sided custom cut objects.
POST /api/twosided
Required. The unique session id provided by a Session method.
Required.
Required.
Optional.
Optional.
Optional.
Returns:
{ "id" : "xxx", "name" : "Guard", ... }
PUT /api/twosided/xxx
See Create for details.
DELETE /api/twosided/xxx
Required. The unique session id provided by a Session method.
Returns:
{ "success" : 1 }
GET /api/twosided/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Relationships" in Intro and Relationship above for details.
Returns:
{ "id" : "xxx", "name" : "Guard", ... }