Folder Imports

Download the folder import template

GET/folder-imports/template

Returns the CSV layout that POST /folder-imports reads, as text/csv with a UTF-8 byte order mark: the header row user_guid, folder_path, released and one example row. Needs the permission to view all documents in all deals, or super admin, on the token's user; any other token, service tokens included, gets 403 missing_permission. It changes nothing.

Responses

200

The CSV template.

401

Authentication failed. error.code is one of invalid_token, expired, revoked.

Error
403

Authorization failed. error.code is one of org_disabled, ip_blocked, missing_scope, scope_disabled, user_disabled.

Error
429

Rate limit exceeded (error.code = rate_limited).

Error

Examples

curl https://your-org-domain/kong/core/api/v2/folder-imports/template\
  -H "Authorization: Bearer $HELM_API_KEY"\
  -H "Content-Type: application/json"