OPDS authentication document
GET
/opds/v2/auth
const url = 'http://localhost:8080/opds/v2/auth';const options = {method: 'GET'};
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/opds/v2/authHow to sign in to the catalog. Needs no credentials.
Responses
Section titled “Responses”The Authentication for OPDS document.
Media typeapplication/opds-authentication+json
An Authentication for OPDS document offering HTTP Basic sign-in.
object
id
required
string format: uri
title
required
string
authentication
required
Array<object>
object
type
required
string
labels
object
login
string
password
string
Example
{ "authentication": [ { "type": "http://opds-spec.org/auth/basic" } ]}