Query a Collection of Entities
Entities are members of collections. An entity collection is read by performing a GET operation on /{project}/{entities}. The returned data is paged.
Add an ACCEPT header to the request. For example, an application/json
header. Alternatively, you can use an alt clause to specify the format. Returned data in alternate formats contains the same information as the JSON data.
For example, the defect collection resource is at:/qcbin/rest/domains/{domain}/projects/{project}/defects
See the example of returned collections where Accept:application/xml
The JSON format consists of an "entities" object that contains a Total Results value and an array of objects that each represent an entity . Each entity object contains a Fields object containing an array of field values, and a Type value containing the entity type.
See Also
Filtering a Collection of Entities
Relations
fields Clause
Data Paging
order-by Clause: Sort Results
groups: Grouping headers