Changeset View
Changeset View
Standalone View
Standalone View
docs/specs/spec-loading.rst
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| directory | root directory of the expanded submitted| | | directory | root directory of the expanded submitted| | ||||
| | tarball | | | | tarball | | ||||
+------------------------------------+-----------------------------------------+ | +------------------------------------+-----------------------------------------+ | ||||
Origin artifact | Origin artifact | ||||
~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~ | ||||
We create an origin URL by concatenating the client's `provider_url` and the | If the ``<swh:create_origin>`` is missing, | ||||
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). | (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/ | ||||
▲ Show 20 Lines • Show All 407 Lines • Show Last 20 Lines |