EndpointsCogents
Finish cogent artifact upload
POST
/v2/cogents/{cogent_id}/artifacts/{sha256}/finishChecks the uploaded bytes against the declared size and checksum and makes the artifact readable. Finishing a stored artifact again returns it unchanged.
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 POST "https://softmax.com/api/observatory/v2/cogents/string/artifacts/string/finish"{ "sha256": "string", "kind": "string", "size_bytes": 0, "stored": true, "upload": { "url": "string", "headers": { "property1": "string", "property2": "string" }, "expires_at": "2019-08-24T14:15:22Z" }}