Query parameters accepted by GET /rest/api/latest/projects/{key}/repos/{slug}/pull-requests/{id}/activities.

interface ActivitiesParams {
    fromId?: number;
    fromType?: "COMMENT" | "ACTIVITY";
    limit?: number;
    start?: number;
}

Hierarchy (View Summary)

Properties

fromId?: number

Filter the results to contain only activities with the supplied id as the anchor, starting from the supplied activity.

fromType?: "COMMENT" | "ACTIVITY"

When fromId is set, filter by activity type:

  • 'COMMENT' — start from a comment
  • 'ACTIVITY' — start from a generic activity
limit?: number

Maximum number of results to return per page. Bitbucket default is 25, maximum is 1000.

start?: number

0-based index of the first result to return. Use nextPageStart from the previous response to paginate forward.