mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-09 12:27:48 +00:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
get:
|
|
operationId: getSpConfigExport
|
|
# security:
|
|
# - oauth2: [sp:config:export]
|
|
tags:
|
|
- SP-Config
|
|
summary: Download export job result.
|
|
description: >-
|
|
This endpoint gets the export file resulting from the export job with the requested `id` and downloads it to a file.
|
|
|
|
The request will need one of the following security scopes:
|
|
|
|
- sp:config:read
|
|
- sp:config:manage
|
|
parameters:
|
|
- in: path
|
|
name: id
|
|
schema:
|
|
type: string
|
|
required: true
|
|
description: The ID of the export job whose results will be downloaded.
|
|
example: ef38f94347e94562b5bb8424a56397d8
|
|
responses:
|
|
'200':
|
|
description: >-
|
|
Exported JSON objects.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../../beta/schemas/SpConfigExportResults.yaml'
|
|
'400':
|
|
$ref: '../../v3/responses/400.yaml'
|
|
'401':
|
|
$ref: '../../v3/responses/401.yaml'
|
|
'403':
|
|
$ref: '../../v3/responses/403.yaml'
|
|
'404':
|
|
$ref: '../../v3/responses/404.yaml'
|
|
'429':
|
|
$ref: '../../v3/responses/429.yaml'
|
|
'500':
|
|
$ref: '../../v3/responses/500.yaml'
|