Skip to content

Authorize short-lived direct-upload URLs for exact part numbers.

POST
/api/workspace/files/uploads/{uploadSessionId}/parts/authorize
curl --request POST \
--url https://example.com/api/workspace/files/uploads/example/parts/authorize \
--header 'Content-Type: application/json' \
--data '{ "PartNumbers": [ 1 ] }'
  • None
uploadSessionId
required
string
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

Request short-lived URLs for exact multipart part numbers.

object
PartNumbers
Array<integer>
nullable
Examplegenerated
{
"PartNumbers": [
1
]
}

OK

Media typeapplication/json
object
Data

Short-lived authorizations for exact multipart part uploads.

object
UploadSessionId
string
nullable
RowVersion
string format: uuid
UploadSessionExpiresAtUtc
string format: date-time
Parts
Array<object>
nullable

One exact short-lived browser upload operation.

object
PartNumber
integer format: int32
UploadUrl
string
nullable
ExpectedSizeBytes
integer format: int64
RequiredHeaders
object
key
additional properties
string
ExpiresAtUtc
string format: date-time
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Bad Request

Media typeapplication/json
object
Data

Short-lived authorizations for exact multipart part uploads.

object
UploadSessionId
string
nullable
RowVersion
string format: uuid
UploadSessionExpiresAtUtc
string format: date-time
Parts
Array<object>
nullable

One exact short-lived browser upload operation.

object
PartNumber
integer format: int32
UploadUrl
string
nullable
ExpectedSizeBytes
integer format: int64
RequiredHeaders
object
key
additional properties
string
ExpiresAtUtc
string format: date-time
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Forbidden

Media typeapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/json
object
Data

Short-lived authorizations for exact multipart part uploads.

object
UploadSessionId
string
nullable
RowVersion
string format: uuid
UploadSessionExpiresAtUtc
string format: date-time
Parts
Array<object>
nullable

One exact short-lived browser upload operation.

object
PartNumber
integer format: int32
UploadUrl
string
nullable
ExpectedSizeBytes
integer format: int64
RequiredHeaders
object
key
additional properties
string
ExpiresAtUtc
string format: date-time
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Conflict

Media typeapplication/json
object
Data

Short-lived authorizations for exact multipart part uploads.

object
UploadSessionId
string
nullable
RowVersion
string format: uuid
UploadSessionExpiresAtUtc
string format: date-time
Parts
Array<object>
nullable

One exact short-lived browser upload operation.

object
PartNumber
integer format: int32
UploadUrl
string
nullable
ExpectedSizeBytes
integer format: int64
RequiredHeaders
object
key
additional properties
string
ExpiresAtUtc
string format: date-time
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Too Many Requests

Media typeapplication/json
object
Data
nullable
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Service Unavailable

Media typeapplication/json
object
Data

Short-lived authorizations for exact multipart part uploads.

object
UploadSessionId
string
nullable
RowVersion
string format: uuid
UploadSessionExpiresAtUtc
string format: date-time
Parts
Array<object>
nullable

One exact short-lived browser upload operation.

object
PartNumber
integer format: int32
UploadUrl
string
nullable
ExpectedSizeBytes
integer format: int64
RequiredHeaders
object
key
additional properties
string
ExpiresAtUtc
string format: date-time
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}