GET /:slug/json
Public endpoint to fetch a single published FAQ entry by slug.
Base URL
- Production:
https://faq.dlapolakow.app
Request
- Method:
GET - Path:
/:slug/json
Path params
slug(string, required): unique entry slug, for exampletest.
Request example
bash
curl -X GET "https://faq.dlapolakow.app/test/json"Postman
Response 200
json
{
"ok": true,
"entry": {
"id": "8b96f5ef2b2f4be8a77d6c6f3a8de9f1",
"slug": "test",
"pl": "Tresci PL",
"en": "Content EN",
"nl": "Inhoud NL",
"status": "published",
"seo_title": {
"pl": "Tytul PL",
"en": "Title EN",
"nl": "Titel NL"
},
"seo_description": {
"pl": "Opis PL",
"en": "Description EN",
"nl": "Beschrijving NL"
},
"related_links": "[]",
"header_image": null,
"tags": {
"pl": ["faq"],
"en": ["faq"],
"nl": ["faq"]
},
"created_at": 1746482000,
"published_at": 1746482400,
"version": "8b96f5ef"
}
}Error codes
400missing slug:
json
{
"ok": false,
"error": "Missing slug"
}404entry not found:
json
{
"ok": false,
"error": "Not found"
}500server error:
json
{
"ok": false,
"error": "Unknown error"
}
