Changeset View
Changeset View
Standalone View
Standalone View
docs/getting-started.rst
Show First 20 Lines • Show All 264 Lines • ▼ Show 20 Lines | |||||
- **rejected**: deposit failed the checks | - **rejected**: deposit failed the checks | ||||
- **verified**: content and metadata verified | - **verified**: content and metadata verified | ||||
- **loading**: loading in-progress | - **loading**: loading in-progress | ||||
- **done**: loading completed successfully | - **done**: loading completed successfully | ||||
- **failed**: the deposit loading has failed | - **failed**: the deposit loading has failed | ||||
When the deposit has been loaded into the archive, the status will be | When the deposit has been loaded into the archive, the status will be | ||||
marked ``done``. In the response, will also be available the | marked ``done``. In the response, will also be available the | ||||
<deposit_swh_id>, <deposit_swh_id_context>, <deposit_swh_anchor_id>, | <deposit_swh_id>, <deposit_swh_id_context>. For example: | ||||
<deposit_swh_anchor_id_context>. For example: | |||||
.. code:: json | .. code:: json | ||||
{ | { | ||||
'deposit_id': '11', | 'deposit_id': '11', | ||||
'deposit_status': 'done', | 'deposit_status': 'done', | ||||
'deposit_swh_id': 'swh:1:dir:d83b7dda887dc790f7207608474650d4344b8df9', | 'deposit_swh_id': 'swh:1:dir:d83b7dda887dc790f7207608474650d4344b8df9', | ||||
'deposit_swh_id_context': 'swh:1:dir:d83b7dda887dc790f7207608474650d4344b8df9;origin=https://forge.softwareheritage.org/source/jesuisgpl/;visit=swh:1:snp:68c0d26104d47e278dd6be07ed61fafb561d0d20;anchor=swh:1:rev:e76ea49c9ffbb7f73611087ba6e999b19e5d71eb;path=/', | 'deposit_swh_id_context': 'swh:1:dir:d83b7dda887dc790f7207608474650d4344b8df9;origin=https://forge.softwareheritage.org/source/jesuisgpl/;visit=swh:1:snp:68c0d26104d47e278dd6be07ed61fafb561d0d20;anchor=swh:1:rev:e76ea49c9ffbb7f73611087ba6e999b19e5d71eb;path=/', | ||||
'deposit_swh_anchor_id': 'swh:1:rev:e76ea49c9ffbb7f73611087ba6e999b19e5d71eb', | |||||
'deposit_swh_anchor_id_context': 'swh:1:rev:e76ea49c9ffbb7f73611087ba6e999b19e5d71eb;origin=https://forge.softwareheritage.org/source/jesuisgpl/', | |||||
'deposit_status_detail': 'The deposit has been successfully \ | 'deposit_status_detail': 'The deposit has been successfully \ | ||||
loaded into the Software Heritage archive' | loaded into the Software Heritage archive' | ||||
} | } |