curl --url http://localhost:8080/api/v2/environments \
--header 'Accept: application/json'
{
"environments": [
{
"key": "<string>",
"name": "<string>",
"default": true,
"configuration": {
"ref": "<string>",
"directory": "<string>",
"remote": "<string>",
"base": "<string>",
"scm": "SCM_UNKNOWN"
}
}
]
}Environments
List Environments
List all environments.
GET
/
api
/
v2
/
environments
curl --url http://localhost:8080/api/v2/environments \
--header 'Accept: application/json'
{
"environments": [
{
"key": "<string>",
"name": "<string>",
"default": true,
"configuration": {
"ref": "<string>",
"directory": "<string>",
"remote": "<string>",
"base": "<string>",
"scm": "SCM_UNKNOWN"
}
}
]
}curl --url http://localhost:8080/api/v2/environments \
--header 'Accept: application/json'
Was this page helpful?