Undo a series' edits
DELETE
/api/v1/series/{seriesId}/edits
const url = 'http://localhost:8080/api/v1/series/1/edits';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:8080/api/v1/series/1/edits \ --header 'Authorization: Bearer <token>'Admin only. Brings back the title the last scan or sync derived.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”seriesId
required
integer format: int64
Responses
Section titled “Responses”The series as scanned.
Media typeapplication/json
object
editedFields
required
Fields an admin changed by hand, which rescans keep.
Array<string>
id
required
integer format: int64
libraryId
required
integer format: int64
title
required
string
publicationCount
required
integer format: int64
coverPublicationId
The first publication in the series that has a cover; fetch its cover to show the series.
integer | null format: int64
Example
{ "editedFields": [ "title" ]}The request has no valid session token.
Media typeapplication/json
object
code
required
string
message
required
Explains the problem to a developer.
string
Example
{ "code": "bad_request"}The signed-in user may not do this. demo_account when the user is a
shared demo account, named in CHEK_DEMO_USERS, which can’t change
its password, sessions, sign-in providers, extensions or annotations.
Media typeapplication/json
object
code
required
string
message
required
Explains the problem to a developer.
string
Example
{ "code": "bad_request"}The resource does not exist.
Media typeapplication/json
object
code
required
string
message
required
Explains the problem to a developer.
string
Example
{ "code": "bad_request"}The server failed; details are in its log.
Media typeapplication/json
object
code
required
string
message
required
Explains the problem to a developer.
string
Example
{ "code": "bad_request"}