Skip to content

Commit b268fde

Browse files
committed
fix: update http put args description
1 parent 9bcea77 commit b268fde

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

w3-blob.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
![status:wip](https://img.shields.io/badge/status-wip-orange.svg?style=flat-square)
44

5+
## Editors
6+
57
- [Irakli Gozalishvili](https://github.com/gozala)
8+
- [Vasco Santos](https://github.com/vasco-santos)
69

710
## Authors
811

912
- [Irakli Gozalishvili](https://github.com/gozala)
13+
- [Vasco Santos](https://github.com/vasco-santos)
1014

1115
## Abstract
1216

@@ -163,6 +167,7 @@ Shows an example receipt for the above `/space/content/add/blob` capability invo
163167
"sub": "did:key:zMh...der", // <-- Ed299.. derived key from content multihash
164168
"args": {
165169
"content": { "/": { "bytes": "mEi...sfKg" } },
170+
// TODO: this should now be updated
166171
"address": { "await/ok": { "/": "bafy...alloc" } },
167172
"_allocate": { "await/ok": { "/": "bafy...alloc" } }
168173
},
@@ -386,9 +391,17 @@ The subject field SHOULD be [`did:key`] corresponding to the [Ed25519] private k
386391
387392
Metadata MUST contain `keys` field with an object value that contains [`did:key`] subject as key and corresponding private key as bytes as a value.
388393
389-
### Put Blob Address
394+
### Put Blob Body
395+
396+
The `args.body` field MUST be set to the Blob the space is allocated for.
397+
398+
### Put Blob URL
399+
400+
The `args.url` field MUST be set to the HTTP(S) location that can receive blob content via HTTP PUT request.
401+
402+
### Put Blob Headers
390403
391-
Destination address `url` and required `headers` MUST be specified in the arguments.
404+
The `args.url` field MUST be set to the HTTP(S) headers required to send blob content via HTTP PUT request.
392405
393406
### Put Blob Receipt
394407

0 commit comments

Comments
 (0)