Create a private collection of base references.

Collections store references, not copied content. They start private. Owner search reads current files in owned bases and published files in other bases. Publication includes only references to currently public bases; private bases and later additions stay out. Every public read checks base publication again. Private or withdrawn collections return 404. Responses use private, no-store. Returns: { collection{id,name,visibility,created_at,api,public_url} }

post/api/collections

Request

  • Base URL: https://okfindex.com
  • URL: https://okfindex.com/api/collections
  • Auth: none declared. Required headers: Idempotency-Key

Headers

Idempotency-Keystring required

16–80 letters, digits, underscores or hyphens. Reuse the key after a failed request.

Request body

namestring required

Collection name, 1–120 characters.

Response

{ collection{id,name,visibility,created_at,api,public_url} }

Changes

No recorded changes to this operation across all 1 revision of this API.