defects Collection
Description
The collection of Defects in the project.
URL
/qcbin/rest/domains/{domain}/projects/{project}/defects
Remarks
To create a new defect, POST an XML compliant with the Entity Schema that contains definitions for all the required fields.
For bulk updates, deletions, and creation, see Bulk operations.
HTTP Methods
GET: Returns the collection of defects.
PUT: Bulk update with type=collection.
DELETE: Bulk deletion with type=collection.
POST: Creates a new defect resource. Bulk creation with type=collection.
Media Type | GET
| PUT
| DELETE
| POST
|
---|---|---|---|---|
application/xml | - | - | ||
application/json | - | - | ||
application/xml;type=collection | - | |||
application/json;type=collection | - |
Returns
One of the HTTP Return Codes.
On a GET operation, an XML string compliant with the Entities Collection Schema or a string containing the data in another supported format.
On a POST operation, the full data of the created defect in an XML string compliant with the Entity Schema or a string containing the data in another supported format.
Examples
See Also