Get the settings of one content type
GET
/org-content/settings/{id}Returns how the organisation sorts one type of content. An unknown type returns 404. Changes nothing.
Path parameters
- One of:
The content type: news, event or resource.
news,event,resource
Responses
{
"data": {
"type": "news",
"sort": "title"
}
}403Error
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
Examples
curl https://your-org-domain/kong/core/api/v2/org-content/settings/{id}\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"