Defining related assets report URLs

Create a report URL that outputs related asset information such as related assets and their relationships.

Before you begin

You can only see the asset information for the assets that you have Browse permission for in the repository.

About this task

Report URLs for related asset information use the relationship report path.

Reports that contain related asset information include the following required parameters:
Table 1. relationship: Required Parameters
Parameter Acceptable parameter values Description
guid The Unique ID for an asset, for example {EE4545D5–118E-33G4–1D3F-395FDB4EE123} Limits output to a specific asset. Requires the version parameter
version The version number of an asset, for example 1.0 Limits output to a specific version of an asset. Requires the guid parameter
The optional parameters include:
Table 2. relationship: Optional Parameters
Parameter Acceptable parameter values Description
depth Integer > 0 Defines how many levels of related assets to retrieve asset information for. If the number is not defined, then the report defaults to one.
shortcut Faceted node string, for example fGroup%2Cservice_development Filters out specific relationships
relationships List of relationships to use when creating a tree If this parameter is not used, it returns all of the relationships

Results

The related assets report returns the following data:

Example

Use the following example URL to help you construct the report URL to retrieve asset information and related assets for an asset with a specific GUID and version:

http://example.com:9080/ram.ws/reporting/relationship:guid={EE4545D5–118E-33G4–1D3F-395FDB4EE123},version=1.0,depth=4,filters=fType%2Cservice_impl

Feedback