Get Environment
GEThttps://app.coalescesoftware.io/api/v1/environments/:environmentID
Get information about an environment.
Request
Path Parameters
The environment ID.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- 502
- 503
- 504
Information about an environment.
- application/json
- Schema
- Example (auto)
- Environment Response
Schema
The Snowflake account name.
The Workspace description.
The Workspace name.
If Snowflake OAuth is enabled.
tagColors object
The Project ID.
createdBy object
The branch most recently run on this environment.
An array of any running Jobs. If there are not Jobs running, this will return empty.
The most recently deployed commit ID.
Possible values: [Deleting
, Deploying
, Failed Deploy
, Failed Refresh
, Initializing
, Refreshing
, Waiting
]
Parameters changed during deploy will not show here.
currentMappings object
{
"connectionAccount": "string",
"defaultStorageMapping": "string",
"description": "string",
"name": "string",
"oauthEnabled": true,
"tagColors": {
"backgroundColor": "string",
"textColor": "string"
},
"project": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"createdBy": {
"id": "string",
"firstName": "string",
"lastName": "string"
},
"updatedAt": "2024-07-29T15:51:28.071Z",
"currentGitBranch": "string",
"currentGitCommit": "string",
"currentGitURL": "string",
"currentlyRunningJobs": [
0
],
"id": "string",
"deployedCommit": "string",
"status": "Deleting",
"runTimeParameters": {},
"currentMappings": {}
}
{
"connectionAccount": "string",
"defaultStorageMapping": "string",
"description": "string",
"name": "string",
"oauthEnabled": true,
"tagColors": {
"backgroundColor": "string",
"textColor": "string"
},
"project": "string",
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"id": "string",
"firstName": "string",
"lastName": "string"
},
"updatedAt": "2019-08-24T14:15:22Z",
"currentGitBranch": "string",
"currentGitCommit": "string",
"currentGitURL": "string",
"currentlyRunningJobs": [
0
],
"id": "string",
"deployedCommit": "string",
"status": "Deleting",
"runTimeParameters": {},
"currentMappings": {
"property1": {
"database": "string",
"schema": "string"
},
"property2": {
"database": "string",
"schema": "string"
}
}
}
The request was invalid.
- application/json
- Schema
- Example (auto)
- Invalid Request Error
Schema
error objectrequired
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
User lacks authorization to perform this action.
- application/json
- Schema
- Example (auto)
- Unauthorized
Schema
error objectrequired
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The client is not permitted to perform the requested operation.
- application/json
- Schema
- Example (auto)
- Forbidden Error
Schema
error objectrequired
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The requested resource could not be found.
- application/json
- Schema
- Example (auto)
- Not Found Error
Schema
error objectrequired
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server encountered an unexpected condition that prevented it from fulfilling the request.
- application/json
- Schema
- Example (auto)
- Internal Server Error
Schema
error objectrequired
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server received an error from an upstream system.
- application/json
- Schema
- Example (auto)
- Bad Gateway Error
Schema
error objectrequired
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The service is currently unavailable.
- application/json
- Schema
- Example (auto)
- Service Unavailable Error
Schema
error objectrequired
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server did not receive a response in time from an upstream system.
- application/json
- Schema
- Example (auto)
- Gateway Timeout Error
Schema
error objectrequired
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
Authorization: http
name: BearerAuthtype: httpscheme: bearer
- curl
- python
- powershell
- php
- nodejs
- r
- javascript
- CURL
curl -L 'https://app.coalescesoftware.io/api/v1/environments/:environmentID' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'