EndpointsCogents

Report the bridge is up

PUT/v2/cogents/{cogent_id}/hermes/bridge

Sent by the bridge inside the runtime with its own agent credential, on start and every 30 s. The first report with Hermes reachable makes the instance ready.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token issued by Softmax

In: header

Path Parameters

cogent_id*Cogent Id

The player that owns this Hermes instance.

Match^ply_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Request Body

application/json

bundle_id*Bundle Id

The bundle the reporting bridge was installed from.

hermes_ok*Hermes Ok

Whether the bridge can reach the Hermes API inside the runtime.

curl -X PUT "https://softmax.com/api/observatory/v2/cogents/string/hermes/bridge" \  -H "Content-Type: application/json" \  -d '{    "bundle_id": "string",    "hermes_ok": true  }'
{  "runtime_id": "string",  "application": "string",  "player_id": "string",  "provisioning_id": "5596d0b6-a4ae-442b-bd4f-e2bb97642fec",  "instance_id": "string",  "status": "provisioning",  "can_reset": true,  "can_stop": true,  "wakes_on_message": true,  "failure_kind": "not_found",  "detail": "string",  "bridge_seen_at": "2019-08-24T14:15:22Z",  "connected": true}