EndpointsCogents

Get cogent artifact

GET/v2/cogents/{cogent_id}/artifacts/{sha256}

Returns a stored artifact: its bytes inline when they are small, else a presigned download URL.

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}$
sha256*Sha256

SHA-256 of the artifact, lowercase hex.

Match^[0-9a-f]{64}$
curl -X GET "https://softmax.com/api/observatory/v2/cogents/string/artifacts/string"
{  "sha256": "string",  "kind": "string",  "size_bytes": 0,  "content_base64": "string",  "url": "string"}