System Service (2.7.0)

Download OpenAPI specification:Download

This spec defines the API provided by the application to validate authorization for the system.

Feature Setting

Get feature setting list.

Responses

Response samples

Content type
application/json
{
  • "keyval": [
    ]
}

Update feature setting.

Request Body schema: application/json

Update feature settings.

required
Array of objects (FeatureParameter)

Responses

Request samples

Content type
application/json
{
  • "keyval": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "Error",
  • "code": 101
}

System Setting

Get system setting.

query Parameters
decrypt
boolean

Decrypt password and display in plain text

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    },
  • {
    },
  • {
    },
  • {
    },
  • {
    },
  • {
    },
  • {
    }
]

Update system setting.

Request Body schema: application/json

Update system settings.

required
Array of objects (SystemParameter)

Responses

Request samples

Content type
application/json
{
  • "keyval": [
    ]
}

Response samples

Content type
application/json
{
  • "message": "Error",
  • "code": 101
}

Reset system setting.

Request Body schema: application/json

Reset system settings.

Array ()
string

Responses

Request samples

Content type
application/json
[
  • "BackupSchedule",
  • "MaxBackupFiles",
  • "MaxSsFiles",
  • "RemoteServerSettings",
  • "PeriodicDeviceConfigBackup"
]

Response samples

Content type
application/json
{
  • "message": "Error",
  • "code": 101
}

Troubleshooting

Get execution detail.

Get the detailed output of a request previously executed, based on a given request ID.

query Parameters
id
required
string

Detailed output of the given execution ID.

Responses

Response samples

Content type
application/json
{
  • "start_time": "2000-01-23T04:56:07.000Z",
  • "end_time": "2000-01-23T04:56:07.000Z",
  • "id": "id",
  • "logs": "logs",
  • "URL": "/v1/inventory/switches",
  • "status": "Failed, Succeeded"
}

Get execution list.

Get the list of all the requests previously executed.

query Parameters
limit
required
integer
Default: 10

Limit the number of executions that will be sent in the response. Default is 10

status
string
Default: "all"

Filter the executions based on the status (failed/succeeded/all).

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Delete executions.

Delete all requests that were executed earlier than the specific number of days.

query Parameters
days_older_by
required
integer
Default: 30

Delete all requests that were executed earlier than the specific number of days.

Responses

Response samples

Content type
application/json
{
  • "message": "Error",
  • "code": 101
}

Clean

Clean up archives.

Clean up backup and supportsave archives.

query Parameters
archive_type
required
string
Enum: "backup" "supportsave"

Type of archive that has to be deleted.

name
required
string

Name of archive that has to be deleted.

Responses

Response samples

Content type
application/json
{
  • "message": "successfully deleted the archive"
}