OpenFolia

Read a manual definition

GET
/manuals/{id}

The manifest, the variants it is published in (with the slugs the other manual routes take) and the problems found in it.

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.

Path Parameters

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

Query Parameters

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*
Example Request
curl -X GET 'http://localhost:3000/manuals/operating'
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"      }    }  }}