Object

Create object from URL

Changed on

Creates a weblink or media object from a URL. Optional properties set title and description; optional markdown or blocks add notes (not both). See Markdown and Blocks.

<br>

Rate limit: 10 requests per 60 seconds

post/object/url

Request

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

Request body

object required
url, string uri required

URL to save as a web resource object.

markdown, string

Optional Markdown content to add to the notes of the new object.

blocks, object

Optional block content keyed by property definition id (e.g. media_notes).

properties, CreateObjectFromUrlProperties

Optional title and description overrides for the created web resource.

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

    9 more changes in this revision