Project drive

Read a file from the project drive

Reads the current version, or with sha256 that version (current or superseded: what a sealed report names). Works with every computer of the project asleep or deleted; nothing is woken. ETag is the sha256 (If-None-Match answers 304). One Range: bytes=start-end, bytes=start- or bytes=-length answers 206 with Content-Range and only those bytes (If-Range with the ETag keeps it to that version); a range that starts at or past the end answers 416 with Content-Range: bytes */<size>.

get/v1/projects/{id}/drive/{path}

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/projects/{id}/drive/{path}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

UUIDv7, lowercase canonical form.

pathstring required

Query parameters

sha256string

Lower-case hex SHA-256 of the bytes.

Response

Default Response

Changes

No recorded changes to this operation across all 1 revision of this API.