add HEAD /sha256 endpoint for checking blobs

This commit is contained in:
hzrd149
2024-03-20 08:34:16 -05:00
parent 4eb73b01b7
commit 83896f8394
3 changed files with 8 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ Blobs are packs of binary data addressed by their sha256 hash
Blossom Servers expose four endpoints for managing blobs
- `GET /<sha256>` (optional file `.ext`)
- `HEAD /<sha256>` (optional file `.ext`)
- `PUT /upload`
- `Authentication`: Signed [nostr event](./Server.md#upload-authorization-required)
- Return a blob descriptor