One published policy with its text in Markdown.
Calls: GET /api/v1/policies/{slug}
Access: open.
Behaviour: read-only, idempotent.
Input (JSON Schema):
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "For example privacy, terms, refunds, store-policy"
}
},
"required": [
"slug"
],
"additionalProperties": false
}