Tankoubon API
Get all tankoubons
GET
http://lrr.tvc-16.science/api/tankoubons
Get list of Tankoubons paginated.
Query Parameters
page
string
Page of the list of Tankoubons.
Get a single tankoubon
GET
http://lrr.tvc-16.science/api/tankoubons/:id
Get the details of the specified tankoubon ID, with the archives list paginated.
Path Parameters
id*
string
ID of the Tankoubon desired.
Query Parameters
include_full_data
string
If set in 1, it appends a full_data array with Archive objects.
page
string
Page of the Archives list.
πCreate a Tankoubon
PUT
http://lrr.tvc-16.science/api/tankoubons
Create a new Tankoubon or updated the name of an existing one.
Query Parameters
name*
string
Name of the Category.
πUpdate a Tankoubon
PUT
http://lrr.tvc-16.science/api/tankoubons/:id
Update a Tankoubon.
Path Parameters
id*
string
ID of the Tankoubon to update.
Request Body
archives*
json
Json with 2 optional keys "archives" and "metadata" defining:
archives: Ordered array with the IDs of the archives.
metadata: Json with the metadata parameters: name, summary, tags.
Note: If there is no need to update something in one of the keys, do not send the key, otherwise can result on unwanted results.
πAdd an archive to a Tankoubon
PUT
http://lrr.tvc-16.science/api/tankoubons/:id/:archive
Append an archive at the final position of a Tankoubon.
Path Parameters
id*
string
ID of the Tankoubon to update.
archive*
string
ID of the Archive to append.
πRemove an archive from a Tankoubon
DELETE
http://lrr.tvc-16.science/api/tankoubons/:id/:archive
Remove an archive from a Tankoubon.
Path Parameters
id*
string
ID of the Tankoubon to update.
archive*
string
ID of the archive to remove.
πDelete a Tankoubon
DELETE
http://lrr.tvc-16.science/api/tankoubons/:id
Remove a Tankoubon.
Path Parameters
id*
string
ID of the Tankoubon to delete.
Last updated