For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tankoubon API

Endpoints related to Tankoubons.

Get all Tankoubons

get

Get list of Tankoubons paginated.

Query parameters
pageintegerOptional

Page of the list of Tankoubons.
The amount of tanks per page depends on the server archives_per_page setting.

Responses
200

Tankoubons

application/json
totalintegerOptional

Total count of Tankoubons on the server

filteredintegerOptional

Number of Tankoubons on the current page

get/tankoubons
200

Tankoubons

🔑 Create a Tankoubon

put

Create a new Tankoubon or update the name of an existing one.

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Body
namestringRequired

Name of the Tankoubon

tankidstringOptional

ID of an existing Tankoubon, if you want to change its name.

Responses
200

Success response

application/json
operationstring · enumOptionalPossible values:
tankoubon_idstringOptional

ID of the created/modified Tankoubon

successinteger · enumOptionalPossible values:
put/tankoubons

Get a single Tankoubon

get

Get the details of the specified tankoubon ID.

Path parameters
idstringRequired

ID of the Tankoubon desired

Responses
200

Tankoubon

application/json
idstringOptional

ID of this Tankoubon.

namestringOptional

Name of this Tankoubon.

summarystringOptional
tagsstringOptional
archivesone of[]Optional

Full list of archive IDs contained in this Tankoubon.

any · min: 40 · max: 40OptionalPattern: ^[0-9a-f]{40}$
or
any · min: 15 · max: 15OptionalPattern: ^TANK_[0-9]{10}$
progressintegerOptional

Reading progress (page number) for this Tankoubon.

get/tankoubons/{id}

Get a single Tankoubon with full detail

get

Get the details of the specified tankoubon ID with paginated archive metadata. The amount of archives per page depends on the server archives_per_page setting.

Path parameters
idstringRequired

ID of the Tankoubon desired

Query parameters
pageintegerOptional

Page of the Archives list. Defaults to -1, which returns all archives.

Default: -1
Responses
200

Tankoubon

application/json
totalintegerOptional

The total amount of archives in this Tankoubon.

filteredintegerOptional

The amount of archives in the current page.

get/tankoubons/{id}/full

🔑 Update Tankoubon metadata/contents

put

Modify the full metadata (name, summary, additional tags) or the contents of a Tankoubon. If you only need to change the name of Tank, consider just using PUT /api/tankoubons.

Note: If there is no need to update something in one of the data keys, do not send the key -- This otherwise can result in unwanted results.

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Path parameters
idstringRequired

ID of the Tankoubon desired

Body
archivesstring[]Optional

Ordered array with the IDs of the archives.

Responses
200

Success response

application/json
operationstringRequired

Name of operation

errorstringOptional

Error message if any

successMessagestringOptional

Success message if any

successinteger · enumRequired

Returns 1 if operation was successful, else 0

Possible values:
put/tankoubons/{id}

🔑 Delete Tankoubon

delete

Remove a Tankoubon from the server. This doesn't delete underlying Archives.

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Path parameters
idstringRequired

ID of the Tankoubon desired

Responses
200

Success response

application/json
operationstringRequired

Name of operation

errorstringOptional

Error message if any

successMessagestringOptional

Success message if any

successinteger · enumRequired

Returns 1 if operation was successful, else 0

Possible values:
delete/tankoubons/{id}

🔑 Add an Archive to a Tankoubon

put

Append an archive at the final position of a Tankoubon.

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Path parameters
idstringRequired

ID of the Tankoubon to update.

archivestring · min: 40 · max: 40Required

ID of the Archive to append.

Responses
200

Success response

application/json
operationstringRequired

Name of operation

errorstringOptional

Error message if any

successMessagestringOptional

Success message if any

successinteger · enumRequired

Returns 1 if operation was successful, else 0

Possible values:
put/tankoubons/{id}/{archive}

🔑 Remove an Archive from a Tankoubon

delete
Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Path parameters
idstringRequired

ID of the Tankoubon to update.

archivestring · min: 40 · max: 40Required

ID of the Archive to remove.

Responses
200

Result

application/json
operationstringRequired

Name of operation

errorstringOptional

Error message if any

successMessagestringOptional

Success message if any

successinteger · enumRequired

Returns 1 if operation was successful, else 0

Possible values:
delete/tankoubons/{id}/{archive}

Get Tankoubon thumbnail

get

Get the cover thumbnail for a given Tankoubon. By default, the thumbnail is sourced from the first page of the first archive. This endpoint will return a placeholder image if it doesn't already exist. If you want to queue generation of the thumbnail in the background, you can use the no_fallback query parameter.

Path parameters
idstringRequired

ID of the Tankoubon desired

Query parameters
no_fallbackstring · enumOptional

Disables the placeholder image, queues the thumbnail for extraction and returns a JSON with code 202. This parameter does nothing if the image already exists. (You will get the image with code 200 no matter what)

Possible values:
Responses
200

If the thumbnail was already extracted, you get it directly.

application/octet-stream
string · binaryOptional
get/tankoubons/{id}/thumbnail

🔑 Update Tankoubon thumbnail

put

Set the cover thumbnail for the given Tankoubon using a global page number that spans all archives in the tank (in order). The global page is translated to the correct archive and local page automatically.

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Path parameters
idstringRequired

ID of the Tankoubon desired

Query parameters
pageinteger · min: 1Required

Global 1-indexed page number across all archives in the tankoubon. Page 1 is the first page of the first archive, and so on.

Responses
200

Tankoubon thumbnail updated

application/json
operationstring · enumOptionalPossible values:
successinteger · enumOptionalPossible values:
new_thumbnailstringOptional

Path to the new thumbnail file

put/tankoubons/{id}/thumbnail

Update Tankoubon reading progression

put

Tell the server which page of this Tankoubon you're currently reading, so that it updates its internal reading progression accordingly. The page number is global across all Archives in the tank (If a tank has two Archives with 20 and 25 pages, page 26 will be page 6 in Archive #2). ⚠ If the server is configured to use clientside progress tracking, this API call will return an error! Make sure to check using /api/info whether the server tracks reading progression or not before calling this endpoint.

Path parameters
idstring · min: 15 · max: 15Required

ID of the Tankoubon to update.

pageinteger · min: 1Required

Global 1-indexed page number to update the reading progress to. Must be a positive integer.

Responses
200

Success response

application/json
idstring · min: 15 · max: 15Optional

ID of the tankoubon updated

operationstring · enumOptional

Name of the operation

Possible values:
pageintegerOptional

Updated reading progress

lastreadtimeintegerOptional

Last read time in epoch seconds

successinteger · enumOptional

Returns 1 if successful, else 0

Possible values:
put/tankoubons/{id}/progress/{page}

Last updated