briqs

Write a file into a briq (base64, max 1 MB)

Creates parent directories. Writing one of the briq's boot files answers with a warning: the spec writes it again at the next start.

post/v1/briqs/{id}/files

Request

  • Base URL: https://api.briq.cloud
  • URL: https://api.briq.cloud/v1/briqs/{id}/files
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

pathstring required
contentBase64string required

Response

ok

pathstring required
bytesnumber required
sha256string required

SHA-256 of the bytes written, hex

verifiedboolean required

True when the briq computed the same SHA-256 from the file on its disk; false when its image has no sha256sum to check with

warningstring

Set when the path is a boot file: the spec writes it again at the next start

Changes

No recorded changes to this operation across all 2 revisions of this API.