Object

Update object properties from Markdown

Changed on

Updates writable object properties from YAML frontmatter in a Markdown string. Body content after the frontmatter is ignored. On a whiteboard, only title and tags are updated. See Markdown.

<br>

Rate limit: 30 requests per 60 seconds

patch/object/markdown

Request

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

Request body

object required
id, string required

Unique identifier of the object to update.

markdown, string required

Markdown with YAML frontmatter for the properties to update. Body content after --- is ignored.

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