Pinter
ENID
CMS
Lihat sebagai Markdown

Get Public CMS Page Content by Slug

GET/api/content/public/pages/{slug}

Overview

Retrieves rendered HTML or markdown content of a public CMS page.

Authentication & Headers

  • Auth: Public (No bearer token required)
  • Required Header: API-Version: 1

Parameters

  • slug (path, string, required): Page URL slug identifier.

Parameter

Path

slugstringwajib
URL-friendly slug identifier for the public CMS page.

Respons

200 Public page content

422 Validation Error

detailobject[]
detail[].locstring | integer[]wajib
detail[].msgstringwajib
detail[].typestringwajib
detail[].inputobject
detail[].ctxobject
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}

Contoh

curl -X GET "$PINTER_URL/api/content/public/pages/privacy-policy" \
  -H "Authorization: Bearer $ACCESS_TOKEN"