Skip to content

Returns a bounded page of active, revocable restore sessions for one Source.

GET
/api/workspace/file-protection/sources/{sourceId}/restore-sessions
curl --request GET \
--url 'https://example.com/api/workspace/file-protection/sources/example/restore-sessions?page=1&pageSize=25' \
--header 'Authorization: Bearer <token>'
sourceId
required
string
page
integer format: int32
default: 1
pageSize
integer format: int32
default: 25
access_token
string

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

OK

Media typeapplication/json
object
Data

Bounded page of active restore sessions for one Source.

object
Items
Array<object>
nullable

Safe active restore-session summary without its descriptor or credentials.

object
SessionId
string
nullable
SourceId
string
nullable
RecoveryPointId
string
nullable
RecoveryItemId
string
nullable
LogicalPath
string
nullable
State

Durable state of a restore/export session.

integer format: int32
Allowed values: 0 1 2 3
CreatedAtUtc
string format: date-time
ExpiresAtUtc
string format: date-time
LastRedeemedAtUtc
string format: date-time
nullable
RowVersion
string format: uuid
Scope

Persisted restore access boundary, selected from the actual snapshot layout.

integer format: int32
Allowed values: 1 2
SelectionMode

Output selection within a Source; it is not a cryptographic access boundary.

integer format: int32
Allowed values: 1 2 3 4
FileCount
integer format: int32
nullable
TotalCount
integer format: int32
Page
integer format: int32
PageSize
integer format: int32
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
{
"Data": {
"Items": [
{
"State": 0,
"Scope": 1,
"SelectionMode": 1
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}