Object

Complete media upload

Changed on

Completes the multipart upload, creates one Capacities media object with the reserved id, attaches the uploaded file, and returns the normal object response.

<br>

Rate limit: 20 requests per 60 seconds

post/object/media/upload/complete

Request

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

Request body

object required
id, string uuid required

Reserved object id returned by upload init.

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