Changeset View
Changeset View
Standalone View
Standalone View
docs/specs/spec-loading.rst
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | .. code-block:: json | ||||
"origin_visits_url": "https://archive.softwareheritage.org/api/1/origin/https://hal.archives-ouvertes.fr/hal-02560320/visits/", | "origin_visits_url": "https://archive.softwareheritage.org/api/1/origin/https://hal.archives-ouvertes.fr/hal-02560320/visits/", | ||||
"url": "https://hal.archives-ouvertes.fr/hal-02560320" | "url": "https://hal.archives-ouvertes.fr/hal-02560320" | ||||
} | } | ||||
Visits | Visits | ||||
~~~~~~ | ~~~~~~ | ||||
We identify with a visit each deposit push of the same `external_id`. | We identify with a visit each deposit push of the same origin. | ||||
Here in the example below, two snapshots are identified by two different visits. | Here in the example below, two snapshots are identified by two different visits. | ||||
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/visits/ | $ http -pb https://archive.softwareheritage.org/api/1/origin/https://hal.archives-ouvertes.fr/hal-02560320/visits/ | ||||
▲ Show 20 Lines • Show All 244 Lines • ▼ Show 20 Lines | .. code-block:: json | ||||
"codemeta:programmingLanguage": "Java", | "codemeta:programmingLanguage": "Java", | ||||
"codemeta:referencePublication": null, | "codemeta:referencePublication": null, | ||||
"codemeta:relatedLink": null, | "codemeta:relatedLink": null, | ||||
"codemeta:releaseNotes": "releaseNote", | "codemeta:releaseNotes": "releaseNote", | ||||
"codemeta:runtimePlatform": "outil", | "codemeta:runtimePlatform": "outil", | ||||
"codemeta:softwareVersion": "1.0.1", | "codemeta:softwareVersion": "1.0.1", | ||||
"codemeta:url": "https://hal.archives-ouvertes.fr/hal-02140606", | "codemeta:url": "https://hal.archives-ouvertes.fr/hal-02140606", | ||||
"codemeta:version": "2", | "codemeta:version": "2", | ||||
"external_identifier": "hal-02140606", | |||||
"id": "hal-02140606", | "id": "hal-02140606", | ||||
"original_artifact": [ | "original_artifact": [ | ||||
{ | { | ||||
"archive_type": "zip", | "archive_type": "zip", | ||||
"blake2s256": "96be3ddedfcee9669ad9c42b0bb3a706daf23824d04311c63505a4d8db02df00", | "blake2s256": "96be3ddedfcee9669ad9c42b0bb3a706daf23824d04311c63505a4d8db02df00", | ||||
"length": 193072, | "length": 193072, | ||||
"name": "archive.zip", | "name": "archive.zip", | ||||
"sha1": "5b6ecc9d5bb113ff69fc275dcc9b0d993a8194f1", | "sha1": "5b6ecc9d5bb113ff69fc275dcc9b0d993a8194f1", | ||||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |