'Generic Commit'
This commit is contained in:
@@ -185,14 +185,6 @@ std::string welcome_page() {
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="endpoint-group">
|
|
||||||
<h3>PUT /update</h3>
|
|
||||||
<p>Update the metadata for an existing object. Requires authentication. Send a JSON body with <code>hash</code> and <code>metadata</code> fields.</p>
|
|
||||||
<pre>{
|
|
||||||
"hash": "<object_hash>",
|
|
||||||
"metadata": { "key": "value" }
|
|
||||||
}</pre>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
@@ -200,4 +192,4 @@ std::string welcome_page() {
|
|||||||
)";
|
)";
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace simple_object_storage
|
} // namespace simple_object_storage
|
||||||
|
Reference in New Issue
Block a user