Skip to main content

Opds2Link

OPDS 2.0 Link Object

Represents a link in an OPDS 2.0 feed, based on the Web Publication Manifest model. Links can be templated using URI templates (RFC 6570).

hrefstringrequired

The URI or URI template for the link

properties object
oneOf
null
relstring | nullnullable

Relation type (e.g., "self", "search", "http://opds-spec.org/acquisition")

templatedboolean | nullnullable

Whether the href is a URI template

titlestring | nullnullable

Human-readable title for the link

typestring | nullnullable

Media type of the linked resource

Opds2Link
{
"href": "string",
"properties": "null",
"rel": "string",
"templated": true,
"title": "string",
"type": "string"
}