Exporting resources

POST /api/v1/resources/export

Access: administrator and analyst.

Users with the first line analyst role cannot use this method.

If shared resources are hidden for a user, the user cannot export shared resources or resources that use shared resources.

Request body

Format: JSON

Name

Data type

Mandatory

Description

Value example

ids

[]string

Yes

Resource IDs to be exported

["00000000-0000-0000-0000-000000000000"]

password

string

Yes

Exported resource file password

SomePassword!88

TenantID

string

Yes

ID of the tenant that owns the exported resources

00000000-0000-0000-0000-000000000000

Response

HTTP code: 200

Format: JSON

ID of the file with the exported resources. It should be used in a request to download the resource file.

type ExportResponse struct {

FileID string `json:"fileID"`

}

Page top