Page MenuHomeSoftware Heritage

uri-scheme-browse-revision.rst
No OneTemporary

uri-scheme-browse-revision.rst

Revision
^^^^^^^^
.. http:get:: /browse/revision/(sha1_git)/
HTML view that displays the metadata associated to a SWH revision.
It notably shows the revision date and message but also offers
links to get more details on:
* the author
* the committer
* the directory that revision points to
* the history log reachable from that revision
:param string sha1_git: hexadecimal representation for the *sha1_git*
identifier of a SWH revision
:statuscode 200: no error
:statuscode 404: requested revision can not be found in the SWH archive
.. parsed-literal::
:swh_web_browse:`revision/f1b94134a4b879bc55c3dacdb496690c8ebdc03f/`
:swh_web_browse:`revision/d1aa2b3f607b35dc5dbf613b2334b6d243ec2bda/`
.. http:get:: /browse/revision/(sha1_git)/log/
HTML view that displays the list of revisions heading to
a given one. In other words, it shows a commit log.
The following data are displayed for each log entry:
* author of the revision
* link to the revision metadata
* message associated to the revision
* date of the revision
* link to browse the associated source tree
N log entries are displayed per page (default is 20). In order to navigate
in a large history, two buttons are present at the bottom of the view:
* *Newer*: fetch and display if available the N more recent log entries
than the ones currently displayed
* *Older*: fetch and display if available the N older log entries
than the ones currently displayed
:param string sha1_git: hexadecimal representation for the *sha1_git*
identifier of a SWH revision
:query string revs_breadcrumb: used internally to store
the navigation breadcrumbs (i.e. the list of descendant revisions
visited so far). It must be a string in the form
"<rev_1>[/<rev_2>/.../<rev_n>]" where rev_i corresponds to a
revision sha1_git.
:query int per_page: the number of log entries to display per page
(default is 20, max is 50)
:statuscode 200: no error
:statuscode 404: requested revision can not be found in the SWH archive
.. parsed-literal::
:swh_web_browse:`revision/f1b94134a4b879bc55c3dacdb496690c8ebdc03f/log/`
:swh_web_browse:`revision/d1aa2b3f607b35dc5dbf613b2334b6d243ec2bda/log/`

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 11:18 AM (1 w, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3298080

Event Timeline