Object

Creates a new object in the current space. See Objects for collections, properties, and block content.

<br>

Rate limit: 30 requests per 60 seconds

post/object

Request

  • Base URL
    https://api.capacities.io
  • Auth
    HTTP bearer

Request body

object required
structureId, union required

Structure id (UUID for custom types, or a built-in id such as RootPage).

collections, string[]

Collection ids to assign. Pass an empty array to use the default collection for this structure.

properties, WritableApiObjectProperties

Initial writable properties to set on the new object.

blocks, object

Block content keyed by property definition id.

Response

200 OK

object required
id, string uuid required

Unique identifier of the object.

structureId, union required

Structure id (UUID for custom types, or a built-in id such as RootPage).

collections, string[] required

Collection ids this object is currently assigned to.

properties, ApiObjectProperties required

Map of property definition id to typed object property value.

blocks, object

Block content keyed by property definition id.

files, object[]

File resources attached to this object. Present only for media object types.

Changes

    • info

      added the new optional request property blocks/additionalProperties/items/oneOf[#/components/schemas/WritableApiEntityBlock]/date/allOf[#/components/schemas/WritableApiDatePayload]/recurrence

    • info

      added the new optional request property blocks/additionalProperties/items/oneOf[#/components/schemas/WritableApiEntityBlock]/date/allOf[#/components/schemas/WritableApiDatePayload]/reminder

    • info

      added the new optional request property blocks/additionalProperties/items/oneOf[#/components/schemas/WritableApiTextBlock]/tokens/items/oneOf[#/components/schemas/WritableApiLinkToken]/date/allOf[#/components/schemas/WritableApiDatePayload]/recurrence

    13 more changes in this revision