Game libraries are used to track the inventory of games used at Convention,
usually for free checkout.
Librarys are accessed via /api/library
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in LibraryProperties.
See "Related Objects" in Introduction for how to use them.
The GeoLocation that this library calls home.
The User that owns this library.
See "Relationships" in Introduction for how to use them.
The history of LibraryGameCheckouts for a game.
Conventions that have used this library.
Games contained within this library.
The PlayToWins associated with this library.
The services used to fetch and manipulate libraries.
This will search across all libraries.
GET /api/library
Searches a partial name.
Returns:
{ "paging" : {...}, "items" : [ { "id" : "xxx", "name" : "Gulf Coast Library", ... }, ... ] }
POST /api/library
Returns the same as a normal read.
GET /api/library/xxx
Returns:
{ "id" : "xxx", "name" : "Gulf Coast Library", ... }
PUT /api/library/xxx
Returns the same as a normal read.
DELETE /api/library/xxx
Returns:
{ "success" : 1 }
This imports a game collection from a user on Board Game Geek.
POST /api/library/xxx/import/bgg
The username of the user who's collection you'd like to import into this library. Calling this service just starts the process. It will continue in the background and email the library owner when complete.
Returns:
{ "success" : 1 }