| Field Group Name | Field Name | Type | Description |
|---|
{
"ImportExport": {
"meta": {
"abstract": false,
"verbose_name": Import & Export,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| type | UnionField (Nested Field. It should be a dict.)
|
Format
{
"ftp": {
"username" : xxxx,
"ip" : xxxx,
"pwd" : xxxx,
"file_path" : xxxx
}
}
{
"scp": {
"username" : xxxx,
"ip" : xxxx,
"pwd" : xxxx,
"file_path" : xxxx
}
}
|
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| type | UnionField (Nested Field. It should be a dict.)
|
Format
{
"ftp": {
"username" : xxxx,
"ip" : xxxx,
"pwd" : xxxx
}
}
{
"scp": {
"username" : xxxx,
"ip" : xxxx,
"pwd" : xxxx,
"file_path" : xxxx
}
}
|
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |