Defining an activities report URL

Create a report URL that outputs activities at the repository level.

Before you begin

To retrieve information about activities in the repository, you must be a repository administrator.

About this task

Report URLs for activities use the activity report path.

Reports that contain role activities information include the following optional parameters:
Table 1. Activity: Optional parameters
Parameter Acceptable parameter values Description
tid
  • License acquired - 80
  • Role that is created - 130
  • Role that is updated - 131
  • Role that is assigned to a user - 140
  • Role that is removed from a user - 141
  • Role that is assigned to a user group - 142
  • Role removed from a user group - 143
  • Expiration date - 150
  • State change -220
  • Review instance -240
  • Review - 280
  • Reviewer rating - 310
  • Rating - 350
  • Anonymous rating - 380
  • New topic - 430
  • Update topic - 431
  • Delete topic - 432
  • New post - 460
  • Update post - 461
  • Delete post - 462
  • New forum - 480
  • Update forum - 481
  • Delete forum - 482
  • Search view - 560
  • Download - 610
  • Activities generated from the Eclipse client - 620
  • Activities generated by the build - 621
  • Create subscription - 630
  • Delete subscription - 633
  • Browse artifact - 650
  • Submit - 675
  • Update - 680
  • Delete - 690
  • Publish - 700
Limits output to a specific activity type. Use only the number, for example tid=80. If not defined, then all valid activities will be used.
uid Identifer for a user Limits output to the user that performed the activity
fromTime A Unix timestamp (the number of seconds since January 1, 1970, 00:00:00 GMT) Defines a the starting time of a time range.
toTime A Unix timestamp (the number of seconds since January 1, 1970, 00:00:00 GMT) Defines the ending time for a time range
modifiedSince You must use the format: yyyy-MM-dd'T'HH:mm:ss.SSSZ to specify the date since modifications have been made (year-month-dayThour:minutes:seconds.SimpleDateFormat where SimpleDateFormat is milliseconds (S) and timezone (Z)). For example: 2010-06-07T00:00:00.000-0500 Defines the starting time since modifications have been made. Use the modifiedSince parameter when creating report URLs for Rational Insight data warehousing, where you have to return changes that have happened since the last time information was added to the data warehouse.

Results

The repository activities report will return all repository activity data.

Example

Use the following example URL to help you construct the report URL to retrieve repository activities. The following will return all activities of type 'Licence acquired'

http://example.com:9080/ram.ws/reporting/activity:tid=80

You can query for multiple activity types by using the notation, tid=(XXX, YYY, ZZZ). For example:

http://example.com:9080/ram.ws/reporting/activity:tid=(80, 90, 100)

Feedback