EndpointsCogents

Publish cogent record

PUT/v2/cogents/{cogent_id}/public/{collection}/{key}

Lets anyone read a live record, now and as it changes, until it is unpublished. One yes from the coach covers the key: every later revision stays public with no new ask. Deleting the record also drops its publication, and a later put brings it back unpublished.

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.

key*Key

Record key. It may contain /.

curl -X PUT "https://softmax.com/api/observatory/v2/cogents/string/public/string/string"
{  "collection": "string",  "key": "string",  "published": true,  "published_at": "2019-08-24T14:15:22Z"}