All coil bound books share this API just using different identities to differentiate by size.
They are all accessed via /api/coilbook
.
Each coilbook has the following properties with complete details in CoilBookProperties:
The unique id for this coilbook. It will never change.
The size of coilbook you want. See Identities above.
coilbook
A date when the coilbook was created.
A date when the coilbook was last updated.
The name the coilbook is known by.
A Game id. The unique id of a game that this coilbook belongs to.
An integer between 1 and 99.
Defaults to 1
.
Allows for multiple copies of a coilbook to be included in the game.
The number of pages in the coilbook.
The list of CoilBookPages that are attached to this coilbook.
The methods used to fetch and manipulate coilbooks.
POST /api/coilbook
Required. The unique session id provided by a Session method.
Required.
Required.
Optional.
Returns:
{ "id" : "xxx", "name" : "Rules", ... }
PUT /api/coilbook/xxx
See Create for details.
DELETE /coilbook/xxx
Required. The unique session id provided by a Session method.
Returns:
{ "success" : 1 }
GET /api/coilbook/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Relationships" in Intro and CoilBook Relationships above for details.
Returns:
{ "id" : "xxx", "name" : "Rules", ... }