OpenFolia

List stable addresses

GET
/stable-addresses

One entry per manual, variant and language of a release’s outputs (#249) the reader may read (a role covering all of the manual, as GET /releases/{id}/outputs judges it): its latest and pinned addresses (page and PDF), as paths and, with CCMS_PUBLIC_URL set, as URLs. Without filter[release], of each product’s latest release (the newest of main not withdrawn), in the product facet’s order. meta.access says who may open them. Ordered by release, then manual, variant, language.

Authorization

bearer
headerAuthorizationBearer <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.

Query Parameters

filter[release]?string

One release’s addresses (its ID). Default: each product’s latest release.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
filter[product]?string

Only this product’s latest release.

Match^[a-z][a-z0-9-]*$
Lengthlength <= 64
filter[manual]?string

Only this manual’s addresses (its ID).

Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Lengthlength <= 100
filter[lang]?string

Only addresses in this language.

Match^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$
page[number]?integer

Page to return, from 1. Default: 1.

Range1 <= value
page[size]?integer

Resources per page. Default: 50, at most 200.

Range1 <= value <= 200

Response Body

application/vnd.api+json
  1. response
data*array<>
meta*
links*
Example Request
curl -X GET 'http://localhost:3000/stable-addresses'
Example Response
{  "data": [    {      "type": "StableAddress",      "id": "string",      "attributes": {        "product": "string",        "manual": "string",        "slug": "string",        "variant": "string",        "lang": "string",        "revision": "string",        "latest": {          "html": {            "path": "string",            "url": "string"          },          "pdf": {            "path": "string",            "url": "string"          }        },        "pinned": {          "html": {            "path": "string",            "url": "string"          },          "pdf": {            "path": "string",            "url": "string"          }        }      },      "relationships": {        "release": {          "data": {            "type": "Release",            "id": "string"          }        }      },      "meta": {        "latestRelease": true,        "withdrawn": true,        "pdfReady": true      }    }  ],  "meta": {    "page": {      "currentPage": -9007199254740991,      "lastPage": -9007199254740991,      "perPage": -9007199254740991,      "total": -9007199254740991    },    "access": "public",    "publicUrl": "string"  },  "links": {    "self": "string",    "first": "string",    "last": "string",    "prev": "string",    "next": "string"  }}