Table of Contents |
---|
Note |
---|
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. |
Anchor | ||||
---|---|---|---|---|
|
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.
Code Block |
---|
{
"data": {
"status": {
"state": "[UP]|[STARTING]",
"message": "",
"embedded": true
}
},
"_links": {
"self": {
"href": "/api/admin/runtime-analytics"
}
}
} |
Anchor | ||||
---|---|---|---|---|
|
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.
Code Block |
---|
{
"data": {
"status": {
"state": "STOPPED",
"message": "",
"embedded": true
}
},
"_links": {
"self": {
"href": "/api/admin/runtime-analytics"
}
}
} |
Anchor | ||||
---|---|---|---|---|
|
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
Code Block |
---|
{
"data": {
"status": {
"state": "UP",
"message": "",
"embedded": true
}
},
"_links": {
"self": {
"href": "/api/admin/runtime-analytics"
}
}
} |