URLs for AccuRev Element Views

These URLs will display AccuRev elements in the File Browser, History Browser, Version Browser, Annotate Tool, or Diff Tool. The URL format is:

http://<server:port>/accurev/webgui/browse/<depot>/<stream>/<path>?<parameters>

Examples

Open the stream in the File Browser, showing the contents of the top-level directory:

http://localhost:8080/accurev/webgui/browse/1/34?eid=0&streamName=myStream&view=fb

Open the stream in the File Browser showing the contents of the directory specified:

http://localhost:8080/accurev/webgui/browse/1/34/doc/build?eid=474&streamName=myStream&view=fb

Show the transaction history for the named element, limiting the view to 20 items:

http://localhost:8080/accurev/webgui/browse/1/34/doc/build/index.html?eid=483&v=173\9&filter=20&view=hist

Show the transaction history for the named element in the Version Browser, limiting the view to 20 items:

http://localhost:8080/accurev/webgui/browse/1/34/doc/build/index.html?eid=483&v=173\9&filter=20&view=vb

URL Format Definition

The parts of the URL are described below:

root
The URL used to access AccuRev objects from the AccuRev Web UI:
http://<server:port>/accurev/webgui/browse
depot
The name or numerical ID of a depot.
stream
The name or numerical ID of a stream.
Path
The path to an AccuRev element within a stream. This parameter is not used when showing the top level of a stream in the File Browser.
separator
Required if there are parameters. The question mark character ? is used to separate the parameters from the rest of the URL.
parameters
Parameters identify what element versions will be acted on and how. They are shown as name=value pairs. Multiple parameters are separated by the ampersand character &.
eid
The element ID.
stream Name
The name of the stream being displayed.
v
The element’s virtual version, which must be specified in the proper AccuRev format (<stream#>\<version#>, for example, 148\2). If it is not present, the URL retrieves most recent version of the element in the given stream.
v1
First (virtual) version to be compared.
v2
Second (virtual) version to be compared.
filter
The name of the filter or search being applied. If this parameter is omitted, the view is not filtered. The filter parameter and the from and to parameters cannot be used together.
from, to
The time range to filter the data by. The filter parameter and the from and to parameters cannot be used together.
view
The name of the view being accessed.
File Browser
eid=<element-ID>&streamName=<stream name>&filter=<filtername>&view=fb
History Browser
eid=<element-ID>&v=<virtual version>&fromfilter=<filtername>&view=hist
Version Browser
eid=<element-ID>&v=<virtual version>&filter=<filtername>&view=vb
Version Browser
(using a Custom filter): eid=<element-ID>&v=<virtual version>&from=YYYYMMDD&to=YYYYMMDD&view=vb
Annotate Tool
v=<version using stream name>&view=annotate
Diff Tool
eid=<element-ID>&v1=<virtual version>&v2=<virtual version>&view=diff