mirror of
https://github.com/hzrd149/blossom.git
synced 2025-12-09 07:08:50 +00:00
update wording to allow authorization events to include multiple x tags
This commit is contained in:
10
buds/02.md
10
buds/02.md
@@ -1,8 +1,6 @@
|
||||
BUD-02
|
||||
======
|
||||
# BUD-02
|
||||
|
||||
Blob upload and management
|
||||
--------------------------
|
||||
## Blob upload and management
|
||||
|
||||
`draft` `optional`
|
||||
|
||||
@@ -37,7 +35,7 @@ Servers MAY reject an upload for any reason and should respond with the appropri
|
||||
Servers MUST accept an authorization event when uploading blobs and should perform additional checks
|
||||
|
||||
1. The `t` tag MUST be set to `upload`
|
||||
2. The `x` tag MUST be present and set to the sha256 hash of the blob
|
||||
2. MUST contain at least one `x` tag matching the sha256 hash of the blob being uploaded
|
||||
|
||||
Example Authorization event:
|
||||
|
||||
@@ -103,7 +101,7 @@ Servers MUST accept an authorization event when deleting blobs
|
||||
Servers should perform additional checks on the authorization event
|
||||
|
||||
1. The `t` tag must be set to `delete`
|
||||
2. A `x` tag must be present and set to the sha256 hash of the blob being deleted
|
||||
2. MUST contain at least one `x` tag matching the sha256 hash of the blob being deleted
|
||||
|
||||
Example Authorization event:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user