Retrieve installation status

Retrieve installation status

GET api/edge/uuid

Retrieves the installation status for the node assigned to uuid, along with the installation status of its cluster members (nodes that share the same store/node number and node group, but a different instance number).

Request syntax

get api/edge/<uuid>

Response syntax

{
    "hostname": "string",
    "installation_status": "string",
    "expires_at": "timestamp",
    "time_remaining": "string",
    "cluster_members": [
        {
            "hostname": "string",
            "installation_status": "string",
            "message": "string",
            "updated_at": "timestamp"
        }
    ]
}

Response parameters

If the action is successful, an HTTP 200 response is returned. The following data is returned in JSON format.

FieldTypeDescription
hostnameStringThe hostname of the node assigned to the token.
installation_statusStringOne of no_status, in_progress, completed, or error.
expires_atTimestampWhen the token expires.
time_remainingStringThe time remaining before the token expires.
cluster_membersArrayThe hostname, installation status, latest message, and last-updated timestamp for each cluster member.

Errors

The following are possible errors returned when making this API call. For more information, see Common errors.

CodeMessageCause
401UnauthorizedThe token is incorrect or improperly formatted.
404Not foundThe token wasn't found.
403Access token expiredThe token's expiration timer has elapsed.
403Access token disabledThe URL was manually disabled.

Examples

Example: Retrieve installation status for a node and its cluster members

curl -H "Accept: application/vnd.reliantsec-v1+json" https://platform.reliant.io/api/edge/a51d1c80-8bf1-4f2c-9840-e5c9592fc616

Response

{
  "hostname": "sit0005red0",
  "installation_status": "no_status",
  "expires_at": "2021-11-24T23:54:11Z",
  "time_remaining": "2.99056 hours",
  "cluster_members": [
    {
      "hostname": "sit0005red1",
      "installation_status": "in_progress",
      "message": "Booting up",
      "updated_at": "2021-10-02T03:54:11Z"
    },
    {
      "hostname": "sit0005red2",
      "installation_status": "no_status"
    }
  ]
}