Skip to content

file_management

Overview

This resource can be used for license file managemen.

Version information

Version : v2

URI scheme

Host :
BasePath : /sdwan/nitro/v2/license/
Schemes : HTTP

Tags

  • file_management : Operations related to file_management

Paths

POST operation for file_management

POST /file_management

Description

Use this operation to unpload license file. This action expects multipart/form-data data like : -F filename=@LICENSE_FILE_NAME

Parameters

Type Name Description Schema
Query action
required
Select if action is other that ADD enum (upload_license, delete_license)
Body body
optional
file_management_request_schema

Responses

HTTP Code Description Schema
200 Resource successfully added file_management_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

  • file_management

Get operation for file_management

GET /file_management

Description

Use this operation to get uploaded license files.

Responses

HTTP Code Description Schema
200 API Successfully executed file_management_response_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

Produces

  • application/json

Tags

  • file_management

Definitions

ErrorSchema

Name Schema
errorcode
optional
integer
errormessage
optional
string

file_management

Name Schema
filename
optional
filename

file_management_delete_success_schema

Name Schema
file_management
optional
file_management

file_management

Name Description Schema
message
optional
Example : "resource deleted succesfully" string

file_management_post_success_schema

Name Schema
file_management
optional
file_management

file_management

Name Description Schema
message
optional
Example : "resource added succesfully" string

file_management_put_success_schema

Name Schema
file_management
optional
file_management

file_management

Name Description Schema
message
optional
Example : "resource modified succesfully" string

file_management_request_schema

Name Schema
file_management
optional
file_management

file_management_response_schema

Type : < file_management_response_schema > array

file_management_response_schema

Name Schema
filename
optional
filename

filename

The filename of the license to be uploaded/deleted

Type : string