Get all tankoubons
GET
http://lrr.tvc-16.science/api/tankoubons
Get list of Tankoubons paginated.
Query Parameters
Page of the list of Tankoubons.
{
"filtered": 2,
"result": [
{
"archives": [
"28697b96f0ac5858be2614ed10ca47742c9522fd",
"4857fd2e7c00db8b0af0337b94055d8445118630",
"fa74bc15e7dd2b6ec0dc2e10cc7cd4942867318a"
],
"id": "TANK_1688616437",
"name": "Test 1"
},
{
"archives": [
"fa74bc15e7dd2b6ec0dc2e10cc7cd4942867318a"
],
"id": "TANK_1688693913",
"name": "Test 2"
}
],
"total": 2
}
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 of the Tankoubon desired.
Query Parameters
If set in 1, it appends a full_data array with Archive objects.
Page of the Archives list.
{
"filtered": 3,
"result": {
"archives": [
"fa74bc15e7dd2b6ec0dc2e10cc7cd4942867318a",
"28697b96f0ac5858be2614ed10ca47742c9522fd",
"4857fd2e7c00db8b0af0337b94055d8445118630"
],
"id": "TANK_1688616437",
"name": "Test 1"
},
"total": 3
}
{
"filtered": 3,
"result": {
"archives": [
"fa74bc15e7dd2b6ec0dc2e10cc7cd4942867318a",
"28697b96f0ac5858be2614ed10ca47742c9522fd",
"4857fd2e7c00db8b0af0337b94055d8445118630"
],
"full_data": [
{
"arcid": "fa74bc15e7dd2b6ec0dc2e10cc7cd4942867318a",
"extension": "zip",
"isnew": "true",
"lastreadtime": 0,
"pagecount": 30,
"progress": 0,
"tags": "date_added:1688608157",
"lastreadtime": 0,
"title": "(C95) [wadamemo (WADA Rco)] Fate GO MEMO 3 (Fate Grand Order)"
},
{
"arcid": "28697b96f0ac5858be2614ed10ca47742c9522fd",
"extension": "zip",
"isnew": "true",
"lastreadtime": 0,
"pagecount": 30,
"progress": 0,
"tags": "date_added:1688608157",
"lastreadtime": 0,
"title": "FateGOMEMO"
},
{
"arcid": "4857fd2e7c00db8b0af0337b94055d8445118630",
"extension": "zip",
"isnew": "true",
"lastreadtime": 0,
"pagecount": 26,
"progress": 0,
"tags": "date_added:1688608157",
"lastreadtime": 0,
"title": "gits (2)"
}
],
"id": "TANK_1688616437",
"name": "Test 1"
},
"total": 3
}
{
"error": "The given tankoubon does not exist.",
"operation": "get_tankoubon",
"success": 0
}
π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
{
"operation": "create_tankoubon",
"success": 1,
"tankoubon_id": "TANK_1690056313"
}
{
"error": "Tankoubon name not specified.",
"operation": "create_tankoubon",
"success": 0
}
πUpdate a Tankoubon
PUT
http://lrr.tvc-16.science/api/tankoubons/:id/archive
Modify a Tankoubon using an ordered array that can add new files, remove files, and update order.
Path Parameters
ID of the Tankoubon to update.
Request Body
Ordered array with the IDs of the archives.
{
"error": "",
"operation": "update_archive_list",
"success": 1,
"successMessage": "Updated archives of tankoubon \"Test 1\"!"
}
{
"error": "rr doesn't exist in the database!",
"operation": "update_archive_list",
"success": 0
}
π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 of the Tankoubon to update.
ID of the Archive to append.
{
"error": "",
"operation": "add_to_tankoubon",
"success": 1,
"successMessage": "Added \"(C95) [wadamemo (WADA Rco)] Fate GO MEMO 3 (Fate Grand Order)\" to tankoubon \"Test 1\"!"
}
{
"error": "rr doesn't exist in the database!",
"operation": "add_to_tankoubon",
"success": 0
}
π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 of the Tankoubon to update.
ID of the archive to remove.
{
"error": "",
"operation": "remove_from_tankoubon",
"success": 1,
"successMessage": "Removed \"(C95) [wadamemo (WADA Rco)] Fate GO MEMO 3 (Fate Grand Order)\" from tankoubon \"Test 1\"!"
}
{
"error": "rr doesn't exist in the database!",
"operation": "remove_from_tankoubon",
"success": 0
}
πDelete a Tankoubon
DELETE
http://lrr.tvc-16.science/api/tankoubons/:id
Remove a Tankoubon.
Path Parameters
ID of the Tankoubon to delete.
{
"error": "",
"operation": "delete_tankoubon",
"success": 1,
"successMessage": null
}
Last updated