Changeset View
Changeset View
Standalone View
Standalone View
docs/uri-scheme-browse-origin.rst
Show First 20 Lines • Show All 217 Lines • ▼ Show 20 Lines | .. parsed-literal:: | ||||
:swh_web_browse:`origin/https://github.com/python/cpython/visit/2017-05-05/directory/Python/` | :swh_web_browse:`origin/https://github.com/python/cpython/visit/2017-05-05/directory/Python/` | ||||
:swh_web_browse:`origin/https://github.com/python/cpython/visit/2015-08/directory/?branch=refs/heads/2.7` | :swh_web_browse:`origin/https://github.com/python/cpython/visit/2015-08/directory/?branch=refs/heads/2.7` | ||||
Origin content | Origin content | ||||
"""""""""""""" | """""""""""""" | ||||
.. http:get:: /browse/origin/content/ | .. http:get:: /browse/origin/content/ | ||||
:deprecated: | |||||
.. warning:: | |||||
That endpoint is deprecated, use :http:get:`/browse/content/` instead. | |||||
HTML view that produces a display of a content | HTML view that produces a display of a content | ||||
associated to the latest full visit of a software origin. | associated to the latest full visit of a software origin. | ||||
If the content to display is textual, it will be highlighted client-side | If the content to display is textual, it will be highlighted client-side | ||||
if possible using highlightjs_. The procedure to perform that task is described | if possible using highlightjs_. The procedure to perform that task is described | ||||
in :http:get:`/browse/content/[(algo_hash):](hash)/`. | in :http:get:`/browse/content/[(algo_hash):](hash)/`. | ||||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | .. parsed-literal:: | ||||
:swh_web_browse:`origin/content/?origin_url=https://github.com/mozilla/gecko-dev&path=js/src/json.cpp×tamp=2017-03-21#L904-L931` | :swh_web_browse:`origin/content/?origin_url=https://github.com/mozilla/gecko-dev&path=js/src/json.cpp×tamp=2017-03-21#L904-L931` | ||||
:swh_web_browse:`origin/content/?origin_url=https://github.com/git/git&path=git.c&branch=refs/heads/next×tamp=2017-09-15` | :swh_web_browse:`origin/content/?origin_url=https://github.com/git/git&path=git.c&branch=refs/heads/next×tamp=2017-09-15` | ||||
.. http:get:: /browse/origin/(origin_url)/content/ | .. http:get:: /browse/origin/(origin_url)/content/ | ||||
:deprecated: | :deprecated: | ||||
.. warning:: | .. warning:: | ||||
That endpoint is deprecated, use :http:get:`/browse/origin/content/` instead. | That endpoint is deprecated, use :http:get:`/browse/content/` instead. | ||||
HTML view that produces a display of a content | HTML view that produces a display of a content | ||||
associated to the latest full visit of a software origin. | associated to the latest full visit of a software origin. | ||||
If the content to display is textual, it will be highlighted client-side | If the content to display is textual, it will be highlighted client-side | ||||
if possible using highlightjs_. The procedure to perform that task is described | if possible using highlightjs_. The procedure to perform that task is described | ||||
in :http:get:`/browse/content/[(algo_hash):](hash)/`. | in :http:get:`/browse/content/[(algo_hash):](hash)/`. | ||||
▲ Show 20 Lines • Show All 567 Lines • Show Last 20 Lines |