mirror of
https://github.com/hzrd149/blossom.git
synced 2025-12-10 15:38:49 +00:00
finish upload endpoint
more details on error response
This commit is contained in:
10
Client.md
10
Client.md
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user