Make a release’s DITA package and describe it
Makes the package (or takes it from the last few made) and says what it holds: meta.size, meta.languages, meta.topics, meta.media and meta.warnings, what DITA could not say as the content does and was written in another form or left out (never silently). 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.
uuidpackageId*stringThe package’s ID: its release output’s (a UUID). One that names no output of the release you may read, malformed or not, is 404.
uuidlanguages?stringoutput (the default): the output’s language only; all: every configured language you may read the whole manual in, each a folder.
"output""all"references?stringconref (the default): a module reference is a content reference (@conref, @conrefend) where DITA can say one, else its content; resolved: always its content.
"conref""resolved"application/vnd.api+json- response
data*The DITA package, made: its size, what it holds and its warnings.
curl -X GET 'http://localhost:3000/releases/497f6eca-6276-4993-bfeb-53cbbbba6f08/dita-packages/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "data": { "type": "DitaPackage", "id": "string", "attributes": { "manual": "string", "variant": "string", "lang": "string", "fileName": "string" }, "links": { "self": "string", "file": "string" }, "meta": { "size": -9007199254740991, "languages": [ "string" ], "references": "conref", "topics": -9007199254740991, "media": -9007199254740991, "warnings": [ { "code": "module-not-exported", "module": "string", "block": "string", "lang": "string", "detail": "string", "count": -9007199254740991 } ], "warningsDropped": -9007199254740991 } }}