Draft reviews

Prepare an actor-bound, expiring raster upload for a Draft or Brainstorming Review.

post/api/v1/draft-reviews/assets/prepare

Request

  • Base URL: https://commentary.dev
  • URL: https://commentary.dev/api/v1/draft-reviews/assets/prepare
  • Auth: HTTP bearer

Headers

X-Commentary-Workspace-Idstring

Must match the credential workspace. This header cannot widen grant authority.

X-Correlation-Idstring

Request body

pathstring required
mimeType'image/png' | 'image/jpeg' | 'image/webp' | 'image/avif' required
byteLengthinteger required
sha256string required

Response

Successful response.

okunknown
uploadIdstring
uploadUrlstring uri
expiresAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.