Skip to Content
Docs

A resource's sharing switches

GET
/api/resource_settings

Anyone with access may read them.

Query: resource_type, resource_id. Returns settings as [{key, value, default}] in display order, plus the caller's access and allowed_actions.

Personal access token scope: teams:read.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/resource_settings'
Example Response200
Empty