Start a resumable upload
post/assets/uploads
Before you call
- Credential
Authorization: Bearer $KEY- Scope
files:write- Graphql
Mutation.filesUploadBegin- Sdk
files.upload.begin- Cli
files upload begin
Request bodyapplication/json, required
- namestringAt most 300 characters.
- bytesintegerrequiredAt least 1.
- sha256stringPattern: ^[a-fA-F0-9]{64}$.
- assetIdstring (uuid)
- partBytesinteger
- notestringAt most 300 characters.
- grantobject
- minutesintegerAt least 1. At most 60.
- minutesinteger
- kindstringOne of: logo, mark, lockup, wordmark, favicon, palette, typography, guideline, voice, imagery, persona_sheet, avatar, template, font, document, video, audio, image, other.
- descriptionstringAt most 2000 characters.
- altTextstringAt most 1500 characters.
- tagslist of string
- licenceobject or null
- rightsExpiresAtstring (date-time) or null
- aiobject or null
- disclosureLinestringAt most 400 characters.
- provenanceobject
- originPathstringAt most 500 characters.
- sourceRefstringAt most 500 characters.
- sourceUrlstring (uri)At most 1000 characters.
- importedFromstringAt most 200 characters.
- notestringAt most 500 characters.
- originPathstring
Responses
- 201application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring