summaryrefslogtreecommitdiff
path: root/data/ververica
diff options
context:
space:
mode:
Diffstat (limited to 'data/ververica')
-rw-r--r--data/ververica/2020-05-01/api-docs.php1585
-rw-r--r--data/ververica/2022-07-18/api-docs.php6417
2 files changed, 2142 insertions, 5860 deletions
diff --git a/data/ververica/2020-05-01/api-docs.php b/data/ververica/2020-05-01/api-docs.php
index ea56b9f..f54c6d3 100644
--- a/data/ververica/2020-05-01/api-docs.php
+++ b/data/ververica/2020-05-01/api-docs.php
@@ -1,23 +1,14 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'ververica',
- 'version' => '2020-05-01',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'ververica', 'version' => '2020-05-01'],
'components' => [
'schemas' => [],
],
'apis' => [
'CreateDeployment' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28,38 +19,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'CreateSavepoint' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/savepoints',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -70,46 +47,29 @@
[
'name' => 'RegionId',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteDeployment' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments/{deploymentId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -120,38 +80,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteArtifact' => [
'path' => '/pop/workspaces/{workspace}/artifacts/v1/namespaces/{namespace}/artifacts:delete',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -162,38 +108,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'filename',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ExecuteSqlScript' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/sqlscripts:execute',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -204,38 +136,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetArtifactMetadata' => [
'path' => '/pop/workspaces/{workspace}/artifacts/v1/namespaces/{namespace}/artifacts:getMetadata',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -246,38 +164,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'filename',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetDeployment' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments/{deploymentId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -288,38 +192,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetDeploymentDefaults' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployment-defaults',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -330,30 +220,19 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetGlobalDeploymentDefaults' => [
'path' => '/pop/workspaces/{workspace}/api/v1/global-deployment-defaults',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -364,30 +243,19 @@
[
'name' => 'namespace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListArtifacts' => [
'path' => '/pop/workspaces/{workspace}/artifacts/v1/namespaces/{namespace}/artifacts:list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -398,30 +266,19 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListDeploymentTargets' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployment-targets',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -432,30 +289,19 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListDeployments' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -466,106 +312,67 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'pageIndex',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'sortName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'sortOrder',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'creator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'modifier',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'priority',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'deploymentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'state',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'batchMode',
@@ -573,23 +380,15 @@
'schema' => [
'type' => 'boolean',
'required' => false,
- 'enum' => [
- 'true',
- 'false',
- ],
+ 'enum' => ['true', 'false'],
],
],
],
],
'ListNamespaces' => [
'path' => '/pop/namespaces/v1/namespaces',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -600,13 +399,8 @@
],
'ListJobs' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/jobs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -617,38 +411,24 @@
[
'name' => 'deploymentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListSavepoints' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/savepoints',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -659,46 +439,29 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'jobId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'UpdateDeployment' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments/{deploymentId}/patch',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -709,46 +472,29 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'UpdateDeploymentDesiredState' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments/{deploymentId}/state',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -759,46 +505,29 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ValidateSqlScript' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/sqlscripts:validate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -809,38 +538,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DatabaseExists' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:databaseExists',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -851,46 +566,29 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'FunctionExists' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:functionExists',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -901,54 +599,34 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'function',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetCatalog' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:getCatalog',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -959,38 +637,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetDatabase' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:getDatabase',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1001,46 +665,29 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetDefaultDatabase' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:getDefaultDatabase',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1051,38 +698,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetFunction' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:getFunction',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1093,54 +726,34 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'function',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetTable' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:getTable',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1151,54 +764,34 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'table',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListCatalogs' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1209,30 +802,19 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListDatabases' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:listDatabases',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1243,38 +825,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListFunctions' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:listFunctions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1285,46 +853,29 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'TableExists' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:tableExists',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1335,54 +886,34 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'table',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListTables' => [
'path' => '/pop/workspaces/{workspace}/catalog/v1beta2/namespaces/{namespace}/catalogs/{cat}:listTables',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1393,46 +924,29 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'cat',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'CreateUdfArtifact' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/udfartifacts',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1443,38 +957,24 @@
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteUdfArtifact' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/udfartifacts/{udfArtifactName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1485,38 +985,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'udfArtifactName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ExecuteSqlscriptsStatements' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/sqlscripts:execute-multi',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1527,38 +1013,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetUdfArtifact' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/udfartifacts/{udfArtifactName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1569,46 +1041,29 @@
[
'name' => 'requireFunctionNames',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'udfArtifactName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListFlinkVersions' => [
'path' => '/pop/workspaces/{workspace}/api/v1/flink-version-meta.json',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1618,22 +1073,14 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListSessionClusters' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/sessionclusters',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1644,30 +1091,19 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'UpdateUdfArtifact' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/udfartifacts/{udfArtifactName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1678,46 +1114,29 @@
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'udfArtifactName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'UpdateConnector' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/connectors/{name}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1728,46 +1147,29 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteConnector' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/connectors/{name}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1778,38 +1180,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteFormat' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/formats/{name}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1820,38 +1208,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GenerateResourcePlan' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments/{deploymentId}/resource_plan:generate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1862,38 +1236,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'UpdateMember' => [
'path' => '/pop/workspaces/{workspace}/members/v1/namespaces/{namespace}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1904,38 +1264,24 @@
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'CreateConnector' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/connectors',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1946,38 +1292,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateFormat' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/formats/{name}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1988,46 +1320,29 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ParseConnector' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/connectors:analyze-jars',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2038,38 +1353,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetResourcePlan' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments/{deploymentId}/resource_plan',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2080,38 +1381,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListFormats' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/formats',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2122,30 +1409,19 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListConnectors' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/connectors',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2156,30 +1432,19 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteMember' => [
'path' => '/pop/workspaces/{workspace}/members/v1/namespaces/{namespace}/members/{member}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2190,38 +1455,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'member',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ParseFormat' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/formats:analyze-jars',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2232,38 +1483,24 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'CreateFormat' => [
'path' => '/pop/workspaces/{workspace}/sql/v1beta1/namespaces/{namespace}/formats',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2274,83 +1511,53 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateMember' => [
'path' => '/pop/workspaces/{workspace}/members/v1/namespaces/{namespace}',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'SetDeploymentResourceMode' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments/{deploymentId}/set-resource',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2361,46 +1568,29 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ForcefullyCreateLock' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/locks',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2411,44 +1601,29 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'resourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'resourceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'ReplaceDeployment' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/deployments/{deploymentId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2459,46 +1634,29 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteSecretValue' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/secret-values/{name}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2509,37 +1667,24 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'ListSecretValues' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/secret-values',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2550,30 +1695,19 @@
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'CreateSecretValue' => [
'path' => '/pop/workspaces/{workspace}/api/v1/namespaces/{namespace}/secret-values',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2584,98 +1718,39 @@
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'paramsJson',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'ververica.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'ververica.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'ververica.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'ververica.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'ververica.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'ververica.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'ververica.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'ververica.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'ververica.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'ververica.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'ververica.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'ververica.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'ververica.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'ververica.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'ververica.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'ververica.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'ververica.ap-northeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'ververica.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'ververica.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'ververica.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'ververica.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'ververica.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'ververica.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'ververica.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'endpoint' => 'ververica.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'ververica.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'ververica.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'ververica.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'ververica.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'ververica.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'ververica.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'ververica.us-west-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'ververica.us-east-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'ververica.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'ververica.cn-qingdao.aliyuncs.com'],
],
];
diff --git a/data/ververica/2022-07-18/api-docs.php b/data/ververica/2022-07-18/api-docs.php
index b81811b..9b2b086 100644
--- a/data/ververica/2022-07-18/api-docs.php
+++ b/data/ververica/2022-07-18/api-docs.php
@@ -1,96 +1,53 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'ververica',
- 'version' => '2022-07-18',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'ververica', 'version' => '2022-07-18'],
'components' => [
'schemas' => [
'AiModel' => [
'type' => 'object',
'properties' => [
- 'outputSchema' => [
- '$ref' => '#/components/schemas/Schema',
- ],
- 'inputSchema' => [
- '$ref' => '#/components/schemas/Schema',
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'comment' => [
- 'type' => 'string',
- ],
+ 'outputSchema' => ['$ref' => '#/components/schemas/Schema'],
+ 'inputSchema' => ['$ref' => '#/components/schemas/Schema'],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'comment' => ['type' => 'string'],
'options' => [
'type' => 'object',
'required' => true,
- 'additionalProperties' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'additionalProperties' => ['type' => 'string', 'required' => true],
],
],
],
'Artifact' => [
'type' => 'object',
'properties' => [
- 'sqlArtifact' => [
- '$ref' => '#/components/schemas/SqlArtifact',
- ],
- 'jarArtifact' => [
- '$ref' => '#/components/schemas/JarArtifact',
- ],
- 'pythonArtifact' => [
- '$ref' => '#/components/schemas/PythonArtifact',
- ],
+ 'sqlArtifact' => ['$ref' => '#/components/schemas/SqlArtifact'],
+ 'jarArtifact' => ['$ref' => '#/components/schemas/JarArtifact'],
+ 'pythonArtifact' => ['$ref' => '#/components/schemas/PythonArtifact'],
+ 'cdcYamlArtifact' => ['$ref' => '#/components/schemas/CdcYamlArtifact'],
'kind' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'SQLSCRIPT',
- 'JAR',
- 'PYTHON',
- ],
+ 'enum' => ['SQLSCRIPT', 'JAR', 'PYTHON', 'CDCYAML'],
],
],
],
'AsyncDraftDeployResult' => [
'type' => 'object',
'properties' => [
- 'ticketStatus' => [
- 'type' => 'string',
- ],
- 'artifactValidationDetail' => [
- '$ref' => '#/components/schemas/ValidateStatementResult',
- ],
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'success' => [
- 'type' => 'boolean',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'ticketStatus' => ['type' => 'string'],
+ 'artifactValidationDetail' => ['$ref' => '#/components/schemas/ValidateStatementResult'],
+ 'deploymentId' => ['type' => 'string'],
+ 'success' => ['type' => 'boolean'],
+ 'message' => ['type' => 'string'],
],
],
'AsyncDraftValidateResult' => [
'type' => 'object',
'properties' => [
- 'ticketStatus' => [
- 'type' => 'string',
- ],
- 'success' => [
- 'type' => 'boolean',
- ],
- 'message' => [
- 'type' => 'string',
- ],
- 'draftValidationDetail' => [
- '$ref' => '#/components/schemas/DraftValidationDetail',
- ],
+ 'ticketStatus' => ['type' => 'string'],
+ 'success' => ['type' => 'boolean'],
+ 'message' => ['type' => 'string'],
+ 'draftValidationDetail' => ['$ref' => '#/components/schemas/DraftValidationDetail'],
],
],
'AsyncResourcePlanOperationResult' => [
@@ -98,58 +55,32 @@
'properties' => [
'ticketStatus' => [
'type' => 'string',
- 'enum' => [
- 'INIT',
- 'EXECUTING',
- 'FINISHED',
- 'FAILED',
- ],
- ],
- 'plan' => [
- 'type' => 'string',
- ],
- 'message' => [
- 'type' => 'string',
+ 'enum' => ['INIT', 'EXECUTING', 'FINISHED', 'FAILED'],
],
+ 'plan' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
],
],
'BasicResourceSetting' => [
'type' => 'object',
'properties' => [
- 'parallelism' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'jobmanagerResourceSettingSpec' => [
- '$ref' => '#/components/schemas/BasicResourceSettingSpec',
- ],
- 'taskmanagerResourceSettingSpec' => [
- '$ref' => '#/components/schemas/BasicResourceSettingSpec',
- ],
+ 'parallelism' => ['type' => 'integer', 'format' => 'int64'],
+ 'jobmanagerResourceSettingSpec' => ['$ref' => '#/components/schemas/BasicResourceSettingSpec'],
+ 'taskmanagerResourceSettingSpec' => ['$ref' => '#/components/schemas/BasicResourceSettingSpec'],
],
],
'BasicResourceSettingSpec' => [
'type' => 'object',
'properties' => [
- 'cpu' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'memory' => [
- 'type' => 'string',
- ],
+ 'cpu' => ['type' => 'number', 'format' => 'double'],
+ 'memory' => ['type' => 'string'],
],
],
'BatchResourceSetting' => [
'type' => 'object',
'properties' => [
- 'maxSlot' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'basicResourceSetting' => [
- '$ref' => '#/components/schemas/BasicResourceSetting',
- ],
+ 'maxSlot' => ['type' => 'integer', 'format' => 'int64'],
+ 'basicResourceSetting' => ['$ref' => '#/components/schemas/BasicResourceSetting'],
],
],
'BriefDeploymentTarget' => [
@@ -157,307 +88,165 @@
'properties' => [
'mode' => [
'type' => 'string',
- 'enum' => [
- 'PER_JOB',
- ],
- ],
- 'name' => [
- 'type' => 'string',
+ 'enum' => ['PER_JOB'],
],
+ 'name' => ['type' => 'string'],
],
],
'BriefResourceSetting' => [
'type' => 'object',
'properties' => [
- 'flinkConf' => [
- 'type' => 'object',
- ],
- 'batchResourceSetting' => [
- '$ref' => '#/components/schemas/BatchResourceSetting',
- ],
- 'streamingResourceSetting' => [
- '$ref' => '#/components/schemas/StreamingResourceSetting',
- ],
+ 'flinkConf' => ['type' => 'object'],
+ 'batchResourceSetting' => ['$ref' => '#/components/schemas/BatchResourceSetting'],
+ 'streamingResourceSetting' => ['$ref' => '#/components/schemas/StreamingResourceSetting'],
],
],
'Catalog' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'properties' => [
- 'type' => 'object',
- 'required' => true,
- ],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'properties' => ['type' => 'object', 'required' => true],
'extensionConf' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
- 'Cell' => [
+ 'CdcYamlArtifact' => [
'type' => 'object',
'properties' => [
- 'value' => [
- 'type' => 'string',
+ 'cdcYaml' => ['type' => 'string'],
+ 'additionalDependencies' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
+ 'Cell' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['type' => 'string'],
+ ],
+ ],
'Connector' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'source' => [
- 'type' => 'boolean',
- ],
- 'sink' => [
- 'type' => 'boolean',
- ],
- 'lookup' => [
- 'type' => 'boolean',
- ],
+ 'name' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'source' => ['type' => 'boolean'],
+ 'sink' => ['type' => 'boolean'],
+ 'lookup' => ['type' => 'boolean'],
'properties' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Property',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Property'],
],
'supportedFormats' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'dependencies' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'creatorName' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
- 'modifierName' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'creator' => ['type' => 'string'],
+ 'creatorName' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
+ 'modifierName' => ['type' => 'string'],
],
],
'CreateUdfArtifactResult' => [
'type' => 'object',
'properties' => [
- 'createSuccess' => [
- 'type' => 'boolean',
- ],
- 'message' => [
- 'type' => 'string',
- ],
- 'udfArtifact' => [
- '$ref' => '#/components/schemas/UdfArtifact',
- ],
+ 'createSuccess' => ['type' => 'boolean'],
+ 'message' => ['type' => 'string'],
+ 'udfArtifact' => ['$ref' => '#/components/schemas/UdfArtifact'],
'collidingClasses' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UdfClass',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UdfClass'],
],
],
],
'Database' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'properties' => [
- 'type' => 'object',
- ],
- 'comment' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'properties' => ['type' => 'object'],
+ 'comment' => ['type' => 'string'],
],
],
'DeleteUdfArtifactResult' => [
'type' => 'object',
'properties' => [
- 'deleteSuccess' => [
- 'type' => 'boolean',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'deleteSuccess' => ['type' => 'boolean'],
+ 'message' => ['type' => 'string'],
'referencedClasses' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UdfClass',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UdfClass'],
],
],
],
'Deployment' => [
'type' => 'object',
'properties' => [
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'engineVersion' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'creatorName' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
- 'modifierName' => [
- 'type' => 'string',
- ],
- 'deploymentHasChanged' => [
- 'type' => 'boolean',
- ],
- 'artifact' => [
- '$ref' => '#/components/schemas/Artifact',
- ],
- 'flinkConf' => [
- 'type' => 'object',
- ],
- 'logging' => [
- '$ref' => '#/components/schemas/Logging',
- ],
- 'jobSummary' => [
- '$ref' => '#/components/schemas/JobSummary',
- ],
- 'deploymentTarget' => [
- '$ref' => '#/components/schemas/BriefDeploymentTarget',
- ],
+ 'deploymentId' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'engineVersion' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'creatorName' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
+ 'modifierName' => ['type' => 'string'],
+ 'deploymentHasChanged' => ['type' => 'boolean'],
+ 'artifact' => ['$ref' => '#/components/schemas/Artifact'],
+ 'flinkConf' => ['type' => 'object'],
+ 'logging' => ['$ref' => '#/components/schemas/Logging'],
+ 'jobSummary' => ['$ref' => '#/components/schemas/JobSummary'],
+ 'deploymentTarget' => ['$ref' => '#/components/schemas/BriefDeploymentTarget'],
'executionMode' => [
'type' => 'string',
- 'enum' => [
- 'STREAMING',
- 'BATCH',
- ],
- ],
- 'streamingResourceSetting' => [
- '$ref' => '#/components/schemas/StreamingResourceSetting',
- ],
- 'batchResourceSetting' => [
- '$ref' => '#/components/schemas/BatchResourceSetting',
- ],
- 'labels' => [
- 'type' => 'object',
+ 'enum' => ['STREAMING', 'BATCH'],
],
+ 'streamingResourceSetting' => ['$ref' => '#/components/schemas/StreamingResourceSetting'],
+ 'batchResourceSetting' => ['$ref' => '#/components/schemas/BatchResourceSetting'],
+ 'labels' => ['type' => 'object'],
'localVariables' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LocalVariable',
- ],
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'string',
- ],
- 'modifiedAt' => [
- 'type' => 'string',
- ],
- 'referencedDeploymentDraftId' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/LocalVariable'],
],
+ 'workspace' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'string'],
+ 'modifiedAt' => ['type' => 'string'],
+ 'referencedDeploymentDraftId' => ['type' => 'string'],
],
],
'DeploymentDraft' => [
'type' => 'object',
'properties' => [
- 'deploymentDraftId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'parentId' => [
- 'type' => 'string',
- ],
- 'referencedDeploymentId' => [
- 'type' => 'string',
- ],
+ 'deploymentDraftId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'parentId' => ['type' => 'string'],
+ 'referencedDeploymentId' => ['type' => 'string'],
'executionMode' => [
'type' => 'string',
- 'enum' => [
- 'STREAMING',
- 'BATCH',
- ],
- ],
- 'artifact' => [
- '$ref' => '#/components/schemas/Artifact',
- ],
- 'engineVersion' => [
- 'type' => 'string',
+ 'enum' => ['STREAMING', 'BATCH'],
],
+ 'artifact' => ['$ref' => '#/components/schemas/Artifact'],
+ 'engineVersion' => ['type' => 'string'],
'localVariables' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LocalVariable',
- ],
- ],
- 'labels' => [
- 'type' => 'object',
- ],
- 'lock' => [
- '$ref' => '#/components/schemas/Lock',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'creatorName' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
- 'modifierName' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'modifiedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'items' => ['$ref' => '#/components/schemas/LocalVariable'],
],
+ 'labels' => ['type' => 'object'],
+ 'lock' => ['$ref' => '#/components/schemas/Lock'],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'creatorName' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
+ 'modifierName' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'modifiedAt' => ['type' => 'integer', 'format' => 'int64'],
],
],
'DeploymentRestoreStrategy' => [
@@ -465,90 +254,61 @@
'properties' => [
'kind' => [
'type' => 'string',
- 'enum' => [
- 'NONE',
- 'LATEST_SAVEPOINT',
- 'FROM_SAVEPOINT',
- 'LATEST_STATE',
- ],
- ],
- 'allowNonRestoredState' => [
- 'type' => 'boolean',
- ],
- 'jobStartTimeInMs' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'savepointId' => [
- 'type' => 'string',
+ 'enum' => ['NONE', 'LATEST_SAVEPOINT', 'FROM_SAVEPOINT', 'LATEST_STATE'],
],
+ 'allowNonRestoredState' => ['type' => 'boolean'],
+ 'jobStartTimeInMs' => ['type' => 'integer', 'format' => 'int64'],
+ 'savepointId' => ['type' => 'string'],
],
],
'DeploymentTarget' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'quota' => [
- '$ref' => '#/components/schemas/ResourceQuota',
+ 'name' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'quota' => ['$ref' => '#/components/schemas/ResourceQuota'],
+ ],
+ ],
+ 'DqlResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'statementIndex' => ['type' => 'integer', 'format' => 'int32'],
+ 'submitPreviewResult' => ['$ref' => '#/components/schemas/SubmitPreviewResult'],
+ 'tableResults' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/TableResult'],
],
],
],
'DraftDeployParams' => [
'type' => 'object',
'properties' => [
- 'skipValidate' => [
- 'type' => 'boolean',
- ],
- 'deploymentTarget' => [
- '$ref' => '#/components/schemas/BriefDeploymentTarget',
- ],
- 'deploymentDraftId' => [
- 'type' => 'string',
- ],
+ 'skipValidate' => ['type' => 'boolean'],
+ 'deploymentTarget' => ['$ref' => '#/components/schemas/BriefDeploymentTarget'],
+ 'deploymentDraftId' => ['type' => 'string'],
],
],
'DraftDeployResult' => [
'type' => 'object',
'properties' => [
- 'success' => [
- 'type' => 'boolean',
- ],
- 'message' => [
- 'type' => 'string',
- ],
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'artifactValidationDetail' => [
- '$ref' => '#/components/schemas/ValidateStatementResult',
- ],
+ 'success' => ['type' => 'boolean'],
+ 'message' => ['type' => 'string'],
+ 'deploymentId' => ['type' => 'string'],
+ 'artifactValidationDetail' => ['$ref' => '#/components/schemas/ValidateStatementResult'],
],
],
'DraftMetaInfoErrorDetail' => [
'type' => 'object',
'properties' => [
- 'message' => [
- 'type' => 'string',
- ],
- 'reason' => [
- 'type' => 'string',
- ],
+ 'message' => ['type' => 'string'],
+ 'reason' => ['type' => 'string'],
],
],
'DraftValidateParams' => [
'type' => 'object',
'properties' => [
- 'deploymentDraftId' => [
- 'type' => 'string',
- ],
- 'deploymentTargetName' => [
- 'type' => 'string',
- ],
+ 'deploymentDraftId' => ['type' => 'string'],
+ 'deploymentTargetName' => ['type' => 'string'],
],
],
'DraftValidationDetail' => [
@@ -556,16 +316,10 @@
'properties' => [
'draftMetaInfoErrorDetails' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/DraftMetaInfoErrorDetail',
- ],
- ],
- 'sqlValidationResult' => [
- 'type' => 'string',
- ],
- 'sqlErrorDetail' => [
- '$ref' => '#/components/schemas/ValidationErrorDetails',
+ 'items' => ['$ref' => '#/components/schemas/DraftMetaInfoErrorDetail'],
],
+ 'sqlValidationResult' => ['type' => 'string'],
+ 'sqlErrorDetail' => ['$ref' => '#/components/schemas/ValidationErrorDetails'],
],
],
'Edge' => [
@@ -573,325 +327,176 @@
'properties' => [
'tableLineage' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Relation',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Relation'],
],
'columnLineage' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Relation',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Relation'],
],
],
],
'EditableNamespace' => [
'type' => 'object',
'properties' => [
- 'Role' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'Namespace' => [
- 'type' => 'string',
- ],
+ 'Role' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'Namespace' => ['type' => 'string'],
],
],
'EngineVersionMetadata' => [
'type' => 'object',
'properties' => [
- 'engineVersion' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'engineVersion' => ['type' => 'string', 'required' => true],
'status' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'STABLE',
- 'BETA',
- 'DEPRECATED',
- 'EXPIRED',
- ],
- ],
- 'features' => [
- '$ref' => '#/components/schemas/EngineVersionSupportedFeatures',
+ 'enum' => ['STABLE', 'BETA', 'DEPRECATED', 'EXPIRED'],
],
+ 'features' => ['$ref' => '#/components/schemas/EngineVersionSupportedFeatures'],
],
],
'EngineVersionMetadataIndex' => [
'type' => 'object',
'properties' => [
- 'defaultEngineVersion' => [
- 'type' => 'string',
- ],
+ 'defaultEngineVersion' => ['type' => 'string'],
'engineVersionMetadata' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/EngineVersionMetadata',
- ],
+ 'items' => ['$ref' => '#/components/schemas/EngineVersionMetadata'],
],
],
],
'EngineVersionSupportedFeatures' => [
'type' => 'object',
'properties' => [
- 'useForSqlDeployments' => [
- 'type' => 'boolean',
- ],
- 'supportNativeSavepoint' => [
- 'type' => 'boolean',
- ],
+ 'useForSqlDeployments' => ['type' => 'boolean'],
+ 'supportNativeSavepoint' => ['type' => 'boolean'],
],
],
'ErrorDetails' => [
'type' => 'object',
'properties' => [
- 'lineNumber' => [
- 'type' => 'string',
- ],
- 'columnNumber' => [
- 'type' => 'string',
- ],
- 'endLineNumber' => [
- 'type' => 'string',
- ],
- 'endColumnNumber' => [
- 'type' => 'string',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'lineNumber' => ['type' => 'string'],
+ 'columnNumber' => ['type' => 'string'],
+ 'endLineNumber' => ['type' => 'string'],
+ 'endColumnNumber' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
'invalidflinkConf' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'Event' => [
'type' => 'object',
'properties' => [
- 'eventId' => [
- 'type' => 'string',
- ],
- 'jobId' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'eventName' => [
- 'type' => 'string',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'eventId' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'eventName' => ['type' => 'string'],
+ 'deploymentId' => ['type' => 'string'],
+ 'jobId' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'string'],
],
],
'ExpertResourceSetting' => [
'type' => 'object',
'properties' => [
- 'jobmanagerResourceSettingSpec' => [
- '$ref' => '#/components/schemas/BasicResourceSettingSpec',
- ],
- 'resourcePlan' => [
- 'type' => 'string',
- ],
+ 'jobmanagerResourceSettingSpec' => ['$ref' => '#/components/schemas/BasicResourceSettingSpec'],
+ 'resourcePlan' => ['type' => 'string'],
],
],
'FetchResult' => [
'type' => 'object',
'properties' => [
- 'resultType' => [
- 'type' => 'string',
- ],
- 'resultMessage' => [
- 'type' => 'string',
- ],
+ 'resultType' => ['type' => 'string'],
+ 'resultMessage' => ['type' => 'string'],
'tableResults' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TableResult',
- ],
+ 'items' => ['$ref' => '#/components/schemas/TableResult'],
],
],
],
- 'FlinkConf' => [
- 'type' => 'object',
- ],
+ 'FlinkConf' => ['type' => 'object'],
'Folder' => [
'type' => 'object',
'properties' => [
- 'folderId' => [
- 'type' => 'string',
- ],
- 'parentId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'folderId' => ['type' => 'string'],
+ 'parentId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
'subFolder' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/SubFolder',
- ],
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'modifiedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'items' => ['$ref' => '#/components/schemas/SubFolder'],
],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'modifiedAt' => ['type' => 'integer', 'format' => 'int64'],
],
],
'Function' => [
'type' => 'object',
'properties' => [
- 'gmtModified' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'functionLanguage' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'className' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'functionType' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'gmtModified' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'functionLanguage' => ['type' => 'string', 'required' => true],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string'],
+ 'className' => ['type' => 'string', 'required' => true],
+ 'functionType' => ['type' => 'string', 'required' => true],
],
],
'GetLineageInfoParams' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'depth' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'id' => ['type' => 'string'],
+ 'depth' => ['type' => 'integer', 'format' => 'int64'],
'idType' => [
'type' => 'string',
- 'enum' => [
- 'TABLE',
- 'JOB',
- ],
- ],
- 'isColumnLevel' => [
- 'type' => 'boolean',
+ 'enum' => ['TABLE', 'JOB'],
],
+ 'isColumnLevel' => ['type' => 'boolean'],
'direction' => [
'type' => 'string',
- 'enum' => [
- 'UPSTREAM',
- 'DOWNSTREAM',
- 'BOTH',
- ],
- ],
- 'isTemporary' => [
- 'type' => 'boolean',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
+ 'enum' => ['UPSTREAM', 'DOWNSTREAM', 'BOTH'],
],
+ 'isTemporary' => ['type' => 'boolean'],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
],
],
'GetPreSignedUrlForObjectResult' => [
'type' => 'object',
'properties' => [
- 'preSignedUrl' => [
- 'type' => 'string',
- ],
- 'jarUrl' => [
- 'type' => 'string',
- ],
+ 'preSignedUrl' => ['type' => 'string'],
+ 'jarUrl' => ['type' => 'string'],
],
],
'HotUpdateJobFailureInfo' => [
'type' => 'object',
'properties' => [
- 'reason' => [
- 'type' => 'string',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'reason' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
'failureSeverity' => [
'type' => 'string',
- 'enum' => [
- 'CRITICAL',
- 'LOW',
- ],
+ 'enum' => ['CRITICAL', 'LOW'],
],
],
],
'HotUpdateJobParams' => [
'type' => 'object',
'properties' => [
- 'rescaleJobParam' => [
- '$ref' => '#/components/schemas/RescaleJobParam',
- ],
- 'updateJobConfigParam' => [
- '$ref' => '#/components/schemas/UpdateJobConfigParam',
- ],
+ 'rescaleJobParam' => ['$ref' => '#/components/schemas/RescaleJobParam'],
+ 'updateJobConfigParam' => ['$ref' => '#/components/schemas/UpdateJobConfigParam'],
],
],
'HotUpdateJobResult' => [
'type' => 'object',
'properties' => [
- 'jobHotUpdateId' => [
- 'type' => 'string',
- ],
- 'jobId' => [
- 'type' => 'string',
- ],
- 'targetResourceSetting' => [
- '$ref' => '#/components/schemas/BriefResourceSetting',
- ],
- 'hotUpdateParams' => [
- '$ref' => '#/components/schemas/HotUpdateJobParams',
- ],
- 'status' => [
- '$ref' => '#/components/schemas/HotUpdateJobStatus',
- ],
+ 'jobHotUpdateId' => ['type' => 'string'],
+ 'jobId' => ['type' => 'string'],
+ 'targetResourceSetting' => ['$ref' => '#/components/schemas/BriefResourceSetting'],
+ 'hotUpdateParams' => ['$ref' => '#/components/schemas/HotUpdateJobParams'],
+ 'status' => ['$ref' => '#/components/schemas/HotUpdateJobStatus'],
],
],
'HotUpdateJobStatus' => [
@@ -899,376 +504,186 @@
'properties' => [
'status' => [
'type' => 'string',
- 'enum' => [
- 'INIT',
- 'HOT_UPDATING',
- 'FAILED',
- 'HOT_UPDATED',
- ],
- ],
- 'requestId' => [
- 'type' => 'string',
- ],
- 'failure' => [
- '$ref' => '#/components/schemas/HotUpdateJobFailureInfo',
+ 'enum' => ['INIT', 'HOT_UPDATING', 'FAILED', 'HOT_UPDATED'],
],
+ 'requestId' => ['type' => 'string'],
+ 'failure' => ['$ref' => '#/components/schemas/HotUpdateJobFailureInfo'],
],
],
'JarArtifact' => [
'type' => 'object',
'properties' => [
- 'jarUri' => [
- 'type' => 'string',
- ],
- 'entryClass' => [
- 'type' => 'string',
- ],
- 'mainArgs' => [
- 'type' => 'string',
- ],
+ 'jarUri' => ['type' => 'string'],
+ 'entryClass' => ['type' => 'string'],
+ 'mainArgs' => ['type' => 'string'],
'additionalDependencies' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'Job' => [
'type' => 'object',
'properties' => [
- 'jobId' => [
- 'type' => 'string',
- ],
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'deploymentName' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
+ 'jobId' => ['type' => 'string'],
+ 'deploymentId' => ['type' => 'string'],
+ 'deploymentName' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
'executionMode' => [
'type' => 'string',
- 'enum' => [
- 'STREAMING',
- 'BATCH',
- ],
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'creatorName' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
- 'modifierName' => [
- 'type' => 'string',
- ],
- 'startTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'endTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'engineVersion' => [
- 'type' => 'string',
- ],
- 'flinkConf' => [
- 'type' => 'object',
- ],
- 'status' => [
- '$ref' => '#/components/schemas/JobStatus',
- ],
- 'metric' => [
- '$ref' => '#/components/schemas/JobMetric',
- ],
- 'sessionClusterName' => [
- 'type' => 'string',
- ],
- 'artifact' => [
- '$ref' => '#/components/schemas/Artifact',
- ],
- 'logging' => [
- '$ref' => '#/components/schemas/Logging',
- ],
- 'batchResourceSetting' => [
- '$ref' => '#/components/schemas/BatchResourceSetting',
- ],
- 'streamingResourceSetting' => [
- '$ref' => '#/components/schemas/StreamingResourceSetting',
- ],
- 'restoreStrategy' => [
- '$ref' => '#/components/schemas/DeploymentRestoreStrategy',
- ],
- 'userFlinkConf' => [
- '$ref' => '#/components/schemas/FlinkConf',
- ],
+ 'enum' => ['STREAMING', 'BATCH'],
+ ],
+ 'creator' => ['type' => 'string'],
+ 'creatorName' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
+ 'modifierName' => ['type' => 'string'],
+ 'startTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'endTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'engineVersion' => ['type' => 'string'],
+ 'flinkConf' => ['type' => 'object'],
+ 'status' => ['$ref' => '#/components/schemas/JobStatus'],
+ 'metric' => ['$ref' => '#/components/schemas/JobMetric'],
+ 'sessionClusterName' => ['type' => 'string'],
+ 'artifact' => ['$ref' => '#/components/schemas/Artifact'],
+ 'logging' => ['$ref' => '#/components/schemas/Logging'],
+ 'batchResourceSetting' => ['$ref' => '#/components/schemas/BatchResourceSetting'],
+ 'streamingResourceSetting' => ['$ref' => '#/components/schemas/StreamingResourceSetting'],
+ 'restoreStrategy' => ['$ref' => '#/components/schemas/DeploymentRestoreStrategy'],
+ 'userFlinkConf' => ['$ref' => '#/components/schemas/FlinkConf'],
'localVariables' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LocalVariable',
- ],
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'string',
- ],
- 'modifiedAt' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/LocalVariable'],
],
+ 'workspace' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'string'],
+ 'modifiedAt' => ['type' => 'string'],
],
],
'JobDiagnosis' => [
'type' => 'object',
'properties' => [
- 'symptoms' => [
- '$ref' => '#/components/schemas/JobDiagnosisSymptoms',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'riskLevel' => [
- 'type' => 'string',
- ],
- 'diagnoseId' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'diagnoseTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'diagnoseId' => ['type' => 'string'],
+ 'diagnoseTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'riskLevel' => ['type' => 'string'],
+ 'symptoms' => ['$ref' => '#/components/schemas/JobDiagnosisSymptoms'],
+ 'healthScore' => ['type' => 'integer', 'format' => 'int32'],
],
],
'JobDiagnosisSymptom' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'recommendation' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'recommendation' => ['type' => 'string'],
],
],
'JobDiagnosisSymptoms' => [
'type' => 'object',
'properties' => [
- 'autopilot' => [
- '$ref' => '#/components/schemas/JobDiagnosisSymptom',
- ],
+ 'autopilot' => ['$ref' => '#/components/schemas/JobDiagnosisSymptom'],
'startup' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/JobDiagnosisSymptom',
- ],
+ 'items' => ['$ref' => '#/components/schemas/JobDiagnosisSymptom'],
],
'runtime' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/JobDiagnosisSymptom',
- ],
+ 'items' => ['$ref' => '#/components/schemas/JobDiagnosisSymptom'],
],
- 'troubleshooting' => [
+ 'state' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/JobDiagnosisSymptom',
- ],
+ 'items' => ['$ref' => '#/components/schemas/JobDiagnosisSymptom'],
],
- 'state' => [
+ 'troubleshooting' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/JobDiagnosisSymptom',
- ],
+ 'items' => ['$ref' => '#/components/schemas/JobDiagnosisSymptom'],
],
'others' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/JobDiagnosisSymptom',
- ],
+ 'items' => ['$ref' => '#/components/schemas/JobDiagnosisSymptom'],
],
],
],
'JobFailure' => [
'type' => 'object',
'properties' => [
- 'message' => [
- 'type' => 'string',
- ],
- 'reason' => [
- 'type' => 'string',
- ],
- 'failedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'message' => ['type' => 'string'],
+ 'reason' => ['type' => 'string'],
+ 'failedAt' => ['type' => 'integer', 'format' => 'int64'],
],
],
'JobInfo' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'properties' => [
- 'type' => 'object',
- ],
+ 'id' => ['type' => 'string'],
+ 'properties' => ['type' => 'object'],
],
],
'JobMetric' => [
'type' => 'object',
'properties' => [
- 'totalMemoryByte' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'totalCpu' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
+ 'totalMemoryByte' => ['type' => 'integer', 'format' => 'int64'],
+ 'totalCpu' => ['type' => 'number', 'format' => 'double'],
],
],
'JobStartParameters' => [
'type' => 'object',
'properties' => [
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'restoreStrategy' => [
- '$ref' => '#/components/schemas/DeploymentRestoreStrategy',
- ],
- 'resourceQueueName' => [
- 'type' => 'string',
- ],
+ 'deploymentId' => ['type' => 'string'],
+ 'restoreStrategy' => ['$ref' => '#/components/schemas/DeploymentRestoreStrategy'],
+ 'resourceQueueName' => ['type' => 'string'],
'localVariables' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LocalVariable',
- ],
- ],
- 'jobId' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/LocalVariable'],
],
+ 'jobId' => ['type' => 'string'],
],
],
'JobStatus' => [
'type' => 'object',
'properties' => [
- 'running' => [
- '$ref' => '#/components/schemas/JobStatusRunning',
- ],
- 'riskLevel' => [
- 'type' => 'string',
- ],
- 'failure' => [
- '$ref' => '#/components/schemas/JobFailure',
- ],
'currentJobStatus' => [
'type' => 'string',
- 'enum' => [
- 'STARTING',
- 'RUNNING',
- 'CANCELLING',
- 'FAILED',
- 'CANCELLED',
- 'FINISHED',
- ],
- ],
- 'healthScore' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'enum' => ['STARTING', 'RUNNING', 'CANCELLING', 'FAILED', 'CANCELLED', 'FINISHED'],
],
+ 'failure' => ['$ref' => '#/components/schemas/JobFailure'],
+ 'running' => ['$ref' => '#/components/schemas/JobStatusRunning'],
+ 'healthScore' => ['type' => 'integer', 'format' => 'int32'],
+ 'riskLevel' => ['type' => 'string'],
],
],
'JobStatusRunning' => [
'type' => 'object',
'properties' => [
- 'observedFlinkJobRestarts' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'observedFlinkJobStatus' => [
- 'type' => 'string',
- ],
+ 'observedFlinkJobRestarts' => ['type' => 'integer', 'format' => 'int64'],
+ 'observedFlinkJobStatus' => ['type' => 'string'],
],
],
'JobSummary' => [
'type' => 'object',
'properties' => [
- 'starting' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'running' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'cancelling' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'cancelled' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'finished' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'failed' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'starting' => ['type' => 'integer', 'format' => 'int32'],
+ 'running' => ['type' => 'integer', 'format' => 'int32'],
+ 'cancelling' => ['type' => 'integer', 'format' => 'int32'],
+ 'cancelled' => ['type' => 'integer', 'format' => 'int32'],
+ 'finished' => ['type' => 'integer', 'format' => 'int32'],
+ 'failed' => ['type' => 'integer', 'format' => 'int32'],
],
],
'LineageColumn' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'columnName' => [
- 'type' => 'string',
- ],
- 'nullable' => [
- 'type' => 'boolean',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'columnType' => [
- 'type' => 'string',
- ],
- 'columnNativeType' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'modifiedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
+ 'id' => ['type' => 'string'],
+ 'columnName' => ['type' => 'string'],
+ 'nullable' => ['type' => 'boolean'],
+ 'description' => ['type' => 'string'],
+ 'columnType' => ['type' => 'string'],
+ 'columnNativeType' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'modifiedAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'creator' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
],
],
'LineageInfo' => [
@@ -1276,102 +691,52 @@
'properties' => [
'nodes' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Node',
- ],
- ],
- 'edges' => [
- '$ref' => '#/components/schemas/Edge',
+ 'items' => ['$ref' => '#/components/schemas/Node'],
],
+ 'edges' => ['$ref' => '#/components/schemas/Edge'],
'jobInfos' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/JobInfo',
- ],
+ 'items' => ['$ref' => '#/components/schemas/JobInfo'],
],
],
],
'LineageTable' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'tableName' => [
- 'type' => 'string',
- ],
- 'with' => [
- 'type' => 'object',
- ],
- 'properties' => [
- 'type' => 'object',
- ],
+ 'id' => ['type' => 'string'],
+ 'tableName' => ['type' => 'string'],
+ 'with' => ['type' => 'object'],
+ 'properties' => ['type' => 'object'],
'columns' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LineageColumn',
- ],
+ 'items' => ['$ref' => '#/components/schemas/LineageColumn'],
],
],
],
'LocalVariable' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
'Lock' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'holderId' => [
- 'type' => 'string',
- ],
- 'holderName' => [
- 'type' => 'string',
- ],
+ 'id' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'holderId' => ['type' => 'string'],
+ 'holderName' => ['type' => 'string'],
],
],
'Log4jLogger' => [
'type' => 'object',
'properties' => [
- 'loggerName' => [
- 'type' => 'string',
- ],
+ 'loggerName' => ['type' => 'string'],
'loggerLevel' => [
'type' => 'string',
- 'enum' => [
- 'TRACE',
- 'DEBUG',
- 'INFO',
- 'WARN',
- 'ERROR',
- ],
- ],
- ],
- ],
- 'LogReservePolicy' => [
- 'type' => 'object',
- 'properties' => [
- 'openHistory' => [
- 'type' => 'boolean',
- ],
- 'expirationDays' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'enum' => ['TRACE', 'DEBUG', 'INFO', 'WARN', 'ERROR'],
],
],
],
@@ -1380,71 +745,48 @@
'properties' => [
'loggingProfile' => [
'type' => 'string',
- 'enum' => [
- 'default',
- 'oss',
- ],
- ],
- 'log4j2ConfigurationTemplate' => [
- 'type' => 'string',
+ 'enum' => ['default', 'oss'],
],
+ 'log4j2ConfigurationTemplate' => ['type' => 'string'],
'log4jLoggers' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Log4jLogger',
- ],
- ],
- 'logReservePolicy' => [
- '$ref' => '#/components/schemas/LogReservePolicy',
+ 'items' => ['$ref' => '#/components/schemas/Log4jLogger'],
],
+ 'logReservePolicy' => ['$ref' => '#/components/schemas/LogReservePolicy'],
+ ],
+ ],
+ 'LogReservePolicy' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'openHistory' => ['type' => 'boolean'],
+ 'expirationDays' => ['type' => 'integer', 'format' => 'int64'],
],
],
'Member' => [
'type' => 'object',
'properties' => [
- 'member' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'role' => [
- 'type' => 'string',
- ],
+ 'member' => ['type' => 'string', 'required' => true],
+ 'role' => ['type' => 'string'],
],
],
'MetadataInfo' => [
'type' => 'object',
'properties' => [
- 'key' => [
- 'type' => 'string',
- ],
- 'virtual' => [
- 'type' => 'boolean',
- ],
+ 'key' => ['type' => 'string'],
+ 'virtual' => ['type' => 'boolean'],
],
],
'Node' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'catalogName' => [
- 'type' => 'string',
- ],
- 'databaseName' => [
- 'type' => 'string',
- ],
- 'isTemporary' => [
- 'type' => 'boolean',
- ],
- 'connector' => [
- 'type' => 'string',
- ],
+ 'id' => ['type' => 'string'],
+ 'catalogName' => ['type' => 'string'],
+ 'databaseName' => ['type' => 'string'],
+ 'isTemporary' => ['type' => 'boolean'],
+ 'connector' => ['type' => 'string'],
'tables' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LineageTable',
- ],
+ 'items' => ['$ref' => '#/components/schemas/LineageTable'],
],
],
],
@@ -1453,207 +795,116 @@
'properties' => [
'context' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
'NodeExecutionStatusDTO' => [
'type' => 'object',
'properties' => [
- 'executionId' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'resourceId' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
+ 'executionId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'resourceId' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
],
],
'PeriodicSchedulingPolicy' => [
'type' => 'object',
'properties' => [
- 'onlyOnceTriggerTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'onlyOnceTriggerTimeIsExpired' => [
- 'type' => 'boolean',
- ],
- 'periodicTriggerTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'periodicSchedulingLevel' => [
- 'type' => 'string',
- ],
+ 'onlyOnceTriggerTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'onlyOnceTriggerTimeIsExpired' => ['type' => 'boolean'],
+ 'periodicTriggerTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'periodicSchedulingLevel' => ['type' => 'string'],
'periodicSchedulingValues' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- 'isFinished' => [
- 'type' => 'boolean',
- ],
- 'resourceSetting' => [
- '$ref' => '#/components/schemas/BriefResourceSetting',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
],
+ 'isFinished' => ['type' => 'boolean'],
+ 'resourceSetting' => ['$ref' => '#/components/schemas/BriefResourceSetting'],
],
],
'PrimaryKey' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'constraintName' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'constraintName' => ['type' => 'string', 'required' => true],
'columns' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'constraintType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'enforced' => [
- 'type' => 'boolean',
- 'required' => true,
+ 'items' => ['type' => 'string'],
],
+ 'constraintType' => ['type' => 'string', 'required' => true],
+ 'enforced' => ['type' => 'boolean', 'required' => true],
],
],
'Property' => [
'type' => 'object',
'properties' => [
- 'key' => [
- 'type' => 'string',
- ],
- 'defaultValue' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'required' => [
- 'type' => 'boolean',
- ],
- 'definesFormat' => [
- 'type' => 'boolean',
- ],
- 'sensitive' => [
- 'type' => 'boolean',
- ],
+ 'key' => ['type' => 'string'],
+ 'defaultValue' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'required' => ['type' => 'boolean'],
+ 'definesFormat' => ['type' => 'boolean'],
+ 'sensitive' => ['type' => 'boolean'],
],
],
'PythonArtifact' => [
'type' => 'object',
'properties' => [
- 'pythonArtifactUri' => [
- 'type' => 'string',
- ],
- 'mainArgs' => [
- 'type' => 'string',
- ],
- 'entryModule' => [
- 'type' => 'string',
- ],
+ 'pythonArtifactUri' => ['type' => 'string'],
+ 'mainArgs' => ['type' => 'string'],
+ 'entryModule' => ['type' => 'string'],
'additionalDependencies' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'additionalPythonLibraries' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'additionalPythonArchives' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'Relation' => [
'type' => 'object',
'properties' => [
- 'source' => [
- 'type' => 'string',
- ],
- 'destination' => [
- 'type' => 'string',
- ],
- 'jobId' => [
- 'type' => 'string',
- ],
+ 'source' => ['type' => 'string'],
+ 'destination' => ['type' => 'string'],
+ 'jobId' => ['type' => 'string'],
],
],
'RescaleJobParam' => [
'type' => 'object',
'properties' => [
- 'jobParallelism' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'jobParallelism' => ['type' => 'integer', 'format' => 'int64'],
],
],
'Resource' => [
'type' => 'object',
'required' => true,
'properties' => [
- 'fixedResource' => [
- '$ref' => '#/components/schemas/ResourceSpec',
- 'required' => true,
- ],
- 'elasticResource' => [
- '$ref' => '#/components/schemas/ResourceSpec',
- ],
+ 'fixedResource' => ['$ref' => '#/components/schemas/ResourceSpec', 'required' => true],
+ 'elasticResource' => ['$ref' => '#/components/schemas/ResourceSpec'],
],
],
'ResourceQuota' => [
'type' => 'object',
'properties' => [
- 'limit' => [
- '$ref' => '#/components/schemas/ResourceSpec',
- ],
- 'used' => [
- '$ref' => '#/components/schemas/ResourceSpec',
- ],
- 'request' => [
- '$ref' => '#/components/schemas/ResourceSpec',
- ],
+ 'limit' => ['$ref' => '#/components/schemas/ResourceSpec'],
+ 'used' => ['$ref' => '#/components/schemas/ResourceSpec'],
+ 'request' => ['$ref' => '#/components/schemas/ResourceSpec'],
],
],
'ResourceSpec' => [
'type' => 'object',
'properties' => [
- 'cpu' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'memory' => [
- 'type' => 'string',
- ],
+ 'cpu' => ['type' => 'number', 'format' => 'double'],
+ 'memory' => ['type' => 'string'],
],
],
'Row' => [
@@ -1661,85 +912,43 @@
'properties' => [
'cells' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Cell',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Cell'],
],
],
],
'RowUpdate' => [
'type' => 'object',
'properties' => [
- 'rowKind' => [
- 'type' => 'string',
- ],
- 'row' => [
- '$ref' => '#/components/schemas/Row',
- ],
+ 'rowKind' => ['type' => 'string'],
+ 'row' => ['$ref' => '#/components/schemas/Row'],
],
],
'Savepoint' => [
'type' => 'object',
'properties' => [
- 'savepointId' => [
- 'type' => 'string',
- ],
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'jobId' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
+ 'savepointId' => ['type' => 'string'],
+ 'deploymentId' => ['type' => 'string'],
+ 'jobId' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
'savepointOrigin' => [
'type' => 'string',
- 'enum' => [
- 'USER_REQUEST',
- 'STOP_WITH_SAVEPOINT',
- 'RETAINED_CHECKPOINT',
- 'AUTO_TRIGGERED',
- ],
- ],
- 'nativeFormat' => [
- 'type' => 'boolean',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'stopWithDrainEnabled' => [
- 'type' => 'boolean',
- ],
- 'savepointLocation' => [
- 'type' => 'string',
- ],
- 'status' => [
- '$ref' => '#/components/schemas/SavepointStatus',
- ],
- 'createdAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'modifiedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'enum' => ['USER_REQUEST', 'STOP_WITH_SAVEPOINT', 'RETAINED_CHECKPOINT', 'AUTO_TRIGGERED'],
],
+ 'nativeFormat' => ['type' => 'boolean'],
+ 'description' => ['type' => 'string'],
+ 'stopWithDrainEnabled' => ['type' => 'boolean'],
+ 'savepointLocation' => ['type' => 'string'],
+ 'status' => ['$ref' => '#/components/schemas/SavepointStatus'],
+ 'createdAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'modifiedAt' => ['type' => 'integer', 'format' => 'int64'],
],
],
'SavepointFailure' => [
'type' => 'object',
'properties' => [
- 'message' => [
- 'type' => 'string',
- ],
- 'reason' => [
- 'type' => 'string',
- ],
- 'failedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'message' => ['type' => 'string'],
+ 'reason' => ['type' => 'string'],
+ 'failedAt' => ['type' => 'integer', 'format' => 'int64'],
],
],
'SavepointStatus' => [
@@ -1747,161 +956,73 @@
'properties' => [
'state' => [
'type' => 'string',
- 'enum' => [
- 'STARTED',
- 'COMPLETED',
- 'FAILED',
- ],
- ],
- 'failure' => [
- '$ref' => '#/components/schemas/SavepointFailure',
+ 'enum' => ['STARTED', 'COMPLETED', 'FAILED'],
],
+ 'failure' => ['$ref' => '#/components/schemas/SavepointFailure'],
],
],
'ScheduledPlan' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'creatorName' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
- 'modifierName' => [
- 'type' => 'string',
- ],
- 'modifiedAt' => [
- 'type' => 'string',
- ],
- 'scheduledPlanId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'updatedByUser' => [
- 'type' => 'boolean',
- ],
- 'origin' => [
- 'type' => 'string',
- ],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'creatorName' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
+ 'modifierName' => ['type' => 'string'],
+ 'modifiedAt' => ['type' => 'string'],
+ 'scheduledPlanId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'deploymentId' => ['type' => 'string'],
+ 'updatedByUser' => ['type' => 'boolean'],
+ 'origin' => ['type' => 'string'],
'periodicSchedulingPolicies' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/PeriodicSchedulingPolicy',
- ],
- ],
- 'status' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/PeriodicSchedulingPolicy'],
],
+ 'status' => ['type' => 'string'],
],
],
'ScheduledPlanAppliedInfo' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
- 'modifierName' => [
- 'type' => 'string',
- ],
- 'modifiedAt' => [
- 'type' => 'string',
- ],
- 'scheduledPlanId' => [
- 'type' => 'string',
- ],
- 'scheduledPlanName' => [
- 'type' => 'string',
- ],
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'expectedState' => [
- 'type' => 'string',
- ],
- 'statusState' => [
- 'type' => 'string',
- ],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
+ 'modifierName' => ['type' => 'string'],
+ 'modifiedAt' => ['type' => 'string'],
+ 'scheduledPlanId' => ['type' => 'string'],
+ 'scheduledPlanName' => ['type' => 'string'],
+ 'deploymentId' => ['type' => 'string'],
+ 'expectedState' => ['type' => 'string'],
+ 'statusState' => ['type' => 'string'],
],
],
'ScheduledPlanExecutedInfo' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'creatorName' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
- 'modifierName' => [
- 'type' => 'string',
- ],
- 'modifiedAt' => [
- 'type' => 'string',
- ],
- 'jobResourceUpgradingId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'origin' => [
- 'type' => 'string',
- ],
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'originJobId' => [
- 'type' => 'string',
- ],
- 'status' => [
- '$ref' => '#/components/schemas/ScheduledPlanExecutedStatus',
- ],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'creatorName' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
+ 'modifierName' => ['type' => 'string'],
+ 'modifiedAt' => ['type' => 'string'],
+ 'jobResourceUpgradingId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'origin' => ['type' => 'string'],
+ 'deploymentId' => ['type' => 'string'],
+ 'originJobId' => ['type' => 'string'],
+ 'status' => ['$ref' => '#/components/schemas/ScheduledPlanExecutedStatus'],
],
],
'ScheduledPlanExecutedStatus' => [
'type' => 'object',
'properties' => [
- 'statusState' => [
- 'type' => 'string',
- ],
- 'restartType' => [
- 'type' => 'string',
- ],
+ 'statusState' => ['type' => 'string'],
+ 'restartType' => ['type' => 'string'],
],
],
'Schema' => [
@@ -1909,110 +1030,53 @@
'properties' => [
'columns' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TableColumn',
- ],
+ 'items' => ['$ref' => '#/components/schemas/TableColumn'],
],
'watermarkSpecs' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/WatermarkSpec',
- ],
- ],
- 'primaryKey' => [
- '$ref' => '#/components/schemas/PrimaryKey',
+ 'items' => ['$ref' => '#/components/schemas/WatermarkSpec'],
],
+ 'primaryKey' => ['$ref' => '#/components/schemas/PrimaryKey'],
],
],
'SessionCluster' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'creatorName' => [
- 'type' => 'string',
- ],
- 'modifier' => [
- 'type' => 'string',
- ],
- 'modifierName' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'modifiedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'sessionClusterId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'deploymentTargetName' => [
- 'type' => 'string',
- ],
- 'engineVersion' => [
- 'type' => 'string',
- ],
- 'labels' => [
- 'type' => 'object',
- ],
- 'basicResourceSetting' => [
- '$ref' => '#/components/schemas/BasicResourceSetting',
- ],
- 'flinkConf' => [
- 'type' => 'object',
- ],
- 'logging' => [
- '$ref' => '#/components/schemas/Logging',
- ],
- 'status' => [
- '$ref' => '#/components/schemas/SessionClusterStatus',
- ],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'creatorName' => ['type' => 'string'],
+ 'modifier' => ['type' => 'string'],
+ 'modifierName' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'modifiedAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'sessionClusterId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'deploymentTargetName' => ['type' => 'string'],
+ 'engineVersion' => ['type' => 'string'],
+ 'labels' => ['type' => 'object'],
+ 'basicResourceSetting' => ['$ref' => '#/components/schemas/BasicResourceSetting'],
+ 'flinkConf' => ['type' => 'object'],
+ 'logging' => ['$ref' => '#/components/schemas/Logging'],
+ 'status' => ['$ref' => '#/components/schemas/SessionClusterStatus'],
],
],
'SessionClusterFailureInfo' => [
'type' => 'object',
'properties' => [
- 'message' => [
- 'type' => 'string',
- ],
- 'reason' => [
- 'type' => 'string',
- ],
- 'failedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'message' => ['type' => 'string'],
+ 'reason' => ['type' => 'string'],
+ 'failedAt' => ['type' => 'integer', 'format' => 'int64'],
],
],
'SessionClusterRunningInfo' => [
'type' => 'object',
'properties' => [
- 'startedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'lastUpdateTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'startedAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'lastUpdateTime' => ['type' => 'integer', 'format' => 'int64'],
'referenceDeploymentIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2021,116 +1085,128 @@
'properties' => [
'currentSessionClusterStatus' => [
'type' => 'string',
- 'enum' => [
- 'STOPPED',
- 'STARTING',
- 'RUNNING',
- 'UPDATING',
- 'STOPPING',
- 'FAILED',
- ],
- ],
- 'failure' => [
- '$ref' => '#/components/schemas/SessionClusterFailureInfo',
- ],
- 'running' => [
- '$ref' => '#/components/schemas/SessionClusterRunningInfo',
+ 'enum' => ['STOPPED', 'STARTING', 'RUNNING', 'UPDATING', 'STOPPING', 'FAILED'],
],
+ 'failure' => ['$ref' => '#/components/schemas/SessionClusterFailureInfo'],
+ 'running' => ['$ref' => '#/components/schemas/SessionClusterRunningInfo'],
],
],
'SqlArtifact' => [
'type' => 'object',
'properties' => [
- 'sqlScript' => [
- 'type' => 'string',
- ],
+ 'sqlScript' => ['type' => 'string'],
'additionalDependencies' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
- 'SqlStatementExecuteResult' => [
+ 'SqlExecution' => [
'type' => 'object',
'properties' => [
- 'executeSuccess' => [
- 'type' => 'boolean',
- ],
- 'errorDetails' => [
- '$ref' => '#/components/schemas/ErrorDetails',
- ],
- 'statement' => [
- 'type' => 'string',
+ 'namespace' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'sqlExecutionId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'sessionClusterName' => ['type' => 'string'],
+ 'sqlFileId' => ['type' => 'string'],
+ 'sqlScript' => ['type' => 'string'],
+ 'batchMode' => ['type' => 'boolean'],
+ 'state' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
+ 'statements' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/SqlStatement'],
],
],
],
+ 'SqlExecutionFetchResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'sqlExecution' => ['$ref' => '#/components/schemas/SqlExecution'],
+ 'dqlResult' => ['$ref' => '#/components/schemas/DqlResult'],
+ ],
+ ],
+ 'SqlFile' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'sqlFileId' => ['type' => 'string'],
+ 'parentId' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'sessionClusterName' => ['type' => 'string'],
+ 'sqlScript' => ['type' => 'string'],
+ 'batchMode' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ ],
+ ],
+ 'SqlStatement' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'index' => ['type' => 'integer', 'format' => 'int32'],
+ 'sqlScript' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'statusState' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
+ ],
+ ],
+ 'SqlStatementExecuteResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'executeSuccess' => ['type' => 'boolean'],
+ 'errorDetails' => ['$ref' => '#/components/schemas/ErrorDetails'],
+ 'statement' => ['type' => 'string'],
+ ],
+ ],
'SqlStatementValidationResult' => [
'type' => 'object',
'properties' => [
- 'success' => [
- 'type' => 'boolean',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'success' => ['type' => 'boolean'],
+ 'message' => ['type' => 'string'],
'validationResult' => [
'type' => 'string',
- 'enum' => [
- 'VALIDATION_RESULT_INVALID',
- 'VALIDATION_RESULT_INVALID_QUERY',
- 'VALIDATION_RESULT_UNSUPPORTED_QUERY',
- 'VALIDATION_RESULT_INVALID_CONNECTOR_CONFIG',
- 'VALIDATION_RESULT_VALID_INSERT_QUERY',
- 'VALIDATION_RESULT_VALID_SELECT_QUERY',
- 'VALIDATION_RESULT_VALID_DDL_STATEMENT',
- 'VALIDATION_RESULT_VALID_COMMAND_STATEMENT',
- 'VALIDATION_RESULT_INVALID_FLINK_CONFIG',
- ],
- ],
- 'errorDetails' => [
- '$ref' => '#/components/schemas/ErrorDetails',
+ 'enum' => ['VALIDATION_RESULT_INVALID', 'VALIDATION_RESULT_INVALID_QUERY', 'VALIDATION_RESULT_UNSUPPORTED_QUERY', 'VALIDATION_RESULT_INVALID_CONNECTOR_CONFIG', 'VALIDATION_RESULT_VALID_INSERT_QUERY', 'VALIDATION_RESULT_VALID_SELECT_QUERY', 'VALIDATION_RESULT_VALID_DDL_STATEMENT', 'VALIDATION_RESULT_VALID_COMMAND_STATEMENT', 'VALIDATION_RESULT_INVALID_FLINK_CONFIG'],
],
+ 'errorDetails' => ['$ref' => '#/components/schemas/ErrorDetails'],
],
],
'SqlStatementWithContext' => [
'type' => 'object',
'properties' => [
- 'statement' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'flinkConfiguration' => [
- 'type' => 'object',
- ],
- 'batchMode' => [
- 'type' => 'boolean',
- 'required' => true,
- ],
- 'versionName' => [
- 'type' => 'string',
- ],
+ 'statement' => ['type' => 'string', 'required' => true],
+ 'flinkConfiguration' => ['type' => 'object'],
+ 'batchMode' => ['type' => 'boolean', 'required' => true],
+ 'versionName' => ['type' => 'string'],
'additionalDependencies' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'StartJobRequestBody' => [
'type' => 'object',
'properties' => [
- 'deploymentId' => [
- 'type' => 'string',
- ],
- 'resourceSettingSpec' => [
- '$ref' => '#/components/schemas/BriefResourceSetting',
- ],
- 'restoreStrategy' => [
- '$ref' => '#/components/schemas/DeploymentRestoreStrategy',
- ],
+ 'deploymentId' => ['type' => 'string'],
+ 'resourceSettingSpec' => ['$ref' => '#/components/schemas/BriefResourceSetting'],
+ 'restoreStrategy' => ['$ref' => '#/components/schemas/DeploymentRestoreStrategy'],
+ ],
+ ],
+ 'StartSqlExecutionBody' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'sqlFileId' => ['type' => 'string'],
+ 'sqlScript' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ ],
+ ],
+ 'StartSqlExecutionResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'newlyCreated' => ['type' => 'boolean'],
+ 'sqlExecutionId' => ['type' => 'string'],
+ 'success' => ['type' => 'boolean'],
],
],
'StopJobRequestBody' => [
@@ -2139,11 +1215,7 @@
'stopStrategy' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'NONE',
- 'STOP_WITH_SAVEPOINT',
- 'STOP_WITH_DRAIN',
- ],
+ 'enum' => ['NONE', 'STOP_WITH_SAVEPOINT', 'STOP_WITH_DRAIN'],
],
],
],
@@ -2152,315 +1224,170 @@
'properties' => [
'resourceSettingMode' => [
'type' => 'string',
- 'enum' => [
- 'BASIC',
- 'EXPERT',
- ],
- ],
- 'expertResourceSetting' => [
- '$ref' => '#/components/schemas/ExpertResourceSetting',
- ],
- 'basicResourceSetting' => [
- '$ref' => '#/components/schemas/BasicResourceSetting',
+ 'enum' => ['BASIC', 'EXPERT'],
],
+ 'expertResourceSetting' => ['$ref' => '#/components/schemas/ExpertResourceSetting'],
+ 'basicResourceSetting' => ['$ref' => '#/components/schemas/BasicResourceSetting'],
],
],
'SubFolder' => [
'type' => 'object',
'properties' => [
- 'folderId' => [
- 'type' => 'string',
- ],
- 'parentId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'SubmitPreview' => [
- 'type' => 'object',
- 'properties' => [
- 'queryName' => [
- 'type' => 'string',
- ],
- 'sessionId' => [
- 'type' => 'string',
- ],
- 'tableSchemas' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TableSchema',
- ],
- ],
+ 'folderId' => ['type' => 'string'],
+ 'parentId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
'SubmitPreviewResult' => [
'type' => 'object',
'properties' => [
- 'queryId' => [
- 'type' => 'string',
- ],
- 'sessionId' => [
- 'type' => 'string',
- ],
+ 'queryId' => ['type' => 'string'],
+ 'sessionId' => ['type' => 'string'],
'tableSchemas' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TableSchema',
- ],
+ 'items' => ['$ref' => '#/components/schemas/TableSchema'],
],
],
],
'Table' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'schema' => [
- '$ref' => '#/components/schemas/Schema',
- 'required' => false,
- ],
- 'properties' => [
- 'type' => 'object',
- ],
- 'comment' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'schema' => ['$ref' => '#/components/schemas/Schema', 'required' => false],
+ 'properties' => ['type' => 'object'],
+ 'comment' => ['type' => 'string'],
'partitionKeys' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'tableType' => [
- 'type' => 'string',
- 'required' => true,
+ 'items' => ['type' => 'string'],
],
+ 'tableType' => ['type' => 'string', 'required' => true],
'metadata' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
'TableColumn' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'metadataInfo' => [
- '$ref' => '#/components/schemas/MetadataInfo',
- ],
- 'expression' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'nullable' => [
- 'type' => 'boolean',
- ],
- 'logicalType' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'metadataInfo' => ['$ref' => '#/components/schemas/MetadataInfo'],
+ 'expression' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'nullable' => ['type' => 'boolean'],
+ 'logicalType' => ['type' => 'string'],
],
],
'TableMeta' => [
'type' => 'object',
'properties' => [
- 'catalogName' => [
- 'type' => 'string',
- ],
- 'databaseName' => [
- 'type' => 'string',
- ],
- 'tableName' => [
- 'type' => 'string',
- ],
+ 'catalogName' => ['type' => 'string'],
+ 'databaseName' => ['type' => 'string'],
+ 'tableName' => ['type' => 'string'],
],
],
'TableResult' => [
'type' => 'object',
'properties' => [
- 'tableName' => [
- 'type' => 'string',
- ],
+ 'tableName' => ['type' => 'string'],
+ 'collectSinkOperatorId' => ['type' => 'string'],
'rowUpdates' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/RowUpdate',
- ],
+ 'items' => ['$ref' => '#/components/schemas/RowUpdate'],
],
],
],
'TableSchema' => [
'type' => 'object',
'properties' => [
- 'tableName' => [
- 'type' => 'string',
- ],
- 'schema' => [
- '$ref' => '#/components/schemas/Schema',
- ],
+ 'tableName' => ['type' => 'string'],
+ 'schema' => ['$ref' => '#/components/schemas/Schema'],
+ 'collectSinkOperatorId' => ['type' => 'string'],
],
],
'UdfArtifact' => [
'type' => 'object',
'properties' => [
- 'namespace' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'createdAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'modifiedAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'jarUrl' => [
- 'type' => 'string',
- ],
+ 'namespace' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'modifiedAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'name' => ['type' => 'string'],
+ 'jarUrl' => ['type' => 'string'],
'dependencyJarUris' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'artifactType' => [
'type' => 'string',
- 'enum' => [
- 'ARTIFACT_TYPE_JAVA',
- 'ARTIFACT_TYPE_PYTHON',
- 'ARTIFACT_TYPE_UNKNOWN',
- ],
+ 'enum' => ['ARTIFACT_TYPE_JAVA', 'ARTIFACT_TYPE_PYTHON', 'ARTIFACT_TYPE_UNKNOWN'],
],
'udfClasses' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UdfClass',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UdfClass'],
],
],
],
'UdfClass' => [
'type' => 'object',
'properties' => [
- 'udfArtifactName' => [
- 'type' => 'string',
- ],
- 'className' => [
- 'type' => 'string',
- ],
+ 'udfArtifactName' => ['type' => 'string'],
+ 'className' => ['type' => 'string'],
'classType' => [
'type' => 'string',
- 'enum' => [
- 'UDF_TYPE_INVALID',
- 'UDF_TYPE_SCALAR',
- 'UDF_TYPE_TABLE',
- 'UDF_TYPE_AGGREGATE',
- 'UDF_TYPE_TABLE_AGGREGATE',
- 'UDF_TYPE_OTHER',
- ],
+ 'enum' => ['UDF_TYPE_INVALID', 'UDF_TYPE_SCALAR', 'UDF_TYPE_TABLE', 'UDF_TYPE_AGGREGATE', 'UDF_TYPE_TABLE_AGGREGATE', 'UDF_TYPE_OTHER'],
],
'functionNames' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'UdfFunction' => [
'type' => 'object',
'properties' => [
- 'functionName' => [
- 'type' => 'string',
- ],
- 'udfArtifactName' => [
- 'type' => 'string',
- ],
- 'className' => [
- 'type' => 'string',
- ],
+ 'functionName' => ['type' => 'string'],
+ 'udfArtifactName' => ['type' => 'string'],
+ 'className' => ['type' => 'string'],
],
],
'UpdateJobConfigParam' => [
'type' => 'object',
'properties' => [
- 'newFlinkConf' => [
- 'type' => 'object',
- ],
+ 'newFlinkConf' => ['type' => 'object'],
],
],
'UpdateUdfArtifactResult' => [
'type' => 'object',
'properties' => [
- 'updateSuccess' => [
- 'type' => 'boolean',
- ],
- 'udfArtifact' => [
- '$ref' => '#/components/schemas/UdfArtifact',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'updateSuccess' => ['type' => 'boolean'],
+ 'udfArtifact' => ['$ref' => '#/components/schemas/UdfArtifact'],
+ 'message' => ['type' => 'string'],
'collidingClasses' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UdfClass',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UdfClass'],
],
'missingClasses' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UdfClass',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UdfClass'],
],
],
],
'ValidateStatementResult' => [
'type' => 'object',
'properties' => [
- 'validationResult' => [
- 'type' => 'string',
- ],
- 'errorDetails' => [
- '$ref' => '#/components/schemas/ValidationErrorDetails',
- ],
+ 'validationResult' => ['type' => 'string'],
+ 'errorDetails' => ['$ref' => '#/components/schemas/ValidationErrorDetails'],
],
],
'ValidationErrorDetails' => [
'type' => 'object',
'properties' => [
- 'lineNumber' => [
- 'type' => 'string',
- ],
- 'columnNumber' => [
- 'type' => 'string',
- ],
- 'endLineNumber' => [
- 'type' => 'string',
- ],
- 'endColumnNumber' => [
- 'type' => 'string',
- ],
- 'message' => [
- 'type' => 'string',
- ],
+ 'lineNumber' => ['type' => 'string'],
+ 'columnNumber' => ['type' => 'string'],
+ 'endLineNumber' => ['type' => 'string'],
+ 'endColumnNumber' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
],
],
'Variable' => [
@@ -2469,4679 +1396,2959 @@
'kind' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'Plain',
- ],
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^[a-zA-Z0-9_-]{1,64}$',
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
+ 'enum' => ['Plain'],
],
+ 'name' => ['type' => 'string', 'required' => true, 'pattern' => '^[a-zA-Z0-9_-]{1,64}$'],
+ 'value' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string'],
],
],
'WatermarkSpec' => [
'type' => 'object',
'properties' => [
- 'column' => [
- 'type' => 'string',
- ],
- 'watermarkExpression' => [
- 'type' => 'string',
- ],
- 'watermarkType' => [
- 'type' => 'string',
- ],
+ 'column' => ['type' => 'string'],
+ 'watermarkExpression' => ['type' => 'string'],
+ 'watermarkType' => ['type' => 'string'],
],
],
],
],
'apis' => [
- 'CreateFolder' => [
- 'path' => '/api/v2/namespaces/{namespace}/folder',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ApplyScheduledPlan' => [
+ 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}:apply',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Folder',
- 'required' => false,
- ],
+ 'name' => 'scheduledPlanId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateFolder' => [
- 'path' => '/api/v2/namespaces/{namespace}/folder/{folderId}',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDeployment' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'folderId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Folder',
- 'required' => true,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/Deployment', 'required' => true],
],
],
],
- 'DeleteFolder' => [
- 'path' => '/api/v2/namespaces/{namespace}/folder/{folderId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDeploymentDraft' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'folderId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/DeploymentDraft', 'required' => true],
],
],
],
- 'GetFolder' => [
- 'path' => '/api/v2/namespaces/{namespace}/folder',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDeploymentTarget' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-targets',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'folderId',
+ 'name' => 'deploymentTargetName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/ResourceSpec', 'required' => false],
],
],
],
- 'ValidateDeploymentDraftAsync' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/async-validate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDeploymentTargetV2' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-targets/support-elastic',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'deploymentTargetName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- '$ref' => '#/components/schemas/DraftValidateParams',
- 'required' => false,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/Resource', 'required' => false],
],
],
],
- 'GetValidateDeploymentDraftResult' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/tickets/{ticketId}/async-validate',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateFolder' => [
+ 'path' => '/api/v2/namespaces/{namespace}/folder',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ticketId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/Folder', 'required' => false],
],
],
],
- 'CreateDeploymentDraft' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateMember' => [
+ 'path' => '/gateway/v2/namespaces/{namespace}/members',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/DeploymentDraft',
- 'required' => true,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/Member', 'required' => false],
],
],
],
- 'UpdateDeploymentDraft' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateSavepoint' => [
+ 'path' => '/api/v2/namespaces/{namespace}/savepoints',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deploymentDraftId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
+ 'style' => 'json',
'schema' => [
- '$ref' => '#/components/schemas/DeploymentDraft',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'deploymentId' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'nativeFormat' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
],
],
- 'DeleteDeploymentDraft' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateScheduledPlan' => [
+ 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentDraftId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/ScheduledPlan', 'required' => false],
],
],
],
- 'GetDeploymentDraft' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateSessionCluster' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sessionclusters',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentDraftId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/SessionCluster', 'required' => false],
],
],
],
- 'ListDeploymentDrafts' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateUdfArtifact' => [
+ 'path' => '/api/v2/namespaces/{namespace}/udfartifacts',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageIndex',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/UdfArtifact', 'required' => true],
],
],
],
- 'GetDeploymentDraftLock' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/getLock',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateVariable' => [
+ 'path' => '/api/v2/namespaces/{namespace}/variables',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentDraftId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/Variable', 'required' => true],
],
],
],
- 'DeployDeploymentDraftAsync' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/async-deploy',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteCustomConnector' => [
+ 'path' => '/api/v2/namespaces/{namespace}/connectors/{connectorName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/DraftDeployParams',
- 'required' => true,
- ],
+ 'name' => 'connectorName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetDeployDeploymentDraftResult' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/tickets/{ticketId}/async-deploy',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteDeployment' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ticketId',
+ 'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ValidateSqlStatement' => [
- 'path' => '/api/v2/namespaces/{namespace}/sql-statement/validate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteDeploymentDraft' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/SqlStatementWithContext',
- 'required' => true,
- ],
+ 'name' => 'deploymentDraftId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateUdfArtifact' => [
- 'path' => '/api/v2/namespaces/{namespace}/udfartifacts',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteDeploymentTarget' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-targets/{deploymentTargetName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/UdfArtifact',
- 'required' => true,
- ],
+ 'name' => 'deploymentTargetName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateUdfArtifact' => [
- 'path' => '/api/v2/namespaces/{namespace}/udfartifacts/{udfArtifactName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteFolder' => [
+ 'path' => '/api/v2/namespaces/{namespace}/folder/{folderId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'udfArtifactName',
+ 'name' => 'folderId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/UdfArtifact',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetUdfArtifacts' => [
- 'path' => '/api/v2/namespaces/{namespace}/udfartifacts',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteJob' => [
+ 'path' => '/api/v2/namespaces/{namespace}/jobs/{jobId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'udfArtifactName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'jobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteUdfArtifact' => [
- 'path' => '/api/v2/namespaces/{namespace}/udfartifacts/{udfArtifactName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteMember' => [
+ 'path' => '/gateway/v2/namespaces/{namespace}/members/{member}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'udfArtifactName',
+ 'name' => 'member',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteUdfFunction' => [
- 'path' => '/api/v2/namespaces/{namespace}/udfartifacts/function/{functionName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteSavepoint' => [
+ 'path' => '/api/v2/namespaces/{namespace}/savepoints/{savepointId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'functionName',
+ 'name' => 'savepointId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'udfArtifactName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'className',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RegisterUdfFunction' => [
- 'path' => '/api/v2/namespaces/{namespace}/udfartifacts/function:registerUdfFunction',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteScheduledPlan' => [
+ 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'functionName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'udfArtifactName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'className',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'scheduledPlanId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListCustomConnectors' => [
- 'path' => '/api/v2/namespaces/{namespace}/connectors',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteSessionCluster' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'sessionClusterName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RegisterCustomConnector' => [
- 'path' => '/api/v2/namespaces/{namespace}/connectors:register',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteUdfArtifact' => [
+ 'path' => '/api/v2/namespaces/{namespace}/udfartifacts/{udfArtifactName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jarUrl',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'udfArtifactName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteCustomConnector' => [
- 'path' => '/api/v2/namespaces/{namespace}/connectors/{connectorName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteUdfFunction' => [
+ 'path' => '/api/v2/namespaces/{namespace}/udfartifacts/function/{functionName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'connectorName',
+ 'name' => 'functionName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'udfArtifactName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'className',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetDatabases' => [
- 'path' => '/api/v2/namespaces/{namespace}/catalogs/{catalogName}/databases',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteVariable' => [
+ 'path' => '/api/v2/namespaces/{namespace}/variables/{name}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'catalogName',
+ 'name' => 'name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'databaseName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetTables' => [
- 'path' => '/api/v2/namespaces/{namespace}/catalogs/{catalogName}/databases/{databaseName}/tables',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeployDeploymentDraftAsync' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/async-deploy',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'catalogName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'databaseName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'tableName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/DraftDeployParams', 'required' => true],
],
],
],
- 'GetCatalogs' => [
- 'path' => '/api/v2/namespaces/{namespace}/catalogs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ExecuteSqlStatement' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sql-statement/execute',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'catalogName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/SqlStatementWithContext', 'required' => false],
],
],
],
- 'ExecuteSqlStatement' => [
- 'path' => '/api/v2/namespaces/{namespace}/sql-statement/execute',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'FlinkApiProxy' => [
+ 'path' => '/flink-ui/v2/proxy',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/SqlStatementWithContext',
- 'required' => false,
- ],
+ 'name' => 'resourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'resourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'flinkApiPath',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateSavepoint' => [
- 'path' => '/api/v2/namespaces/{namespace}/savepoints',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GenerateResourcePlanWithFlinkConfAsync' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}/resource-plan:asyncGenerate',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'deploymentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'deploymentId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'nativeFormat' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
+ 'schema' => ['$ref' => '#/components/schemas/FlinkConf', 'required' => false],
],
],
],
- 'GetSavepoint' => [
- 'path' => '/api/v2/namespaces/{namespace}/savepoints/{savepointId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetAppliedScheduledPlan' => [
+ 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans:getExecutedScheduledPlan',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'savepointId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'deploymentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteSavepoint' => [
- 'path' => '/api/v2/namespaces/{namespace}/savepoints/{savepointId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetCatalogs' => [
+ 'path' => '/api/v2/namespaces/{namespace}/catalogs',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'savepointId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'catalogName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListSavepoints' => [
- 'path' => '/api/v2/namespaces/{namespace}/savepoints',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetDatabases' => [
+ 'path' => '/api/v2/namespaces/{namespace}/catalogs/{catalogName}/databases',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deploymentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
+ 'name' => 'catalogName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageIndex',
+ 'name' => 'databaseName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetDeploymentsByName' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/name/{deploymentName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDeployDeploymentDraftResult' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/tickets/{ticketId}/async-deploy',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentName',
+ 'name' => 'ticketId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'GetDeployment' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ignoreJobSummary',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ignoreResourceSetting',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'workspace',
+ 'in' => 'header',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'deploymentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetDeploymentsByLabel' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/getDeployments/byLabel',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDeploymentDraft' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'labelKey',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'deploymentDraftId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'GetDeploymentDraftLock' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/getLock',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'labelValue',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'workspace',
+ 'in' => 'header',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ignoreJobSummary',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'namespace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ignoreResourceSetting',
+ 'name' => 'deploymentDraftId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetDeploymentsByIp' => [
'path' => '/api/v2/namespaces/{namespace}/deployments/getDeployments/byIp',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'srcIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'srcPort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'dstIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'dstPort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ignoreJobSummary',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'ignoreResourceSetting',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'CreateDeployment' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetDeploymentsByLabel' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/getDeployments/byLabel',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Deployment',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'UpdateDeployment' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'workspace',
- 'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'labelKey',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'namespace',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'labelValue',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ignoreJobSummary',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Deployment',
- 'required' => true,
- ],
+ 'name' => 'ignoreResourceSetting',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'GetDeployment' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetDeploymentsByName' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/name/{deploymentName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentId',
+ 'name' => 'deploymentName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ignoreJobSummary',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'ignoreResourceSetting',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListDeployments' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetEvents' => [
+ 'path' => '/api/v2/namespaces/{namespace}/events',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
],
[
'name' => 'pageIndex',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
- ],
- [
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
],
[
- 'name' => 'executionMode',
+ 'name' => 'deploymentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'BATCH',
- 'STREAMING',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'status',
+ 'name' => 'deploymentName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
+ ],
+ ],
+ 'GetFolder' => [
+ 'path' => '/api/v2/namespaces/{namespace}/folder',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'creator',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'modifier',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'workspace',
+ 'in' => 'header',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'labelKey',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'namespace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'labelValueArray',
+ 'name' => 'folderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'sortName',
+ 'name' => 'rootType',
'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'gmt_create',
- 'gmt_modified',
- ],
+ 'enum' => ['DEVELOPMENT', 'SQL_FILE'],
],
],
],
],
- 'DeleteDeployment' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetGenerateResourcePlanResult' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/tickets/{ticketId}/resource-plan:asyncGenerate',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentId',
+ 'name' => 'ticketId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetEvents' => [
- 'path' => '/api/v2/namespaces/{namespace}/events',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetHotUpdateJobResult' => [
+ 'path' => '/api/v2/namespaces/{namespace}/jobs/hot-updates/{jobHotUpdateId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
- ],
- [
- 'name' => 'pageIndex',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'jobHotUpdateId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetJob' => [
'path' => '/api/v2/namespaces/{namespace}/jobs/{jobId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'jobId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListJobs' => [
- 'path' => '/api/v2/namespaces/{namespace}/jobs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetJobDiagnosis' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}/jobs/{jobId}/job-diagnoses/lite',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pageIndex',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'deploymentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'sortName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'gmt_create',
- 'job_id',
- 'status',
- 'gmt_modified',
- ],
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sortOrder',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'asc',
- 'desc',
- ],
- ],
+ 'name' => 'jobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'StartJobWithParams' => [
- 'path' => '/api/v2/namespaces/{namespace}/jobs:start',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetLatestJobStartLog' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}/latest_jobmanager_start_log',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/JobStartParameters',
- 'required' => false,
- ],
+ 'name' => 'deploymentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'StopJob' => [
- 'path' => '/api/v2/namespaces/{namespace}/jobs/{jobId}:stop',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetLineageInfo' => [
+ 'path' => '/meta/v2/lineage',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'namespace',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'jobId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/StopJobRequestBody',
- 'required' => true,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/GetLineageInfoParams', 'required' => false],
],
],
],
- 'DeleteJob' => [
- 'path' => '/api/v2/namespaces/{namespace}/jobs/{jobId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetMember' => [
+ 'path' => '/gateway/v2/namespaces/{namespace}/members/{member}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobId',
+ 'name' => 'member',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'HotUpdateJob' => [
- 'path' => '/api/v2/namespaces/{namespace}/jobs/{jobId}:hotUpdate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetSavepoint' => [
+ 'path' => '/api/v2/namespaces/{namespace}/savepoints/{savepointId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobId',
+ 'name' => 'savepointId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetHotUpdateJobResult' => [
- 'path' => '/api/v2/namespaces/{namespace}/jobs/hot-updates/{jobHotUpdateId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetSessionCluster' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobHotUpdateId',
+ 'name' => 'sessionClusterName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetLatestJobStartLog' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}/latest_jobmanager_start_log',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetTables' => [
+ 'path' => '/api/v2/namespaces/{namespace}/catalogs/{catalogName}/databases/{databaseName}/tables',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentId',
+ 'name' => 'catalogName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'databaseName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'tableName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetJobDiagnosis' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}/jobs/{jobId}/job-diagnoses/lite',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetUdfArtifacts' => [
+ 'path' => '/api/v2/namespaces/{namespace}/udfartifacts',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deploymentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'udfArtifactName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'StartJob' => [
- 'path' => '/api/v2/namespaces/{namespace}/jobs',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetValidateDeploymentDraftResult' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/tickets/{ticketId}/async-validate',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => true,
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/StartJobRequestBody',
- 'required' => true,
- ],
+ 'name' => 'ticketId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateScheduledPlan' => [
- 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'HotUpdateJob' => [
+ 'path' => '/api/v2/namespaces/{namespace}/jobs/{jobId}:hotUpdate',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/ScheduledPlan',
- 'required' => false,
- ],
+ 'name' => 'jobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateScheduledPlan' => [
- 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListCustomConnectors' => [
+ 'path' => '/api/v2/namespaces/{namespace}/connectors',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'scheduledPlanId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/ScheduledPlan',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteScheduledPlan' => [
- 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDeploymentDrafts' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'scheduledPlanId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
+ ],
+ [
+ 'name' => 'pageIndex',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
],
],
],
- 'ListScheduledPlan' => [
- 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDeploymentTargets' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-targets',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
],
[
'name' => 'pageIndex',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
- ],
- [
- 'name' => 'deploymentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
],
],
],
- 'ApplyScheduledPlan' => [
- 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}:apply',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDeployments' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'scheduledPlanId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
],
- ],
- ],
- 'StopApplyScheduledPlan' => [
- 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}:stop',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'pageIndex',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'workspace',
- 'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'namespace',
- 'in' => 'path',
+ 'name' => 'executionMode',
+ 'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['BATCH', 'STREAMING'],
],
],
[
- 'name' => 'scheduledPlanId',
- 'in' => 'path',
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'creator',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'modifier',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'labelKey',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'labelValueArray',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'sortName',
+ 'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['gmt_create', 'gmt_modified'],
],
],
],
],
- 'GetAppliedScheduledPlan' => [
- 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans:getExecutedScheduledPlan',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListEngineVersionMetadata' => [
+ 'path' => '/api/v2/engine-version-meta.json',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'namespace',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deploymentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListScheduledPlanExecutedHistory' => [
- 'path' => '/api/v2/namespaces/{namespace}/job-resource-upgradings',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListJobs' => [
+ 'path' => '/api/v2/namespaces/{namespace}/jobs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'pageIndex',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
],
[
'name' => 'deploymentId',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'sortName',
+ 'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['gmt_create', 'job_id', 'status', 'gmt_modified'],
],
],
[
- 'name' => 'origin',
+ 'name' => 'sortOrder',
'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'SCHEDULED_PLAN',
- ],
+ 'enum' => ['asc', 'desc'],
],
],
],
],
- 'CreateSessionCluster' => [
- 'path' => '/api/v2/namespaces/{namespace}/sessionclusters',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListMembers' => [
+ 'path' => '/gateway/v2/namespaces/{namespace}/members',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/SessionCluster',
- 'required' => false,
- ],
+ 'name' => 'pageIndex',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
],
],
],
- 'UpdateSessionCluster' => [
- 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListSavepoints' => [
+ 'path' => '/api/v2/namespaces/{namespace}/savepoints',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sessionClusterName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'deploymentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/SessionCluster',
- 'required' => false,
- ],
+ 'name' => 'jobId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
+ ],
+ [
+ 'name' => 'pageIndex',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
],
],
],
- 'DeleteSessionCluster' => [
- 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListScheduledPlan' => [
+ 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sessionClusterName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
+ ],
+ [
+ 'name' => 'pageIndex',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
+ ],
+ [
+ 'name' => 'deploymentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetSessionCluster' => [
- 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListScheduledPlanExecutedHistory' => [
+ 'path' => '/api/v2/namespaces/{namespace}/job-resource-upgradings',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sessionClusterName',
- 'in' => 'path',
+ 'name' => 'deploymentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'origin',
+ 'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['SCHEDULED_PLAN'],
],
],
],
],
'ListSessionClusters' => [
'path' => '/api/v2/namespaces/{namespace}/sessionclusters',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'StartSessionCluster' => [
- 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}:start',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListVariables' => [
+ 'path' => '/api/v2/namespaces/{namespace}/variables',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sessionClusterName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
+ ],
+ [
+ 'name' => 'pageIndex',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'],
],
],
],
- 'StopSessionCluster' => [
- 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}:stop',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RegisterCustomConnector' => [
+ 'path' => '/api/v2/namespaces/{namespace}/connectors:register',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sessionClusterName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'jarUrl',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateDeploymentTarget' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-targets',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RegisterUdfFunction' => [
+ 'path' => '/api/v2/namespaces/{namespace}/udfartifacts/function:registerUdfFunction',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentTargetName',
+ 'name' => 'functionName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/ResourceSpec',
- 'required' => false,
- ],
+ 'name' => 'udfArtifactName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'className',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateDeploymentTarget' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-targets/{deploymentTargetName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'StartJob' => [
+ 'path' => '/api/v2/namespaces/{namespace}/jobs',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => true,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deploymentTargetName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/ResourceSpec',
- 'required' => false,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/StartJobRequestBody', 'required' => true],
],
],
],
- 'DeleteDeploymentTarget' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-targets/{deploymentTargetName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'StartJobWithParams' => [
+ 'path' => '/api/v2/namespaces/{namespace}/jobs:start',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentTargetName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/JobStartParameters', 'required' => false],
],
],
],
- 'ListDeploymentTargets' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-targets',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StartSessionCluster' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}:start',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
- ],
- [
- 'name' => 'pageIndex',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
+ 'name' => 'sessionClusterName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateDeploymentTargetV2' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-targets/support-elastic/{deploymentTargetName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'StartSqlExecution' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sql-execution',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deploymentTargetName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Resource',
- 'required' => false,
- ],
+ 'style' => 'json',
+ 'schema' => ['$ref' => '#/components/schemas/StartSqlExecutionBody', 'required' => false],
],
],
],
- 'CreateDeploymentTargetV2' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployment-targets/support-elastic',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'StopApplyScheduledPlan' => [
+ 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}:stop',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deploymentTargetName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Resource',
- 'required' => false,
- ],
+ 'name' => 'scheduledPlanId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateMember' => [
- 'path' => '/gateway/v2/namespaces/{namespace}/members',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopJob' => [
+ 'path' => '/api/v2/namespaces/{namespace}/jobs/{jobId}:stop',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'jobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Member',
- 'required' => false,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/StopJobRequestBody', 'required' => true],
],
],
],
- 'UpdateMember' => [
- 'path' => '/gateway/v2/namespaces/{namespace}/members',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopSessionCluster' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}:stop',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Member',
- 'required' => false,
- ],
+ 'name' => 'sessionClusterName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteMember' => [
- 'path' => '/gateway/v2/namespaces/{namespace}/members/{member}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDeployment' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'member',
+ 'name' => 'deploymentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/Deployment', 'required' => true],
],
],
],
- 'GetMember' => [
- 'path' => '/gateway/v2/namespaces/{namespace}/members/{member}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDeploymentDraft' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'member',
+ 'name' => 'deploymentDraftId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/DeploymentDraft', 'required' => true],
],
],
],
- 'ListMembers' => [
- 'path' => '/gateway/v2/namespaces/{namespace}/members',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDeploymentTarget' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-targets/{deploymentTargetName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageIndex',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
+ 'name' => 'deploymentTargetName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/ResourceSpec', 'required' => false],
],
],
],
- 'UpdateVariable' => [
- 'path' => '/api/v2/namespaces/{namespace}/variables/{name}',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateDeploymentTargetV2' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-targets/support-elastic/{deploymentTargetName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'name',
+ 'name' => 'deploymentTargetName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Variable',
- 'required' => true,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/Resource', 'required' => false],
],
],
],
- 'CreateVariable' => [
- 'path' => '/api/v2/namespaces/{namespace}/variables',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateFolder' => [
+ 'path' => '/api/v2/namespaces/{namespace}/folder/{folderId}',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'folderId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/Variable',
- 'required' => true,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/Folder', 'required' => true],
],
],
],
- 'DeleteVariable' => [
- 'path' => '/api/v2/namespaces/{namespace}/variables/{name}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateMember' => [
+ 'path' => '/gateway/v2/namespaces/{namespace}/members',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'name',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/Member', 'required' => false],
],
],
],
- 'ListVariables' => [
- 'path' => '/api/v2/namespaces/{namespace}/variables',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateScheduledPlan' => [
+ 'path' => '/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
+ 'name' => 'scheduledPlanId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageIndex',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/ScheduledPlan', 'required' => false],
],
],
],
- 'ListEngineVersionMetadata' => [
- 'path' => '/api/v2/engine-version-meta.json',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateSessionCluster' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'sessionClusterName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/SessionCluster', 'required' => false],
],
],
],
- 'GenerateResourcePlanWithFlinkConfAsync' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/{deploymentId}/resource-plan:asyncGenerate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateUdfArtifact' => [
+ 'path' => '/api/v2/namespaces/{namespace}/udfartifacts/{udfArtifactName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deploymentId',
+ 'name' => 'udfArtifactName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/FlinkConf',
- 'required' => false,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/UdfArtifact', 'required' => true],
],
],
],
- 'GetGenerateResourcePlanResult' => [
- 'path' => '/api/v2/namespaces/{namespace}/deployments/tickets/{ticketId}/resource-plan:asyncGenerate',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateVariable' => [
+ 'path' => '/api/v2/namespaces/{namespace}/variables/{name}',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ticketId',
+ 'name' => 'name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/Variable', 'required' => true],
],
],
],
- 'FlinkApiProxy' => [
- 'path' => '/flink-ui/v2/proxy',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ValidateDeploymentDraftAsync' => [
+ 'path' => '/api/v2/namespaces/{namespace}/deployment-drafts/async-validate',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'namespace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'resourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'resourceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'flinkApiPath',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['$ref' => '#/components/schemas/DraftValidateParams', 'required' => false],
],
],
],
- 'GetLineageInfo' => [
- 'path' => '/meta/v2/lineage',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ValidateSqlStatement' => [
+ 'path' => '/api/v2/namespaces/{namespace}/sql-statement/validate',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'header',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/GetLineageInfoParams',
- 'required' => false,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/SqlStatementWithContext', 'required' => true],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'ververica.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'ververica.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'ververica.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'ververica.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'ververica.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'ververica.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'ververica.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'ververica.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'ververica.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'ververica.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'ververica.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'ververica.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'ververica.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'ververica.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'ververica.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'ververica.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'ververica.ap-northeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-qingdao.aliyuncs.com', 'endpoint' => 'ververica.cn-qingdao.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-shenzhen.aliyuncs.com', 'endpoint' => 'ververica.cn-shenzhen.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'ververica.cn-wulanchabu.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-beijing.aliyuncs.com', 'endpoint' => 'ververica.cn-beijing.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.ap-northeast-1.aliyuncs.com', 'endpoint' => 'ververica.ap-northeast-1.aliyuncs.com', 'vpc' => 'ververica-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-chengdu.aliyuncs.com', 'endpoint' => 'ververica.cn-chengdu.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-shanghai.aliyuncs.com', 'endpoint' => 'ververica.cn-shanghai.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-hongkong.aliyuncs.com', 'endpoint' => 'ververica.cn-hongkong.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.ap-southeast-1.aliyuncs.com', 'endpoint' => 'ververica.ap-southeast-1.aliyuncs.com', 'vpc' => 'ververica-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.ap-southeast-3.aliyuncs.com', 'endpoint' => 'ververica.ap-southeast-3.aliyuncs.com', 'vpc' => 'ververica-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.ap-southeast-5.aliyuncs.com', 'endpoint' => 'ververica.ap-southeast-5.aliyuncs.com', 'vpc' => 'ververica-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'ververica.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ververica.cn-hangzhou.aliyuncs.com', 'endpoint' => 'ververica.cn-hangzhou.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'ververica.us-west-1.aliyuncs.com', 'endpoint' => 'ververica.us-west-1.aliyuncs.com', 'vpc' => 'ververica-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'ververica.us-east-1.aliyuncs.com', 'endpoint' => 'ververica.us-east-1.aliyuncs.com', 'vpc' => 'ververica-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'ververica.eu-central-1.aliyuncs.com', 'endpoint' => 'ververica.eu-central-1.aliyuncs.com', 'vpc' => 'ververica-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'ververica.eu-west-1.aliyuncs.com', 'endpoint' => 'ververica.eu-west-1.aliyuncs.com', 'vpc' => 'ververica-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'ververica.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'ververica.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'ververica-vpc.cn-shanghai-finance-1.aliyuncs.com'],
],
];