reorder branches. sync with source repo

This commit is contained in:
Quentin
2024-08-22 09:51:23 +02:00
parent ba4eb9b8f9
commit 3b6de30719
4 changed files with 86 additions and 127 deletions

View File

@@ -60,7 +60,7 @@ Authorization: Nostr eyJpZCI6IjhlY2JkY2RkNTMyOTIwMDEwNTUyNGExNDI4NzkxMzg4MWIzOWQ
## Endpoints
All endpoints MUST be served from the root path (eg. `https://cdn.example.com/upload`, etc). This allows clients to talk to servers interchangeably when uploading or reteriving blobs
All endpoints MUST be served from the root path (eg. `https://cdn.example.com/upload`, etc). This allows clients to talk to servers interchangeably when uploading or retrieving blobs
## Error Responses
@@ -92,7 +92,7 @@ This ensures that if a user was to copy or reuse the redirect URL it would still
### Get Authorization (optional)
The server may optionally require authorization when reteriving blobs from the `GET /<sha256>` endpoint
The server may optionally require authorization when retrieving blobs from the `GET /<sha256>` endpoint
In this case the server MUST perform additional checks on the authorization event
@@ -101,7 +101,7 @@ In this case the server MUST perform additional checks on the authorization even
If the client did not send an `Authorization` header the server must respond with the appropriate HTTP status code `401` (Unauthorized)
Example event for retreiving a single blob:
Example event for retrieving a single blob:
```json
{
@@ -119,7 +119,7 @@ Example event for retreiving a single blob:
}
```
Example event for retreiving multiple blobs from single server:
Example event for retrieving multiple blobs from single server:
```json
{