OpenFolia

List manuals

GET
/manuals

The manuals the reader may see (their audience within its scope), ordered by ID. One whose manifest cannot be read is listed with its error to a reader of every audience.

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[status]?string

current (the default): the manuals there; deleted: the manuals deleted on the ref's first-parent line (among its newest 1000 commits) that have no manifest now, each from its last manifest the reader may see (meta.deleted; one outside their scope is never listed), each with a history to open (GET /manuals/{id}/history). Without content.read.draft, only those whose last manifest released content (main’s head, a release tag) holds exactly, from that manifest as the reader reads it there. any: both, in one list.

Value in"current""deleted""any"
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
ref?string

Branch, tag or commit ID to read from. Default: the server's CCMS_DEFAULT_REF.

Response Body

application/vnd.api+json
  1. response
data*array<|>
meta*
links*
Example Request
curl -X GET 'http://localhost:3000/manuals'
Example Response
{  "data": [    {      "type": "Manual",      "id": "string",      "attributes": {        "schemaVersion": 1,        "kind": "derived",        "title": "string",        "audience": "string",        "deprecated": {          "reason": "string",          "replacedBy": "string"        },        "variants": [          {            "property1": "string",            "property2": "string"          }        ],        "textAttributes": {},        "coverImage": {          "default": {            "asset": "string",            "alt": "string"          },          "variants": []        },        "rule": {          "source": "string",          "moduleTypes": [            "string"          ],          "exclude": [],          "front": [],          "back": [],          "notices": {            "groupBy": "module",            "levels": [              "danger"            ]          }        },        "entries": [          {            "module": "string",            "when": {              "op": "all",              "of": [                null,                null              ]            }          }        ]      },      "meta": {        "variants": [          {            "slug": "string",            "label": "string",            "values": {              "property1": "string",              "property2": "string"            }          }        ],        "issues": [          {            "severity": "error",            "code": "string",            "message": "string",            "at": "string"          }        ],        "design": {          "id": "string",          "name": "string",          "source": "manual",          "missing": true        },        "deleted": {          "commit": "string",          "committedAt": "string"        }      }    }  ],  "meta": {    "page": {      "currentPage": -9007199254740991,      "lastPage": -9007199254740991,      "perPage": -9007199254740991,      "total": -9007199254740991    }  },  "links": {    "self": "string",    "first": "string",    "last": "string",    "prev": "string",    "next": "string"  }}