githubEdit

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
chevron-right
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
chevron-right
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, with the archives list paginated. The amount of archives per page depends on the server archives_per_page setting.

Path parameters
idstringRequired

ID of the Tankoubon desired

Query parameters
include_full_databooleanOptional

If set to true, a full_data array will be added to the response with full Archive metadata.

pageintegerOptional

Page of the Archives list. You can use -1 to return all archives if needed.

Responses
chevron-right
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}

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

Body
archivesstring[]Optional

Ordered array with the IDs of the archives.

Responses
chevron-right
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)>

Responses
chevron-right
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
chevron-right
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
chevron-right
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}

Last updated