Run Internals

Write Petri Blob

Stores a blob by content for the run's owner and returns its SHA-256 digest, the same content address Fabro's blob store uses. Idempotent by construction.

post/api/v1/runs/{id}/petri/blobs

Path parameters

idstring required

Unique run identifier (ULID).

Query parameters

ownerstring required

The owner id the worker opened the run's writer lease with.

Response

Blob stored

hashstring required

Content-addressed SHA-256 hash of a stored blob. Hex input is case-insensitive; Fabro emits the canonical lowercase form.

Example response

{
  "hash": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
}

Changes

Changed in 1 of the 172 revisions of this API.1