Gets information on a configuration from QAComplete.
Use the operation to get information on a configuration specified by its ID.
To get information on all the configurations registered in a QAComplete project, use the
…/configurations (GET) operation.
Basic authentication using a user’s login and password. See Authentication for details.
The authenticating user must belong to a security group that has the Read privilege for Test Library.
To get information on a configuration, send a GET request to the following URL:
ProjectId : integer, required
The ID of the project, to which the configuration belongs.
Id : integer, required
The ID of the configuration you want to get.
A sample request:
GET http://yourserver.com/rest-api/service/api/v2/projects/11873/configurations/1 HTTP/1.1
Authorization: Basic am9obkBleGFtcGxlLmNvbTpwQHNzd29yZA==
A sample request made by using cURL:
curl -u firstname.lastname@example.org:p@ssword -H "Accept: application/json" http://yourserver.com/service/api/v2/projects/11873/configurations/1
On success, the operation responds with HTTP status code 200 and returns a JSON object with the configuration information.
A sample response:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
"title": "Sample Configuration",
"owner_name": "Smith, John ",
"user_name": "Smith, John ",
The authenticating user’s rights to access the Test Library.
- 0 - None
- 1 - Read
- 2 - Update
- 3 - Read and update
- 4 - Delete
- 5 - Read and delete
- 7 - Full access
The unique identifier of the configuration.
The ID of the folder containing the configuration, or 0 if the configuration is not in any folder.
The user-friendly name (title) of the configuration.
True if the configuration is active and False if the configuration is hidden.
The ID of the user who created the configuration.
The ID of the user who updated the configuration last time.
The date and time when the configuration was created.
The date and time when the configuration was last updated.
The ID of the user who owns the configuration.
The name of the user who owns the configuration, in the Lastname, Firstname format.
The name of the user who last updated the configuration, in the LastName, FirstName format.
The number of files attached to the configuration.
The number of notes attached to the configuration.
For importing: the original key that was imported.
The ID of the import session during which the configuration was imported. If the configuration was created in QAComplete, the ImportId property is set to 0.
The ID of the QAComplete project that contains the configuration.
Shows whether the configuration was created by using CrossBrowserTesting capabilities.
An array of objects that describe custom fields and their values.
If the operation fails, it returns the appropriate status code and (optionally) the error description in the response body.
If the project with the specified ProjectId does not exist or the authenticating user does not have rights to access the project, the operation returns the
Access is denied error.
If the configuration with the specified Id does not exist, the operation returns the
File or directory not found error.