Make type mandatory in the blob descriptor

This commit is contained in:
Anthony Accioly 2025-06-04 19:13:37 +01:00
parent e1299a6ce5
commit 5ef2889547
No known key found for this signature in database
GPG Key ID: 1BADB4682C8DDB3C
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ A blob descriptor is a JSON object containing `url`, `sha256`, `size`, `type`, a
- `url` A publicly accessible URL to the [BUD-01](./01.md#get-sha256---get-blob) `GET /<sha256>` endpoint with a file extension
- `sha256` The sha256 hash of the blob
- `size` The size of the blob in bytes
- `type` (optional) The MIME type of the blob
- `type` The MIME type of the blob (falling back to `application/octet-stream` if unknown)
- `uploaded` The unix timestamp of when the blob was uploaded to the server
Servers MUST include a file extension in the URL in the `url` field to allow clients to easily embed the URL in social posts or other content