Object

Create object from Markdown

Changed on

Creates an object from Markdown. See Markdown.

<br>

Rate limit: 30 requests per 60 seconds

post/object/markdown

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).

markdown, string required

Markdown content used to create the object.

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 optional property blocks/additionalProperties/items/oneOf[#/components/schemas/ApiEntityBlock]/date/allOf[#/components/schemas/ApiDatePayload]/recurrence to the response with the status

    • info

      added the optional property blocks/additionalProperties/items/oneOf[#/components/schemas/ApiEntityBlock]/date/allOf[#/components/schemas/ApiDatePayload]/reminder to the response with the status

    • info

      added the optional property blocks/additionalProperties/items/oneOf[#/components/schemas/ApiTextBlock]/tokens/items/oneOf[#/components/schemas/ApiLinkToken]/date/allOf[#/components/schemas/ApiDatePayload]/recurrence to the response with the status

    5 more changes in this revision