Environments
Get Environments
GET
https://[customer].testresults.io/api/projects/:pId/environments
Gets all active (without archive) Environments.
Path Parameters
pId
string
Project ID
Headers
Authentication
string
Authentication token
Get archive Environments
GET
https://[customer].testresults.io/api/projects/:pId/environments/archive
Gets archive Environments.
Path Parameters
pId
string
Project ID
Headers
Authentication
string
Authentication token
Get Environment details
GET
https://[customer].testresults.io/api/projects/:pId/environments/:eId
Gets Environment details.
Path Parameters
pId
string
Project ID
eId
string
Environment ID
Headers
Authentication
string
Authentication token
Create new Environment
POST
https://[customer].testresults.io/api/projects/:pId/environments
Creates new Environment.
Path Parameters
pId
string
Project ID
Headers
Authentication
string
Authentication token
Request Body
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
pId
string
Project ID
eId
string
Environment ID
Headers
Authentication
string
Authentication token
Request Body
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
pId
string
Project ID
eId
string
Environment ID
Headers
Authentication
string
Authentication token
Last updated