Box Face

Boxes that have a face. Accessible via /api/boxface.

Identities

PokerBooster
PokerEnvelope

Properties

Each box face has the following properties. Complete details in BoxFaceProperties.

id

The unique id for this box face. It will never change.

identity

The style of box you want.

wing_object_type

boxface.

date_created

A date when the box face was created.

date_updated

A date when the box face was last updated.

name

The name the box face is known by.

game_id

A Game id. The unique id of a game that this box face belongs to.

quantity

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

face_id

A File id. Sets the image that will be printed on the face part of the box. 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.

has_proofed_face

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

Related Objects

game

The Game that this box face is a member of.

Methods

The methods used to fetch and manipulate box facees.

Create

 POST /api/boxface
session_id

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

name

Required.

game_id

Required.

quantity

Optional.

top_id

Optional.

has_proofed_top

Optional.

bottom_id

Optional.

has_proofed_bottom

Optional.

Returns:

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

Update

 PUT /api/boxface/xxx

See Create for details.

Delete

 DELETE /api/boxface/xxx
session_id

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

Returns:

 {
   "success" : 1
 }

Fetch

 GET /api/boxface/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.

Returns:

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