finish upload endpoint

more details on error response
This commit is contained in:
hzrd149
2024-02-27 09:51:21 +00:00
parent c0e83af008
commit 8571ebf030
3 changed files with 84 additions and 52 deletions

View File

@@ -1,3 +1,13 @@
# Blossom Client Implementation
## Upload Blob
Clients should perform the following steps when uploading blobs
1. Prompt the user to sign an [Authorization event](./Server.md#upload-authorization-required) for the blob
2. Get the users [Server Discovery](./Nostr.md#user-server-discovery)
3. Make a `PUT /upload` request with the authorization event to each server on the list
## Implementations
Example implementation (Typescript) [blossom-client](https://github.com/hzrd149/blossom-client)