Skip to Content
OpenETL
ReferenceAPISpark Cluster Service

List spark clusters

GET
/v1/workspaces/{workspace}/sparkClusters

Path Parameters

workspace*string

The workspace id.

Query Parameters

pageSize?integer
Formatint32
pageToken?string

Response Body

OK

application/json
  1. response
sparkClusters?array<>
nextPageToken?string
Example Request
curl -X GET 'http://localhost:8080/v1/workspaces/string/sparkClusters'
Example Response
{  "sparkClusters": [    {      "name": "string",      "spec": {        "submit": {          "master": "string",          "conf": {},          "ui": "string"        },        "emr": {          "clusterId": "string",          "clusterName": "string",          "region": "string"        }      },      "version": "string",      "etag": "string",      "createTime": "2019-08-24T14:15:22Z",      "updateTime": "2019-08-24T14:15:22Z",      "usedBy": [        "string"      ]    }  ],  "nextPageToken": "string"}