Changeset View
Changeset View
Standalone View
Standalone View
docs/endpoints/content.rst
Show All 30 Lines | .. code:: http | ||||
Content-Type: application/xml | Content-Type: application/xml | ||||
Date: Thu, 05 Nov 2020 14:31:50 GMT | Date: Thu, 05 Nov 2020 14:31:50 GMT | ||||
Server: nginx/1.19.2 | Server: nginx/1.19.2 | ||||
Vary: Accept | Vary: Accept | ||||
X-Frame-Options: SAMEORIGIN | X-Frame-Options: SAMEORIGIN | ||||
<entry xmlns="http://www.w3.org/2005/Atom" | <entry xmlns="http://www.w3.org/2005/Atom" | ||||
xmlns:sword="http://purl.org/net/sword/" | xmlns:sword="http://purl.org/net/sword/" | ||||
xmlns:dcterms="http://purl.org/dc/terms/"> | xmlns:dcterms="http://purl.org/dc/terms/" | ||||
<deposit_id>1</deposit_id> | xmlns:swhdeposit="https://www.softwareheritage.org/schema/2018/deposit" | ||||
<deposit_status>done</deposit_status> | > | ||||
<deposit_status_detail>The deposit has been successfully loaded into the Software Heritage archive</deposit_status_detail> | <swhdeposit:deposit_id>1</swhdeposit:deposit_id> | ||||
<deposit_date>Oct. 28, 2020, 3:58 p.m.</deposit_date> | <swhdeposit:deposit_date>Oct. 28, 2020, 3:58 p.m.</swhdeposit:deposit_date> | ||||
<swhdeposit:deposit_status>done</swhdeposit:deposit_status> | |||||
<swhdeposit:deposit_status_detail>The deposit has been successfully loaded into the Software Heritage archive</swhdeposit:deposit_status_detail> | |||||
</entry> | </entry> | ||||
Note: older versions of the deposit used the ``http://www.w3.org/2005/Atom`` | |||||
namespace instead of ``https://www.softwareheritage.org/schema/2018/deposit``. | |||||
Tags in the Atom namespace are still provided for backward compatibility, but | |||||
are deprecated. | |||||
:reqheader Authorization: Basic authentication token | :reqheader Authorization: Basic authentication token | ||||
:statuscode 200: no error | :statuscode 200: no error | ||||
:statuscode 401: Unauthorized | :statuscode 401: Unauthorized |