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.

Collections are represented by data in XML format that conforms to the Entities Collection Schema. To retrieve the information in another supported format, add an ACCEPT header. 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 XML data.

For example, the defect collection resource is at:

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
fields Clause
Data Paging
order-by Clause: Sort Results
groups: Grouping headers