swh.web.browse.views.snapshot module#
- swh.web.browse.views.snapshot.snapshot_browse(request: HttpRequest, snapshot_id: str) HttpResponse [source]#
Django view for browsing the content of a snapshot.
The url that points to it is
GET /browse/snapshot/(snapshot_id)/
- swh.web.browse.views.snapshot.snapshot_directory_browse(request: HttpRequest, snapshot_id: str) HttpResponse [source]#
Django view for browsing the content of a directory collected in a snapshot.
The URL that points to it is
GET /browse/snapshot/(snapshot_id)/directory/
- swh.web.browse.views.snapshot.snapshot_directory_browse_legacy(request: HttpRequest, snapshot_id: str, path: str | None = None) HttpResponse [source]#
Django view for browsing the content of a directory collected in a snapshot.
The URL that points to it is
GET /browse/snapshot/(snapshot_id)/directory/(path)/
- swh.web.browse.views.snapshot.snapshot_content_browse(request: HttpRequest, snapshot_id: str) HttpResponse [source]#
This route is deprecated; use http:get:/browse/content instead
Django view that produces an HTML display of a content collected in a snapshot.
The url that points to it is
GET /browse/snapshot/(snapshot_id)/content/
- swh.web.browse.views.snapshot.snapshot_content_browse_legacy(request: HttpRequest, snapshot_id: str, path: str) HttpResponse [source]#
This route is deprecated; use http:get:/browse/content instead
Django view that produces an HTML display of a content collected in a snapshot.
The url that points to it is
GET /browse/snapshot/(snapshot_id)/content/(path)/
- swh.web.browse.views.snapshot.snapshot_log_browse(request: HttpRequest, snapshot_id: str | None = None) HttpResponse [source]#
Django view that produces an HTML display of revisions history (aka the commit log) collected in a snapshot.
The URLs that point to it are
GET /browse/snapshot/(snapshot_id)/log/
andGET /browse/snapshot/log/
- swh.web.browse.views.snapshot.snapshot_branches_browse(request: HttpRequest, snapshot_id: str | None = None) HttpResponse [source]#
Django view that produces an HTML display of the list of branches collected in a snapshot.
The URLs that point to it are
GET /browse/snapshot/(snapshot_id)/branches/
andGET /browse/snapshot/branches/
- swh.web.browse.views.snapshot.snapshot_releases_browse(request: HttpRequest, snapshot_id: str | None = None) HttpResponse [source]#
Django view that produces an HTML display of the list of releases collected in a snapshot.
The URLs that point to it are
GET /browse/snapshot/(snapshot_id)/releases/
GET /browse/snapshot/releases/