Environments
Responses
200
OK
application/json
get/api/v1/environments
GET /api/v1/environments HTTP/1.1
Host: example.v64.frendsapp.com/
Accept: */*
200
OK
{
"data": [
{
"agentGroups": [
{
"internalName": null,
"agents": [
"text"
],
"environment": {
"id": 1,
"displayName": null
},
"agentDetails": [
{
"url": null,
"httpPorts": [
"text"
],
"httpsPorts": [
"text"
],
"id": 1,
"name": null,
"isGateway": true,
"isCloudAgent": true
}
],
"agentRegistrationMode": "SelfHosted",
"id": 1,
"displayName": null
}
],
"internalName": null,
"id": 1,
"displayName": null
}
]
}Path parameters
environmentIdinteger · int64RequiredPattern:
Environment Identifier
^-?(?:0|[1-9]\d*)$Responses
200
OK
application/json
404
Not Found
application/problem+json
get/api/v1/environments/{environmentId}
GET /api/v1/environments/{environmentId} HTTP/1.1
Host: example.v64.frendsapp.com/
Accept: */*
{
"data": null
}Path parameters
environmentIdinteger · int64RequiredPattern:
Environment Identifier
^-?(?:0|[1-9]\d*)$Responses
200
OK
application/json
404
Not Found
application/problem+json
get/api/v1/environments/{environmentId}/agent-groups
GET /api/v1/environments/{environmentId}/agent-groups HTTP/1.1
Host: example.v64.frendsapp.com/
Accept: */*
{
"data": [
{
"internalName": null,
"agents": [
"text"
],
"environment": {
"id": 1,
"displayName": null
},
"agentDetails": [
{
"url": null,
"httpPorts": [
"text"
],
"httpsPorts": [
"text"
],
"id": 1,
"name": null,
"isGateway": true,
"isCloudAgent": true
}
],
"agentRegistrationMode": "SelfHosted",
"id": 1,
"displayName": null
}
]
}Last updated
Was this helpful?

