Comments

Create attachment multipart upload

Changed on

Starts a multipart upload for a draft comment attachment.

post/rooms/{roomId}/attachments/{attachmentId}/multipart/{name}

Request

  • Base URL: https://api.liveblocks.io/v2
  • URL: https://api.liveblocks.io/v2/rooms/{roomId}/attachments/{attachmentId}/multipart/{name}
  • Auth: none declared

Path parameters

roomIdstring required

ID of the room

Example:my-room-id
attachmentIdstring required

ID for the attachment

Example:at_abc123456789012345678
namestring required

Name of the file

Example:recording.mp4

Query parameters

fileSizeinteger

Expected file size in bytes

Example:10485760

Response

Success. Returns identifiers for the multipart upload.

attachmentIdstring required
uploadIdstring required

Changes