mirror of https://github.com/hzrd149/blossom.git
Update README.md
This commit is contained in:
parent
9832ac4582
commit
b29ada0e11
|
@ -15,30 +15,21 @@ Blobs are packs of binary data addressed by their sha256 hash
|
||||||
Blossom Servers expose a few endpoints for managing blobs
|
Blossom Servers expose a few endpoints for managing blobs
|
||||||
|
|
||||||
- `GET /<sha256>` (optional file `.ext`) [BUD-01](./buds/01.md#get-sha256---get-blob)
|
- `GET /<sha256>` (optional file `.ext`) [BUD-01](./buds/01.md#get-sha256---get-blob)
|
||||||
|
|
||||||
- `HEAD /<sha256>` (optional file `.ext`) [BUD-01](./buds/01.md#head-sha256---has-blob)
|
- `HEAD /<sha256>` (optional file `.ext`) [BUD-01](./buds/01.md#head-sha256---has-blob)
|
||||||
|
|
||||||
- `PUT /upload` [BUD-02](./buds/02.md#put-upload---upload-blob)
|
- `PUT /upload` [BUD-02](./buds/02.md#put-upload---upload-blob)
|
||||||
- `Authentication`: Signed [nostr event](./buds/02.md#upload-authorization-required)
|
- `Authentication`: Signed [nostr event](./buds/02.md#upload-authorization-required)
|
||||||
- Return a blob descriptor
|
- Return a blob descriptor
|
||||||
|
|
||||||
- `HEAD /upload` [BUD-06](./buds/06.md#head-upload---upload-requirements)
|
- `HEAD /upload` [BUD-06](./buds/06.md#head-upload---upload-requirements)
|
||||||
|
|
||||||
- `GET /list/<pubkey>` [BUD-02](./buds/02.md#get-listpubkey---list-blobs)
|
- `GET /list/<pubkey>` [BUD-02](./buds/02.md#get-listpubkey---list-blobs)
|
||||||
- Returns an array of blob descriptors
|
- Returns an array of blob descriptors
|
||||||
- `Authentication` _(optional)_: Signed [nostr event](./buds/02.md#list-authorization-optional)
|
- `Authentication` _(optional)_: Signed [nostr event](./buds/02.md#list-authorization-optional)
|
||||||
|
|
||||||
- `DELETE /<sha256>` [BUD-02](./buds/02.md#delete-sha256---delete-blob)
|
- `DELETE /<sha256>` [BUD-02](./buds/02.md#delete-sha256---delete-blob)
|
||||||
- `Authentication`: Signed [nostr event](./buds/02.md#delete-authorization-required)
|
- `Authentication`: Signed [nostr event](./buds/02.md#delete-authorization-required)
|
||||||
|
|
||||||
- `PUT /mirror` [BUD-04](./buds/04.md#put-mirror---mirror-blob)
|
- `PUT /mirror` [BUD-04](./buds/04.md#put-mirror---mirror-blob)
|
||||||
- `Authentication`: Signed [nostr event](./buds/02.md#upload-authorization-required)
|
- `Authentication`: Signed [nostr event](./buds/02.md#upload-authorization-required)
|
||||||
|
|
||||||
- `HEAD /media` [BUD-05](./buds/05.md#head-media)
|
- `HEAD /media` [BUD-05](./buds/05.md#head-media)
|
||||||
|
|
||||||
- `PUT /media` [BUD-05](./buds/05.md#put-media)
|
- `PUT /media` [BUD-05](./buds/05.md#put-media)
|
||||||
- `Authentication`: Signed [nostr event](./buds/05.md#upload-authorization)
|
- `Authentication`: Signed [nostr event](./buds/05.md#upload-authorization)
|
||||||
|
|
||||||
- `PUT /report` [BUD-09](./buds/09.md)
|
- `PUT /report` [BUD-09](./buds/09.md)
|
||||||
|
|
||||||
## Protocol specification (BUDs)
|
## Protocol specification (BUDs)
|
||||||
|
|
Loading…
Reference in New Issue