briqs

Write a file into a briq, the raw bytes as the body (max 1 MB)

The same as POST /briqs/{id}/files, without JSON or base64 around the content: curl -X PUT --data-binary @server.py ".../files?path=/app/server.py".

put/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

Query parameters

pathstring 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.