Two Sided Set

This API allows you to create sets of two sided sets like mats and boards. Accessible via /api/twosidedset.

Identities

AccordionBoard
BiFoldMat
BigMat
BridgeFolio
DominoBoard
DominoMat
FlowerMat
HalfBoard
HalfMat
HexMat
InvaderMat
LargeHexMat
LargeScreen
LargeSquareBoard
LargeSquareMat
MediumFolio
MediumScreen
MintTinAccordion4
MintTinAccordion6
MintTinAccordion8
MintTinFolio
PokerFolio
PlacardMat
PlayMoney
QuadFoldMat
QuarterBoard
QuarterMat
SkinnyBoard
SkinnyMat
SliverBoard
SliverMat
SmallScreen
SmallSquareBoard
SmallFolio
SmallSquareMat
SpinnerMat
SquareBoard
SquareFolio
SquareMat
StripBoard
StripMat
TarotFolio
USGameMat

Properties

Each two sided set is accessed via /api/twosidedset and has the following properties. Complete details in TwoSidedSetProperties.

id

The unique id for this two sided set. It will never change.

identity

The style of two sided set you want.

object_type

twosidedset

date_created

A date when the two sided set was created.

date_updated

A date when the two sided set was last updated.

name

The name the two sided set is known by.

game_id

A Game id. The unique id of a game that this two sided set belongs to.

quantity

An integer between 1 and 99. Defaults to 1. Allows for multiple copies of a two sided set to be included in the game.

back_id

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.

has_proofed_back

A boolean indicating whether the back image has been verified by the user to be correct.

Related Objects

game

The Game that this two sided set is a member of.

Relationships

members

The TwoSided members that belong to this set.

Methods

The methods used to fetch and manipulate two sided sets.

Create

 POST /api/twosidedset
session_id

Required. The unique session id provided by a Session method.

name

Required.

game_id

Required.

quantity

Optional.

back_id

Optional.

has_proofed_back

Optional.

Returns:

 {
   "id" : "xxx",
   "name" : "Guard",
   ...
 }

Update

 PUT /api/twosidedset/xxx

See Create for details.

Delete

 DELETE /api/twosidedset/xxx
session_id

Required. The unique session id provided by a Session method.

Returns:

 {
   "success" : 1
 }

Fetch

 GET /api/twosidedset/xxx
session_id

Optional. The unique session id provided by a Session method.

_include_related_objects

Optional. See "Related Objects" in Intro and Related Objects above for details.

_include_relationships

Optional. See "Relationships" in Intro and Relationships above for details.

Returns:

 {
   "id" : "xxx",
   "name" : "Guard",
   ...
 }
^ Back to Top ^