page-templates
4 endpoints.
get/api/page-templates#
curl https://api.shairelabs.com/api/page-templates \
-H "Authorization: Bearer $SHAIRE_TOKEN"idstring · uuid*workspaceIdstring · uuid*namestring*iconstring | null*titlestring*contentobject | null*typestring*doccontentunknown[]createdAtstring*updatedAtstring*post/api/page-templates#
namestring*iconstring | nulltitlestring*contentobject | nulltypestring*doccontentunknown[]curl https://api.shairelabs.com/api/page-templates \
-X POST \
-H "Authorization: Bearer $SHAIRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"example","title":"example"}'idstring · uuid*workspaceIdstring · uuid*namestring*iconstring | null*titlestring*contentobject | null*typestring*doccontentunknown[]createdAtstring*updatedAtstring*patch/api/page-templates/{id}#
idstring*namestringiconstring | nulltitlestringcontentobject | nulltypestring*doccontentunknown[]curl https://api.shairelabs.com/api/page-templates/$PAGE_TEMPLATE_ID \
-X PATCH \
-H "Authorization: Bearer $SHAIRE_TOKEN"idstring · uuid*workspaceIdstring · uuid*namestring*iconstring | null*titlestring*contentobject | null*typestring*doccontentunknown[]createdAtstring*updatedAtstring*delete/api/page-templates/{id}#
idstring*curl https://api.shairelabs.com/api/page-templates/$PAGE_TEMPLATE_ID \
-X DELETE \
-H "Authorization: Bearer $SHAIRE_TOKEN"