| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | index | int | |
| default | status | string | |
| default | issuer | string | |
| default | subject | string | |
| default | validity_not_before | string | |
| default | validity_not_after | string | |
| default | cert_text | text | |
| default | type | string | |
| default | asso | asso | |
| default | activated_state | boolean | |
| full_attrs | full_attrs | text |
{
"RealHostCert": {
"meta": {
"abstract": false,
"verbose_name": Real Host Certificate,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
"RealHostCert": [
{
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
},
...
]
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, full_attrs, 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: index, status, issuer, subject, validity_not_before, validity_not_after, cert_text, full_attrs, type, asso, activated_state, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | index | int | |
| default | status | string | |
| default | issuer | string | |
| default | subject | string | |
| default | validity_not_before | string | |
| default | validity_not_after | string | |
| default | cert_text | text | |
| default | type | string | |
| default | asso | asso | |
| default | activated_state | boolean | |
| full_attrs | full_attrs | text |
{
"RealHostCert": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"RealHostCert": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"RealHostCert": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
<field_name>:<value>
}
When field name is not specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_name | URI | (optional) Target field name to update. Available field names are: type, |
| Field Name | Type | Description |
|---|---|---|
| type | string |
All configuration fields and their values are replied:
{
"RealHostCert": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"RealHostCert": {
"instance_id":<instance_id>,
"asso":<value>
}
}