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