This web service triggers the restore of a configuration backup from a remote Fluid Topics portal onto the current portal.
- This web service is available to users or API keys with the
ADMINrole. - It is necessary to provide an
Ft-Calling-Appvalue when using Fluid Topics web services. See Fluid Topics calling app.
| Method | Endpoint |
|---|---|
POST |
|
| Path parameter | Type | Required? | Description |
|---|---|---|---|
remoteId |
String | Yes | Unique identifier of the remote portal where the configuration backup is located. Use the List remote portals web service to get the ID. |
backupId |
String | Yes | Unique identifier of the configuration backup. Use the List configuration backups on a remote portal web service to get the ID. |
Request example
The following example shows a JSON request body for this web service:
{
"subsets": [
"SOURCES",
"THEME",
"LANGUAGES"
],
"createAutoBackup": false
}
| Field | Type | Required? | Description |
|---|---|---|---|
subsets |
Array | No | List of configuration categories to restore. If omitted, all available categories are restored. Possible values are:
CONSUMER portal: Some categories require others to be included in the same request:
|
createAutoBackup |
Boolean | Yes | If true, an automatic configuration backup of the current configuration is created before the restore is applied. |
Response body
The following example shows a JSON response body for this web service:
{
"id": "xyz789",
"status": "IN_PROGRESS"
}
| Field | Type | Description |
|---|---|---|
id |
String | Unique identifier of the restore operation. Use this ID with the Get configuration restore status endpoint to track progress. |
status |
String | Current status of the restore operation. Always IN_PROGRESS at creation. Possible values are:
|
| Return code | Description |
|---|---|
200 OK |
The restore operation was created. Returns the operation ID and its initial status. |
400 BAD REQUEST |
|
401 UNAUTHORIZED |
The authorization header is absent or invalid. |
403 FORBIDDEN |
The user or API key must be an ADMIN. |
500 INTERNAL SERVER ERROR |
|
For a comprehensive list of all possible return codes, see Return codes.