Skip to main content

Coalesce API (1.0.0)

Download OpenAPI specification:Download

REST API for performing operations with the Coalesce backend.

Environments

List Environments

Get a collection of environment information.

Authorizations:
BearerAuth
query Parameters
detail
boolean
Default: false

Include the full detail of the environments.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get Environment

Get information about an environment.

Authorizations:
BearerAuth
path Parameters
environmentID
required
string

The environment ID.

Responses

Response samples

Content type
application/json
{
  • "createdAt": "2019-08-24T14:15:22Z",
  • "createdBy": {
    },
  • "currentGitBranch": "string",
  • "currentGitCommit": "string",
  • "currentGitURL": "string",
  • "currentMappings": {
    },
  • "currentlyRunningJobs": [
    ],
  • "id": "string",
  • "deployedCommit": "string",
  • "status": "Deleting",
  • "connectionAccount": "string",
  • "defaultStorageMapping": "string",
  • "description": "string",
  • "name": "string",
  • "oauthEnabled": true,
  • "runTimeParameters": { },
  • "tagColors": {
    },
  • "project": "string"
}

Nodes

List Nodes

Get a collection of nodes for an environment

Authorizations:
BearerAuth
path Parameters
environmentID
required
string

The environment ID.

query Parameters
detail
boolean
Default: false

Include the full detail of the nodes.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get Node

Get information about a node in an environment.

Authorizations:
BearerAuth
path Parameters
environmentID
required
string

The environment ID.

nodeID
required
string

The node ID.

Responses

Response samples

Content type
application/json
Example
{
  • "metadata": {
    },
  • "table": "string",
  • "database": "string",
  • "description": "string",
  • "id": "string",
  • "locationName": "string",
  • "name": "string",
  • "nodeType": "Dimension",
  • "schema": "string"
}

Runs

List Runs

Get a collection of information about runs.

Authorizations:
BearerAuth
query Parameters
limit
integer [ 0 .. 1000 ]
Default: 25

The maximum number of runs to return.

integer or string

The starting run ID, runStartTime, or runEndTime (exclusive) for paging the query results.

orderBy
string (RunsOrderBy)
Default: "id"
Enum: "id" "runStartTime" "runEndTime"

The field used to order results.

orderByDirection
string
Default: "desc"
Enum: "asc" "desc"

The sort order for query results.

runType
string (RunType)
Enum: "deploy" "refresh"

A run type to filter the query results.

runStatus
string (RunStatus)
Enum: "canceled" "completed" "failed" "running" "waitingToRun"

A status value to filter the query results.

environmentID
string

An environment ID to filter the query results.

detail
boolean
Default: false

Include the full detail of the run.

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "orderByDirection": "asc",
  • "orderBy": "id",
  • "data": [
    ]
}

Get Run

Gets a single run.

Authorizations:
BearerAuth
path Parameters
runID
required
integer

The run ID.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "reRunID": "string",
  • "runDetails": {
    },
  • "runEndTime": "2019-08-24T14:15:22Z",
  • "runHistory": [
    ],
  • "runStartTime": "2019-08-24T14:15:22Z",
  • "runStatus": "canceled",
  • "runTimeParameters": { },
  • "runType": "deploy",
  • "userCredentials": {
    },
  • "userID": "string",
  • "version": 0
}

List Run Results

Get a collection of the results of a deploy or refresh run

Authorizations:
BearerAuth
path Parameters
runID
required
integer

The run ID.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get database connectivity information.

Gets the information required to connect to the Coalesce database.

Responses

Response samples

Content type
application/json
{
  • "apiKey": "string",
  • "authDomain": "string",
  • "projectId": "string",
  • "storageBucket": "string",
  • "messagingSenderId": "string",
  • "appId": "string",
  • "measurementId": "string"
}