List presentation definition templates
Lists the presentation definition templates: the credential types of the rulebooks of the platform (for example PID, LPID, mDL, a student ID, a Boarding Pass or an eReceipt), one item for each rulebook in its newest version, in the order of the rulebook id. Each item has an entry for each credential format, with the id <rulebook id>:<version>:<format>.
The schema of a format entry has the default claims of a DCQL credential query: the mandatory attributes of the rulebook. Build a credential query from it and metadata.credentialType, and use it in the dcqlQuery of Create presentation definition. listedClaims has every top-level attribute of the rulebook, for a query builder.
This pagination has offset, not currentPage and totalPages.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
presentation-definitions:read
Query parameters
offsetintegerNumber of records to skip for pagination. A negative or unreadable value falls back to
0.At least 0.
Default:
0limitintegerMaximum number of records to return per page.
Default:
10
Response
One page of presentation definition templates.
templatesobject[]The templates of the page.
paginationobjectThe position of the page.