EndpointsCogents
List cogent changes
GET
/v2/cogents/{cogent_id}/changesReturns every write and append after cursor, in the order they happened. With wait, an empty answer is held open until something changes or wait seconds pass (at most 25).
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}$Query Parameters
cursor?|
The last seq already seen; 0 reads from the start; latest starts at now.
Default
0limit?Limit
Most changes to return.
Range
1 <= value <= 1000Default
500wait?Wait
Seconds to wait for a change when none is there.
Range
0 <= value <= 25Default
0curl -X GET "https://softmax.com/api/observatory/v2/cogents/string/changes"{ "changes": [ { "seq": 0, "at": "2019-08-24T14:15:22Z", "kind": "record", "collection": "string", "key": "string", "rev": 0, "deleted": true, "log": "string", "first": 0, "last": 0 } ], "cursor": 0}