Changeset View
Changeset View
Standalone View
Standalone View
docs/uri-scheme-browse-snapshot.rst
Show First 20 Lines • Show All 171 Lines • ▼ Show 20 Lines | .. parsed-literal:: | ||||
:swh_web_browse:`snapshot/baebc2109e4a2ec22a1129a3859647e191d04df4/content/init/initramfs.c` | :swh_web_browse:`snapshot/baebc2109e4a2ec22a1129a3859647e191d04df4/content/init/initramfs.c` | ||||
:swh_web_browse:`snapshot/673156c31a876c5b99b2fe3e89615529de9a3c44/content/src/opengl/qglbuffer.h/` | :swh_web_browse:`snapshot/673156c31a876c5b99b2fe3e89615529de9a3c44/content/src/opengl/qglbuffer.h/` | ||||
:swh_web_browse:`snapshot/673156c31a876c5b99b2fe3e89615529de9a3c44/content/src/opengl/qglbuffer.h/?release=v5.0.0` | :swh_web_browse:`snapshot/673156c31a876c5b99b2fe3e89615529de9a3c44/content/src/opengl/qglbuffer.h/?release=v5.0.0` | ||||
Snapshot history | Snapshot history | ||||
"""""""""""""""" | """""""""""""""" | ||||
.. http:get:: /browse/snapshot/log/ | |||||
HTML view that produces a display of the revisions history (aka the commit log) | |||||
anlambert: s/origin_url/origin URL/ | |||||
for the last collected revision for the given origin. An origin URL must be given | |||||
as a query parameter. | |||||
:query string origin_url: specify the origin from which to retrieve the commit log | |||||
:query string timestamp: optional; an ISO 8601 datetime string to parse in order to | |||||
find the closest visit | |||||
:statuscode 200: no error | |||||
Done Inline Actionsextra "in the" to remove anlambert: extra "in the" to remove | |||||
:statuscode 400: origin_url parameter is missing | |||||
:statuscode 404: requested origin is either missing or has no associated snapshots | |||||
**Examples:** | |||||
.. parsed-literal:: | |||||
:swh_web_browse:`snapshot/log?origin_url=https://github.com/python/cpython` | |||||
:swh_web_browse:`snapshot/log/?origin_url=https://github.com/python/cpython×tamp=2021-01-23T22:24:10Z` | |||||
.. http:get:: /browse/snapshot/(snapshot_id)/log/ | .. http:get:: /browse/snapshot/(snapshot_id)/log/ | ||||
HTML view that produces a display of revisions history (aka the commit log) | HTML view that produces a display of revisions history (aka the commit log) | ||||
heading to the last revision collected in a snapshot. | heading to the last revision collected in a snapshot. | ||||
The features offered by the view are similar to the one for browsing | The features offered by the view are similar to the one for browsing | ||||
the history in an origin context | the history in an origin context | ||||
(see :http:get:`/browse/origin/(origin_url)/log/`). | (see :http:get:`/browse/origin/(origin_url)/log/`). | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |
s/origin_url/origin URL/