Follow a series into an extension library
const url = 'http://localhost:8080/api/v1/libraries/1/series';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"seriesId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/api/v1/libraries/1/series \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "seriesId": "example" }'Reads the series and its chapters from the library’s extension and adds a publication per chapter. Following a series again updates it, and the library’s scans keep it updated. Admin only.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
The source’s own series id, as search returns it.
Example generated
{ "seriesId": "example"}Responses
Section titled “Responses”The followed series.
object
Fields an admin changed by hand, which rescans keep.
The first publication in the series that has a cover; fetch its cover to show the series.
Example
{ "editedFields": [ "title" ]}The request was malformed.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}The request has no valid session token.
object
Explains the problem to a developer.
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.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}The resource does not exist.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}The server failed; details are in its log.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}The extension failed (source_failed), or the library’s extension is no longer installed or usable (source_unavailable).
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}