mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
make the share a logical child of the bucket?
This commit is contained in:
parent
6d84cd8179
commit
c824bcd8b2
@ -163,7 +163,8 @@ TODO Verify this conclusion.
|
|||||||
Write the share data to the indicated bucket.
|
Write the share data to the indicated bucket.
|
||||||
The request body is the raw share data (i.e., ``application/octet-stream``).
|
The request body is the raw share data (i.e., ``application/octet-stream``).
|
||||||
|
|
||||||
``POST /v1/buckets/:bucket_id/corrupt``
|
``POST /v1/buckets/:bucket_id/:share_number/corrupt``
|
||||||
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
Advise the server the share data read from the indicated bucket was corrupt.
|
Advise the server the share data read from the indicated bucket was corrupt.
|
||||||
The request body includes an human-meaningful string with details about the corruption.
|
The request body includes an human-meaningful string with details about the corruption.
|
||||||
@ -171,7 +172,7 @@ It also includes potentially important details about the share.
|
|||||||
|
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
{"share_type": "mutable", "storage_index": "abcd", "share_number": 3,
|
{"share_type": "mutable", "storage_index": "abcd",
|
||||||
"reason": "expected hash abcd, got hash efgh"}
|
"reason": "expected hash abcd, got hash efgh"}
|
||||||
|
|
||||||
Reading
|
Reading
|
||||||
|
Loading…
x
Reference in New Issue
Block a user