EndpointsCogents
List cogent records
GET
/v2/cogents/{cogent_id}/c/{collection}Returns one page of a collection's live records, by key unless order says otherwise. Pass the previous page's next as cursor for the page after it.
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token issued by Softmax
In: header
Path Parameters
cogent_id*Cogent Id
Cogent ID (its player ID).
Match
^ply_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$collection*Collection
Collection name.
Query Parameters
where?|
JSON object of indexed body fields and the values they must equal: {"state":"done"}.
prefix?|
Only keys that start with this.
order?Order
key, at, or an indexed body field; a leading - sorts descending. Ties go by key.
Length
length <= 65Default
"key"cursor?|
The previous page's next.
limit?Limit
Page size.
Range
1 <= value <= 500Default
100curl -X GET "https://softmax.com/api/observatory/v2/cogents/string/c/string"{ "records": [ { "collection": "string", "key": "string", "rev": 0, "at": "2019-08-24T14:15:22Z", "author": { "role": "coach", "agent": "string" }, "message": "string", "deleted": true, "body": {} } ], "next": "string"}