Import all configurations

post

/admin/import

Request

Query Parameters
Supported Media Types
Request Body - multipart/form-data ()
Root Schema : schema
Type: string(binary)
Back to Top

Response

Supported Media Types

202 Response

Accepted
Body ()
Root Schema : Import
Type: object
Used when import is successful
Show Source

400 Response

Bad Request
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

401 Response

Unauthorized
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

403 Response

Forbidden
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

404 Response

Not Found
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

429 Response

Too Many Requests
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
Back to Top

Examples

The following example shows how to import all configurations by submitting a POST request on the REST resource using cURL.

cURL Command

curl -H 'Authorization: Bearer <Token>' -X POST https://{FABRIC_HOST}/admin/import -H "Content-Type: application/json" -F file=@export.zip | json_pp

Example of Request Body

The import operation accepts a configuration settings file in zip format as input.

Example of Response Body

Upon successful import of configuration file, system displays a 202 Accepted status message.

Back to Top