REST API Runtime Analytics
For each call, you can add the following command:
-w"\n%{http_code}\n"
After the username and password in order to receive more meaningful HTTP errors.
Start Runtime Analytics
Request method - GET
Description
Returns information on a specified connector within Datameer including version number, class name, file information (uuid, path, description, name), typeID, and properties information.
URI syntax
curl -u <username>:<password> -X GET 'http://
<Datameer-serverIP>
/api/admin/runtime-analytics/start'
Verification
No response given. To verify action, use the View Status command.
{ "data": { "status": { "state": "[UP]|[STARTING]", "message": "", "embedded": true } }, "_links": { "self": { "href": "/api/admin/runtime-analytics" } } }
Stop Runtime Analytics
Request method - GET
Description
Returns information on a specified connector within Datameer including version number, class name, file information (uuid, path, description, name), typeID, and properties information.
URI syntax
curl -u <username>:<password> -X GET 'http://<Datameer-serverIP>/api/admin/runtime-analytics/stop'
Verification
No response given. To verify action, use the View Status command.
{ "data": { "status": { "state": "STOPPED", "message": "", "embedded": true } }, "_links": { "self": { "href": "/api/admin/runtime-analytics" } } }
View Status of Runtime Analytics
Request method - GET
Description
Returns information on a specified connector within Datameer including version number, class name, file information (uuid, path, description, name), typeID, and properties information.
URI syntax
curl -u <username>:<password> -X GET '
http://<Datameer-serverIP>:<port-number>/api/admin/runtime-analytics'
Example response
{ "data": { "status": { "state": "UP", "message": "", "embedded": true } }, "_links": { "self": { "href": "/api/admin/runtime-analytics" } } }