Page Templates API

PATCH - /api/v1/page_templates/:name

PATCH /api/v1/page_templates/:name

Parameters

Name Description
name boolean
body link text
is_published link target

Request

Headers

Accept: application/json
X-Api-Token: fiPqGoFSAbGAd8qUe4tEgXN9ybZPw2sFkQ
X-Api-Email: user-708@example.com

Route

PATCH /api/v1/page_templates/partials/footer

Body

{"body":"\u003cfooter\u003ea footer\u003c/footer\u003e","is_published":true}

cURL

curl "http://localhost:3000/api/v1/page_templates/partials/footer" -d '{"body":"\u003cfooter\u003ea footer\u003c/footer\u003e","is_published":true}' -X PATCH \
	-H "Accept: application/json" \
	-H "X-Api-Token: fiPqGoFSAbGAd8qUe4tEgXN9ybZPw2sFkQ" \
	-H "X-Api-Email: user-708@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Status

204 No Content