Navigate through components based on the chosen strategy with specified measures. The baseComponentId or the component parameter must be provided. Requires the following permission: 'Browse' on the specified project. When limiting search with the q parameter, directories are not returned.
Parameters (18)
additionalFields(string, query, optional)
Comma-separated list of additional fields that can be returned in the response.
Filter components. Sort must be on a metric. Possible values are: - all: return all components- withMeasuresOnly: filter out components that do not have a measure on the sorted metric
Page size. Must be greater than 0 and less or equal than 500
pullRequest(string, query, optional)
Pull request id
q(string, query, optional)
Limit search to: - component names that contain the supplied string- component keys that are exactly the same as the supplied string
qualifiers(string, query, optional)
Comma-separated list of component qualifiers. Filter the results with the specified qualifiers. Possible values are: - BRC - Sub-projects- DIR - Directories- FIL - Files- TRK - Projects- UTS - Test Files
Strategy to search for base component descendants: - children: return the children components of the base component. Grandchildren components are not returned- all: return all the descendants components of the base component. Grandchildren are returned.- leaves: return all the descendant components (files, in general) which don't have other children. They are the leaves of the component tree.