config_package_import¶
Overview¶
Import a configuration file to the Config Editor
Version information¶
Version : v2
URI scheme¶
Host :
BasePath : /sdwan/nitro/v2/config/
Schemes : HTTP
Tags¶
- config_package_import : Operations related to config_package_import
Paths¶
POST operation for config_package_import¶
POST /config_package_import
Description¶
Use this operation to import a file as a configuration package into the Config Editor
Parameters¶
| Type | Name | Schema |
|---|---|---|
| Body | body optional |
config_package_import_request_schema |
Responses¶
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | Resource successfully added | config_package_import_post_success_schema |
| 400 | Failed: bad input parameter | ErrorSchema |
| 401 | Unauthorized: Failed Authentication | ErrorSchema |
| 403 | Unauthorized: Forbidden | ErrorSchema |
| 405 | Failed: Data format unacceptable | ErrorSchema |
| 415 | Failed: Data format unacceptable | ErrorSchema |
| 500 | Failed: Internal Server Error | ErrorSchema |
Consumes¶
application/json
Produces¶
application/json
Tags¶
- config_package_import
Definitions¶
ErrorSchema¶
| Name | Schema |
|---|---|
| errorcode optional |
integer |
| errormessage optional |
string |
config_package_import¶
| Name | Schema |
|---|---|
| package_name optional |
package_name |
config_package_import_delete_success_schema¶
| Name | Schema |
|---|---|
| config_package_import optional |
config_package_import |
| Name | Description | Schema |
|---|---|---|
| message optional |
Example : "resource deleted succesfully" |
string |
config_package_import_post_success_schema¶
| Name | Schema |
|---|---|
| config_package_import optional |
config_package_import |
| Name | Description | Schema |
|---|---|---|
| message optional |
Example : "resource added succesfully" |
string |
config_package_import_put_success_schema¶
| Name | Schema |
|---|---|
| config_package_import optional |
config_package_import |
| Name | Description | Schema |
|---|---|---|
| message optional |
Example : "resource modified succesfully" |
string |
config_package_import_request_schema¶
| Name | Schema |
|---|---|
| config_package_import optional |
config_package_import |
config_package_import_response_schema¶
Type : < config_package_import_response_schema > array
config_package_import_response_schema
| Name | Schema |
|---|---|
| package_name optional |
package_name |
package_name¶
Config package name to which the uploaded file should be imported.
Type : string