Action Shot Properties

Each actionshot is accessed via /api/actionshot and has the following properties. Complete details in ActionShotProperties.

id

The unique id for this actionshot. It will never change.

game_id

The unique id of a game that this actionshot belongs to.

image_id

Sets the image you want people to see. The ID is from a File. If a image_id is specified, then an extra property called image will be added which will briefly describe the image.

sequence

The order in which the action shots will be displayed, from lowest to highest.

Related Objects

game

The Game that this actionshot is a member of.

Action Shot Methods

The methods used to fetch and manipulate actionshots.

Create Action Shot

 POST /api/actionshot
session_id

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

game_id

Required.

image_id

Required.

Returns:

 {
   "id" : "xxx",
   "image_id" : "xxx",
   ...
 }

Update Action Shot

 PUT /api/actionshot/xxx

See Create Action Shot for details.

Delete Action Shot

 DELETE /api/actionshot/xxx
session_id

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

Returns:

 {
   "success" : 1
 }

Fetch Action Shot

 GET /api/actionshot/xxx
session_id

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

_include_relationships

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

Returns:

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