Docs

Get the authoritative Remote Operator project summary

GET
/v1/projects/{idOrName}/remote-operator-summary

Authorization

AuthorizationBearer <token>

API key for authentication, must be provided as a Bearer token. Generate an API key at https://alien.dev/api-keys

In: header

Path Parameters

idOrName*string

Project ID or name.

Lengthlength <= 100

Query Parameters

workspace?string

Workspace name or ID. Required for user/session/OAuth requests. Optional for API keys because API keys are workspace-scoped; if provided with an API key, it must identify the key's workspace.

Match^(?:ws_[0-9a-zA-Z]{24}|(?!ws[-_])[a-z0-9](-?[a-z0-9])*)$
Length4 <= length <= 100

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/projects/my-project/remote-operator-summary"
{  "generatedAt": "2019-08-24T14:15:22Z",  "project": {    "id": "string",    "name": "string"  },  "nextAction": {    "kind": "connect",    "target": "setup",    "deploymentId": "string",    "message": "string"  },  "installations": {    "status": "ready",    "freshness": "fresh",    "sourceUpdatedAt": "2019-08-24T14:15:22Z",    "error": {      "code": "string",      "message": "string"    },    "data": {      "items": [        {          "id": "string",          "name": "string",          "deploymentGroupId": "string",          "platform": "kubernetes",          "region": "string",          "state": "unhealthy",          "stateReason": "string",          "status": "string",          "lastHeartbeatAt": "2019-08-24T14:15:22Z",          "lastSuccessfulDiagnosticAt": "2019-08-24T14:15:22Z",          "operatorVersion": "string",          "operatorScope": "string",          "operatorPermission": "string",          "expectedImage": {            "source": "package",            "packageId": "string",            "packageVersion": "string",            "image": "string",            "digest": "string",            "renderedAt": "2019-08-24T14:15:22Z"          },          "previousExpectedImage": {            "source": "package",            "packageId": "string",            "packageVersion": "string",            "image": "string",            "digest": "string",            "renderedAt": "2019-08-24T14:15:22Z"          },          "runningImage": {            "source": "package",            "packageId": "string",            "packageVersion": "string",            "image": "string",            "digest": "string",            "observedAt": "2019-08-24T14:15:22Z"          },          "imageStatus": "matching",          "operatorUpdate": {            "packageId": "string",            "packageVersion": "string",            "image": "string",            "digest": "string",            "builtAt": "2019-08-24T14:15:22Z"          },          "operationSync": {            "status": "preparing",            "targetBundleHash": "string",            "observedBundleHash": "string",            "targetSetAt": "2019-08-24T14:15:22Z",            "observedAt": "2019-08-24T14:15:22Z",            "error": "string"          },          "application": {            "state": "no-desired",            "reason": "string",            "reported": {              "releaseId": "string",              "version": "string"            },            "desired": {              "releaseId": "string",              "version": "string",              "source": "channel",              "helmChart": {                "chart": "string",                "version": "string"              },              "images": [                "string"              ]            },            "releaseChannel": "string",            "rollback": {              "releaseId": "string",              "version": "string"            }          },          "permissions": {            "status": "current",            "recordedAt": "2019-08-24T14:15:22Z",            "reason": "string"          }        }      ],      "unregisteredSetups": [        {          "deploymentGroupId": "string",          "name": "string",          "platform": "kubernetes",          "createdAt": "2019-08-24T14:15:22Z",          "valuesExpireAt": "2019-08-24T14:15:22Z"        }      ]    }  },  "release": {    "status": "ready",    "freshness": "fresh",    "sourceUpdatedAt": "2019-08-24T14:15:22Z",    "error": {      "code": "string",      "message": "string"    },    "data": {      "reported": [        {          "releaseId": "string",          "version": "string",          "createdAt": "2019-08-24T14:15:22Z",          "deployments": 1,          "latest": true        }      ],      "older": 0,      "unknown": 0,      "rollout": [        {          "releaseId": "string",          "version": "string",          "upToDate": 0,          "waiting": 0,          "unknown": 0,          "failed": 0        }      ]    }  },  "access": {    "status": "ready",    "freshness": "fresh",    "sourceUpdatedAt": "2019-08-24T14:15:22Z",    "error": {      "code": "string",      "message": "string"    },    "data": {      "pending": 0,      "active": 0,      "recent": [        {          "id": "string",          "deploymentId": "string",          "title": "string",          "status": "pending-approval",          "approvedUntil": "2019-08-24T14:15:22Z",          "updatedAt": "2019-08-24T14:15:22Z"        }      ]    }  },  "operations": {    "status": "ready",    "freshness": "fresh",    "sourceUpdatedAt": "2019-08-24T14:15:22Z",    "error": {      "code": "string",      "message": "string"    },    "data": {      "selected": [        {          "name": "string",          "version": "string",          "source": "builtin",          "operations": [            {              "name": "string",              "tier": "read-only"            }          ]        }      ],      "sync": {        "preparing": 0,        "syncing": 0,        "ready": 0,        "stuck": 0      },      "generatedPermissions": [        {          "plugin": "string",          "pluginVersion": "string",          "operation": "string",          "tier": "read-only",          "cloud": {            "azure": [],            "aws": [              {                "effect": "Allow",                "actions": [                  "string"                ],                "resources": [                  "string"                ],                "condition": {                  "property1": {                    "property1": "string",                    "property2": "string"                  },                  "property2": {                    "property1": "string",                    "property2": "string"                  }                },                "reason": "string"              }            ],            "gcp": [              {                "permissions": [                  "string"                ],                "scope": "projects/${projectName}",                "reason": "string"              }            ]          },          "kubernetes": {            "schemaVersion": 1,            "rules": [              {                "apiGroup": "string",                "resource": "string",                "verbs": [                  "get"                ],                "resourceNames": [],                "reason": "string"              }            ]          }        }      ]    }  },  "activity": {    "status": "ready",    "freshness": "fresh",    "sourceUpdatedAt": "2019-08-24T14:15:22Z",    "error": {      "code": "string",      "message": "string"    },    "data": {      "recent": [        {          "invocationId": "string",          "deploymentId": "string",          "commandId": "string",          "plugin": "string",          "pluginVersion": "string",          "operation": "string",          "tier": "read-only",          "accessRequestId": "string",          "commandState": "string",          "verificationState": "not-required",          "createdAt": "2019-08-24T14:15:22Z",          "updatedAt": "2019-08-24T14:15:22Z"        }      ],      "investigations": [        {          "id": "string",          "triggerType": "string",          "deploymentId": "string",          "status": "string",          "createdAt": "2019-08-24T14:15:22Z",          "updatedAt": "2019-08-24T14:15:22Z"        }      ],      "debugSessions": [        {          "id": "string",          "deploymentId": "string",          "state": "string",          "createdAt": "2019-08-24T14:15:22Z",          "expiresAt": "2019-08-24T14:15:22Z"        }      ],      "lastVerifiedOperation": {        "invocationId": "string",        "deploymentId": "string",        "commandId": "string",        "plugin": "string",        "pluginVersion": "string",        "operation": "string",        "tier": "read-only",        "accessRequestId": "string",        "commandState": "SUCCEEDED",        "verificationState": "not-required",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z",        "verification": {          "state": "not-required",          "attempts": 0,          "maxAttempts": 0,          "deadline": "2019-08-24T14:15:22Z",          "reason": "string"        },        "sensitiveOutput": {          "kind": "none"        },        "resultAvailable": true,        "result": null,        "completedAt": "2019-08-24T14:15:22Z"      }    }  }}