From 73d903ad961bd36f75694b2a0001a6a30b68e96f Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Tue, 15 May 2018 09:42:20 -0400 Subject: [PATCH] client-selected resource identifier -> PUT --- docs/proposed/http-storage-node-protocol.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/proposed/http-storage-node-protocol.rst b/docs/proposed/http-storage-node-protocol.rst index 7005c8775..87d383cfd 100644 --- a/docs/proposed/http-storage-node-protocol.rst +++ b/docs/proposed/http-storage-node-protocol.rst @@ -132,13 +132,13 @@ For example:: Writing ------- -``POST /v1/buckets`` +``PUT /v1/storage/:storage_index`` Create some new buckets in which to store some shares. Details of the buckets to create are encoded in the request body. For example:: - {"storage_index": "abcd", "renew_secret": "efgh", "cancel_secret": "ijkl", + {"renew_secret": "efgh", "cancel_secret": "ijkl", "sharenums": [1, 7, ...], "allocated_size": 12345} The response body includes encoded information about the created buckets.