Upload Mib

Upload Mib

API to uplaod a mib file. Files with the same name are over-written

Request
URI
POST
https://{api_host}/tcsa.host.com/dcc/v1/mibs
COPY
Request Body
MibUploadRequest of type(s) multipart/form-data
Required
{
    "file": "string",
    "name": "RFC-MIB"
}
string As binary As binary
file
Required

The file to upload. These are usually text files

string
name
Required

The name parameter for the request. This specifies the name of the file uplaoded

Authentication
This operation uses the following authentication methods.
Responses
200

OK Returned name of uploaded MIB

Returns MibUploadResponse of type(s) application/json
{
    "name": "RFC-MIB",
    "message": "File successfully uploaded"
}
string
name
Optional

Name of the file uploaded

string
message
Optional

Message indicating success or failure


500

INTERNAL SERVER ERROR Error on the server

Returns MibError of type(s) application/json
{
    "Error": "Internal server error"
}
string
Error
Optional

Explanation of the error