Get current status
get
/restapi/local_change_management/get_status
This API gets the current local Change Management status.
Request
There are no request parameters for this operation.
Back to TopResponse
200 Response
OK
405 Response
Invalid request method
Examples
Example of Accessing the API with cURL
The following example shows how to get current local change management status by submitting a GET request on the REST resource using cURL. If the request requires a timestamp, use the timestamp from the response of the /login API. For more information about cURL, see Use cURL.
curl -X GET \
-b cookies.txt \
"https://$IPADDR/restapi/local_change_management/get_status"
Example of the Response Headers
The following shows an example of the response headers.
HTTP/1.1 200 OK
Date: Tue, 15 Dec 2020 18:23:36 GMT
Server: Apache/2.4.6 () OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.40
Vary: Accept-Encoding
X-UA-Compatible: IE=Edge,chrome=1
Transfer-Encoding: chunked
Content-Type: application/json; charset=ISO-8859-1
Example of the Response Body
The following example shows the contents of the response body in JSON format.
{
"data": {
"contents": [
{
"active_config": "16:38 on 9/9/20",
"active_package_filename": "Client-1+0_1599684022_talari_E1000_registry_only.zip",
"active_registry_timestamp": "1599683916",
"active_sw_revision": "R9_0_1_0_0_QA_BUGFIX_09042020",
"id": "0",
"model": "e1000",
"staged_config": "18:52 on 9/8/20",
"staged_package_filename": "Client-1+0_1601399757_talari_E1000_registry_only.zip",
"staged_registry_timestamp": "1599605530",
"staged_sw_revision": "R9_0_1_0_0_QA_BUGFIX_09042020",
"transfer_state": null
}
],
"inbox_files": []
},
"local_state": 0,
"status": "success"
}