Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
run
run
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.  

Code Block
{
  "data": {
    "status": {
      "state": "[UP]|[STARTING]",
      "message": "",
      "embedded": true
    }
  },
  "_links": {
    "self": {
      "href": "/api/admin/runtime-analytics"
    }
  }
}


Anchor
stop
stop
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.  

Code Block
{
  "data": {
    "status": {
      "state": "STOPPED",
      "message": "",
      "embedded": true
    }
  },
  "_links": {
    "self": {
      "href": "/api/admin/runtime-analytics"
    }
  }
}

Anchor
status
status
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

Code Block
{
  "data": {
    "status": {
      "state": "UP",
      "message": "",
      "embedded": true
    }
  },
  "_links": {
    "self": {
      "href": "/api/admin/runtime-analytics"
    }
  }
}