Tankoubon API

Get all tankoubons

GET http://lrr.tvc-16.science/api/tankoubons

Get list of Tankoubons paginated.

Query Parameters

NameTypeDescription

page

string

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

NameTypeDescription

id*

string

ID of the Tankoubon desired.

Query Parameters

NameTypeDescription

include_full_data

string

If set in 1, it appends a full_data array with Archive objects.

page

string

Page of the Archives list.

{
    "filtered": 3,
    "result": {
        "archives": [
            "fa74bc15e7dd2b6ec0dc2e10cc7cd4942867318a",
            "28697b96f0ac5858be2614ed10ca47742c9522fd",
            "4857fd2e7c00db8b0af0337b94055d8445118630"
        ],
        "id": "TANK_1688616437",
        "name": "Test 1"
    },
    "total": 3
}

πŸ”‘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

NameTypeDescription

name*

string

Name of the Category.

{
    "operation": "create_tankoubon",
    "success": 1,
    "tankoubon_id": "TANK_1690056313"
}

πŸ”‘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

NameTypeDescription

id*

string

ID of the Tankoubon to update.

Request Body

NameTypeDescription

archives*

array

Ordered array with the IDs of the archives.

{
    "error": "",
    "operation": "update_archive_list",
    "success": 1,
    "successMessage": "Updated archives of tankoubon \"Test 1\"!"
}

πŸ”‘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

NameTypeDescription

id*

string

ID of the Tankoubon to update.

archive*

string

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\"!"
}

πŸ”‘Remove an archive from a Tankoubon

DELETE http://lrr.tvc-16.science/api/tankoubons/:id/:archive

Remove an archive from a Tankoubon.

Path Parameters

NameTypeDescription

id*

string

ID of the Tankoubon to update.

archive*

string

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\"!"
}

πŸ”‘Delete a Tankoubon

DELETE http://lrr.tvc-16.science/api/tankoubons/:id

Remove a Tankoubon.

Path Parameters

NameTypeDescription

id*

string

ID of the Tankoubon to delete.

{
    "error": "",
    "operation": "delete_tankoubon",
    "success": 1,
    "successMessage": null
}

Last updated