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

Additional properties for the link

numberOfItemsinteger,null<int64>nullable

Number of items in the linked collection

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": {
"numberOfItems": 0
},
"rel": "string",
"templated": true,
"title": "string",
"type": "string"
}