Skip to content

List folders

GET
/content/management/v1/folders
curl --request GET \
--url https://api.ebitex.io/content/management/v1/folders \
--header 'Authorization: Bearer <token>'

Lists every folder in the key’s authoring environment that the key’s role can view, as a flat list ordered by name. Rebuild the tree from parentFolderId, which is null for a top-level folder.

Each folder carries effectiveActions (what the key’s role may do in it: view, edit, delete, publish) and effectiveAllowedContractIds: the contracts components in it must satisfy, taken from the nearest folder up the tree that declares any, or null when anything is allowed.

Key: a management key with content.management.read.

[ { "id": "…", "name": "Blog", "parentFolderId": null, "effectiveActions": ["view", "edit"], "effectiveAllowedContractIds": null } ]

missing_api_key or invalid_api_key: no key was sent, or it is unknown, revoked or expired.

payment_required: the organization’s subscription needs attention.

scope_denied: the key lacks this route’s scope. tier_required: the Content Management API needs the Pro plan or above. ip_denied: the caller’s address is outside the key’s allowed ranges. app_not_available: Content is not enabled for the organization.

Rate limit or quota exceeded; Retry-After says how long to wait. too_many_failed_authentications: too many bad keys from this address.