List a release’s iiRDS packages
One iiRDS package per release output (a manual in one of its variants and a configured language), its id the output’s: the manual’s modules as HTML topics, its PDF as a rendition once that is done, and the metadata (META-INF/metadata.rdf, iiRDS 1.3) the configured mapping makes. Listing makes none: each is made when it is read. Ordered by manual, variant, language. Needs content.read at the release’s tag, in a role that covers all of the output’s manual: its audience and language, with no module type or facet left out, and the source language too, as for the release’s outputs. A package is made as the manual’s audience reads it, the same for all of its readers. Others get 404, exactly like a missing one.
bearerAuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
releaseId*stringThe release’s ID (a UUID). One that names no release, malformed or not, is 404.
uuidfilter[manual]?stringOnly this manual’s packages.
^[a-z0-9]+(?:-[a-z0-9]+)*$length <= 100filter[lang]?stringOnly packages in this language.
^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$page[number]?integerPage to return, from 1. Default: 1.
1 <= valuepage[size]?integerResources per page. Default: 50, at most 200.
1 <= value <= 200application/vnd.api+json- response
data*array<>meta*links*curl -X GET 'http://localhost:3000/releases/497f6eca-6276-4993-bfeb-53cbbbba6f08/iirds-packages'{ "data": [ { "type": "IirdsPackage", "id": "string", "attributes": { "manual": "string", "variant": "string", "lang": "string", "fileName": "string", "pdf": true }, "links": { "self": "string", "file": "string" } } ], "meta": { "page": { "currentPage": -9007199254740991, "lastPage": -9007199254740991, "perPage": -9007199254740991, "total": -9007199254740991 } }, "links": { "self": "string", "first": "string", "last": "string", "prev": "string", "next": "string" }}