EndpointsCogents

Search cogent records

GET/v2/cogents/{cogent_id}/search

Returns the live records whose text holds every word of q, by collection and key.

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

q*Q

Words to find, all of them.

Length1 <= length <= 400
collections?array<string>

Only these collections; every one when omitted.

Itemsitems <= 32
Default[]
limit?Limit

Most hits to return.

Range1 <= value <= 100
Default50
curl -X GET "https://softmax.com/api/observatory/v2/cogents/string/search?q=string"
[  {    "collection": "string",    "key": "string",    "snippet": "string"  }]