Environments
Get Environments
GET
https://[customer].testresults.io/api/projects/:pId/environments
Gets all active (without archive) Environments.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Get archive Environments
GET
https://[customer].testresults.io/api/projects/:pId/environments/archive
Gets archive Environments.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Get Environment details
GET
https://[customer].testresults.io/api/projects/:pId/environments/:eId
Gets Environment details.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
eId | string | Environment ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Create new Environment
POST
https://[customer].testresults.io/api/projects/:pId/environments
Creates new Environment.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Username | string | User name |
Password | string | Password |
ContainedSubject | string | Contained Subject |
ImageFileId | string | Image file ID |
Name | string | Environment Name |
TargetGroup | string | Target Group |
Update Environment
PUT
https://[customer].testresults.io/api/projects/:pId/environments/:eId
Updates an existing Environment
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
eId | string | Environment ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Archived | boolean | Archive flag |
ContainedSubject | string | Contained subject ID |
DataVersion | string | Data Version of Environment |
FileProjectId | string | File project ID |
Id | string | Environment ID |
ImageFileId | string | Image file ID |
ImageFileSize | number | Image file size |
ModificationAllowed | boolean | Modification allowed |
Name | string | Environment Name |
Password | string | Password |
ProjectId | string | Project ID |
TargetGroup | string | Target group |
Username | string | User name |
Delete Environment
DELETE
https://[customer].testresults.io/api/projects/:pId/environments/:eId
Removes an Environment.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
eId | string | Environment ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Last updated