Read measured container resource samples
GET
cookie
vg_session<token>The console's session cookie, set when you sign in. Every operation accepts it, at the role the operation names.
orgId*stringAuthorised orgId; the server must verify organisation/project ownership before any read.
Length
1 <= lengthprojectId*stringAuthorised projectId; the server must verify organisation/project ownership before any read.
Length
1 <= lengthAuthorised read result. Null means unreported, never zero. Source-specific coverage limits remain visible.
application/json- response
source*stringresources*array<>Example Request
curl -X GET 'https://example.com/api/v1/org/string/project/string/resources'Example Response
{ "source": "string", "resources": [ { "id": "string", "kind": "string", "target": "string", "containerId": "string", "host": "string", "sourceStatus": { "lastReadAt": "2019-08-24T14:15:22Z", "lastGoodReadAt": "2019-08-24T14:15:22Z", "errorClass": "unauthenticated" }, "samples": [ { "t": "2019-08-24T14:15:22Z", "observedAt": "2019-08-24T14:15:22Z", "cpuUsed": 0, "cpuCores": 0, "memoryBytes": 0, "memoryLimitBytes": 0 } ] } ]}Was this page helpful?