Skip to content

Release selected or all bounded expired/orphaned upload reservations.

POST
/api/workspace/files/uploads/administration/recover
curl --request POST \
--url https://example.com/api/workspace/files/uploads/administration/recover \
--header 'Content-Type: application/json' \
--data '{ "UploadSessionIds": [ "example" ], "Limit": 1 }'
  • None
access_token
string

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

Request a bounded recovery pass for expired or orphaned upload sessions.

object
UploadSessionIds

Optional exact session ids. Omit to scan the bounded active set.

Array<string>
nullable
Limit

Maximum active sessions examined in this request.

integer format: int32
Examplegenerated
{
"UploadSessionIds": [
"example"
],
"Limit": 1
}

OK

Media typeapplication/json
object
Data

Summary of a bounded expired/orphaned upload recovery pass.

object
ExaminedCount
integer format: int32
EligibleCount
integer format: int32
ReleasedCount
integer format: int32
ReleasedUploadSessionIds
Array<string>
nullable
SkippedUploadSessionIds
Array<string>
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
}
]
}

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"
}