Page MenuHomeSoftware Heritage

D674.id2121.diff
No OneTemporary

D674.id2121.diff

diff --git a/docs/api.rst b/docs/api.rst
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -103,8 +103,8 @@
before it can be retrieved. Cooking is idempotent, and a no-op in between a
previous cooking operation and expiration.
-.. http:post:: /vault/:objectkind/:objectid/:format
-.. http:get:: /vault/:objectkind/:objectid/:format
+.. http:post:: /vault/:objectkind/:objectid[/:format]
+.. http:get:: /vault/:objectkind/:objectid[/:format]
**Request body**: optionally, an ``email`` POST parameter containing an
e-mail to notify when the bundle cooking has ended.
@@ -166,7 +166,7 @@
Retrieve a specific bundle from the vault with:
-.. http:get:: /vault/:objectkind/:objectid/:format/raw
+.. http:get:: /vault/:objectkind/:objectid[/:format]/raw
Where ``:format`` is optional, depending on the object kind.

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 24, 5:05 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3232939

Event Timeline