Read a series from a source
const url = 'http://localhost:8080/api/v1/me/extensions/example/series?seriesId=example';const options = {method: 'GET', 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 GET \ --url 'http://localhost:8080/api/v1/me/extensions/example/series?seriesId=example' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The extension’s reverse-DNS id.
Query Parameters
Section titled “Query Parameters”The source’s own series id.
Responses
Section titled “Responses”The series.
object
object
Whether the series is still going, as the source says.
The year the series started, when the source knows.
Genres and themes as the source names them, most important first.
Example
{ "coverUrl": "/api/v1/me/extensions/org.example.comics/image?ref=eyJ1cmwiOi", "readingDirection": "ltr", "status": "ongoing", "contentRating": "safe"}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 reported an error, went over a limit, or the image couldn’t be fetched.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}