Changeset View
Changeset View
Standalone View
Standalone View
docs/specs/spec-loading.rst
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
| | tarball | | | | tarball | | ||||
+------------------------------------+-----------------------------------------+ | +------------------------------------+-----------------------------------------+ | ||||
Origin artifact | Origin artifact | ||||
~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~ | ||||
We create an origin URL by concatenating the client's `provider_url` and the | We create an origin URL by concatenating the client's `provider_url` and the | ||||
value of the Slug header of the initial POST request of the deposit. | value of the Slug header of the initial POST request of the deposit | ||||
(or a randomly generated slug if it is missing). | |||||
For examples: | For examples: | ||||
.. code-block:: bash | .. code-block:: bash | ||||
$ http -pb https://archive.softwareheritage.org/api/1/origin/https://hal.archives-ouvertes.fr/hal-02560320/get/ | $ http -pb https://archive.softwareheritage.org/api/1/origin/https://hal.archives-ouvertes.fr/hal-02560320/get/ | ||||
would result in: | would result in: | ||||
▲ Show 20 Lines • Show All 405 Lines • Show Last 20 Lines |