| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| running_config | running_config | clitext | |
| startup_config | startup_config | clitext | |
| saved_file | saved_file | asso | |
| saved_file | saved_all_file | asso |
{
"ViewConfig": {
"meta": {
"abstract": false,
"verbose_name": View,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
| Parameter | Type | Description |
|---|---|---|
| field_group_name | URI | (optional) Target field group name to query. Available names are: running_config, startup_config, saved_file, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: running_config, startup_config, saved_file, saved_all_file, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| running_config | running_config | clitext | |
| startup_config | startup_config | clitext | |
| saved_file | saved_file | asso | |
| saved_file | saved_all_file | asso |
{
"ViewConfig": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"ViewConfig": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"ViewConfig": {
<field>:<value>,
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"ViewConfig": {
"instance_id":<instance_id>,
"saved_file":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"ViewConfig": {
"instance_id":<instance_id>,
"saved_all_file":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
"msg": <success-or-error-msg>
}