From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/searchplat/2024-04-01/api-docs.php | 3348 +++++++++++-------------------- 1 file changed, 1118 insertions(+), 2230 deletions(-) (limited to 'data/searchplat/2024-04-01/api-docs.php') diff --git a/data/searchplat/2024-04-01/api-docs.php b/data/searchplat/2024-04-01/api-docs.php index 87323e4..62b3756 100644 --- a/data/searchplat/2024-04-01/api-docs.php +++ b/data/searchplat/2024-04-01/api-docs.php @@ -1,88 +1,44 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'Searchplat', - 'version' => '2024-04-01', - ], + 'info' => ['style' => 'ROA', 'product' => 'Searchplat', 'version' => '2024-04-01'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateWorkspace' => [ - 'path' => '/openapi/platform/workspaces', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CeaseFunctionInstance' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}/actions/cease', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'chargeType' => [ - 'type' => 'string', - 'required' => false, - ], - 'engineType' => [ - 'type' => 'string', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'quota' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'computeResource' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'docSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'spec' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instanceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateWorkspace' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateAsyncTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/async-tasks', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -90,13 +46,15 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -106,157 +64,64 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'resourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], + 'id' => ['type' => 'string', 'required' => false], + 'serviceType' => ['type' => 'string', 'required' => false], + 'serviceId' => ['type' => 'string', 'required' => false], + 'dataId' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetWorkspace' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateCapability' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListWorkspaces' => [ - 'path' => '/openapi/platform/workspaces', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'instanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'itemCategory', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sortBy', + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'resourceGroupId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'itemName' => ['type' => 'string', 'required' => false], + 'itemDesc' => ['type' => 'string', 'required' => false], + 'itemValue' => ['type' => 'object', 'required' => false], + ], ], ], ], ], - 'DeleteWorkspace' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'workspaceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'UpdateCredentials' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials/{token}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateCredentials' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -264,21 +129,10 @@ ], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'token', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], [ 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'body', @@ -288,32 +142,21 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'type' => ['type' => 'string', 'required' => false], ], ], ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateCredentials' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateExperienceData' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/experience-data', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -324,10 +167,7 @@ [ 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'body', @@ -337,195 +177,323 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], + 'serviceType' => ['type' => 'string', 'required' => false], + 'dataType' => ['type' => 'string', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'dataValue' => ['type' => 'string', 'required' => false], + 'dataSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'contentType' => ['type' => 'string', 'required' => false], ], ], ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteCredentials' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials/{token}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFunctionInstance' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'token', + 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workspaceName', + 'name' => 'functionName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'instanceName' => ['type' => 'string', 'required' => true], + 'modelType' => ['type' => 'string', 'required' => true], + 'functionType' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'createParameters' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], ], ], - 'GetCredentials' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials/{token}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFunctionTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}/tasks', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'token', + 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workspaceName', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'instanceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListCredentials' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateOfflineTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '10', - 'maximum' => '100', - ], + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'type', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'keyword', + 'name' => 'draft', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'workspaceName', - 'in' => 'path', + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'meta' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'apiKey' => ['type' => 'string', 'required' => false], + 'regionId' => ['type' => 'string', 'required' => false], + 'taskName' => ['type' => 'string', 'required' => false], + 'computeResource' => ['type' => 'string', 'required' => false], + 'labels' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'source' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'parameters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + 'primaryKey' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'sink' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'parameters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + 'primaryKey' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'processors' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'input' => ['type' => 'object', 'required' => false], + 'parameters' => ['type' => 'object', 'required' => false], + 'output' => ['type' => 'object', 'required' => false], + ], + ], + ], + 'parameters' => ['type' => 'object', 'required' => false], + 'status' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'status' => ['type' => 'string', 'required' => false], + 'errorMessage' => ['type' => 'string', 'required' => false], + 'createTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'deleteTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], ], ], ], ], - 'GetExperienceData' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/experience-data/{id}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateRagEvaluatorTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/rag-evaluator/v1/api/task', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'id', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'app_name' => ['type' => 'string', 'required' => false], + 'task_name' => ['type' => 'string', 'required' => false], + 'data' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'question' => ['type' => 'string', 'required' => false], + 'standard_answer' => ['type' => 'string', 'required' => false], + 'recall_docs' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'model_answer' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'evaluate_config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'model' => ['type' => 'string', 'required' => false], + 'prompt' => ['type' => 'string', 'required' => false], + 'run_all_step' => ['type' => 'boolean', 'required' => false], + ], + ], + 'metrics' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'any', 'required' => false], + ], + 'emails' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'has_data_source' => ['type' => 'boolean', 'required' => false], + 'data_source_config' => ['type' => 'any', 'required' => false], + ], ], ], ], ], - 'DeleteExperienceData' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/experience-data/{id}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWorkspace' => [ + 'path' => '/openapi/platform/workspaces', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -534,111 +502,87 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'dryRun', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'chargeType' => ['type' => 'string', 'required' => false], + 'engineType' => ['type' => 'string', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'quota' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'computeResource' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'docSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'spec' => ['type' => 'string', 'required' => false], + ], + ], + 'type' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'DeleteCapability' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items/{itemName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'itemCategory', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'itemName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateExperienceData' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/experience-data', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteCredentials' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials/{token}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'serviceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataType' => [ - 'type' => 'string', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataValue' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataSize' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'contentType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'token', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListExperienceData' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/experience-data', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteExperienceData' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/experience-data/{id}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -649,46 +593,24 @@ [ 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'serviceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dataType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListAsyncTasks' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/async-tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteFunctionInstance' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -696,278 +618,147 @@ ], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'serviceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'dataId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'instanceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetAsyncTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/async-tasks/{id}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteOfflineTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'workspaceName', + 'name' => 'type', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'id', + 'name' => 'taskName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateAsyncTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/async-tasks', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteRagEvaluatorTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/rag-evaluator/v1/api/task/{task_id}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'id' => [ - 'type' => 'string', - 'required' => false, - ], - 'serviceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'serviceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'task_id', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ResumeFunctionInstance' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}/actions/resume', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteWorkspace' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'instanceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateFunctionInstance' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'DescribeCapability' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items/{itemName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', + 'name' => 'itemCategory', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instanceName', + 'name' => 'itemName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribeRegions' => [ + 'path' => '/openapi/platform/regions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'createParameters' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'AK' => [], ], ], + 'deprecated' => false, + 'parameters' => [], ], - 'ListFunctionInstances' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetAsyncTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/async-tasks/{id}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -975,251 +766,205 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', + 'name' => 'id', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetCredentials' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials/{token}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'modelType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'functionType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'token', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'source', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetExperienceData' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/experience-data/{id}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'pageSize', + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'output', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CeaseFunctionInstance' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}/actions/cease', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetFunctionInstance' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'instanceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'output', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateFunctionInstance' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetOfflineTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'functionName', + 'name' => 'type', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'instanceName' => [ - 'type' => 'string', - 'required' => true, - ], - 'modelType' => [ - 'type' => 'string', - 'required' => true, - ], - 'functionType' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'createParameters' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], + 'name' => 'taskName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateFunctionTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}/tasks', - 'methods' => [ - 'post', + 'GetRagEvaluatorTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/rag-evaluator/v1/api/task/{task_id}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'task_id', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'GetTableColumns' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/data-sources/{dataSourceType}/columns', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', + 'name' => 'dataSourceType', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instanceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'params', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteFunctionInstance' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetTableFields' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/data-sources/{dataSourceType}/fields', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1230,1529 +975,764 @@ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', + 'name' => 'dataSourceType', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instanceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'params', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'rawType', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetFunctionInstance' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetTables' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/data-sources/{dataSourceType}/tables', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', + 'name' => 'dataSourceType', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instanceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'params', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'output', + 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListFunctionRestrictions' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/restrictions/{restrictionName}', - 'methods' => [ - 'get', + 'GetWorkspace' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'ListAsyncTasks' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/async-tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'serviceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'dataId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListCapabilities' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', + 'name' => 'itemCategory', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'restrictionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'modelType', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'region', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'source', + 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'DeleteRagEvaluatorTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/rag-evaluator/v1/api/task/{task_id}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListCredentials' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '100'], ], [ - 'name' => 'task_id', + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateRagEvaluatorTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/rag-evaluator/v1/api/task', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListExperienceData' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/experience-data', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'serviceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'app_name' => [ - 'type' => 'string', - 'required' => false, - ], - 'task_name' => [ - 'type' => 'string', - 'required' => false, - ], - 'data' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'question' => [ - 'type' => 'string', - 'required' => false, - ], - 'standard_answer' => [ - 'type' => 'string', - 'required' => false, - ], - 'recall_docs' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'model_answer' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'evaluate_config' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'model' => [ - 'type' => 'string', - 'required' => false, - ], - 'prompt' => [ - 'type' => 'string', - 'required' => false, - ], - 'run_all_step' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - 'metrics' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'any', - 'required' => false, - ], - ], - 'emails' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'has_data_source' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'data_source_config' => [ - 'type' => 'any', - 'required' => false, - ], - ], - ], + 'name' => 'dataType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetRagEvaluatorTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/rag-evaluator/v1/api/task/{task_id}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListFunctionInstances' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'task_id', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'ListRagEvaluatorTasks' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/rag-evaluator/v1/api/tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'workspaceName', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageNumber', + 'name' => 'modelType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'functionType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'StopOfflineTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}/actions/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'workspaceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'type', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'taskName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'regionId', + 'name' => 'source', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'timestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'parallelism' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'StartOfflineTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}/actions/start', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'workspaceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'type', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'taskName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'regionId', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'timestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'parallelism' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'ListOfflineTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'workspaceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'type', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'taskName', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'taskStatus', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - [ - 'name' => 'labels', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'ModifyOfflineTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'workspaceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'type', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'taskName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'meta' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'apiKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'taskName' => [ - 'type' => 'string', - 'required' => false, - ], - 'computeResource' => [ - 'type' => 'string', - 'required' => false, - ], - 'labels' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'source' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - 'primaryKey' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'sink' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - 'primaryKey' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'processors' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'input' => [ - 'type' => 'object', - 'required' => false, - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - ], - 'output' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - ], - 'status' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'status' => [ - 'type' => 'string', - 'required' => false, - ], - 'errorMessage' => [ - 'type' => 'string', - 'required' => false, - ], - 'createTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'deleteTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - 'CreateOfflineTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'workspaceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'type', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'draft', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'meta' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'apiKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'taskName' => [ - 'type' => 'string', - 'required' => false, - ], - 'computeResource' => [ - 'type' => 'string', - 'required' => false, - ], - 'labels' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'source' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - 'primaryKey' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'sink' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - 'primaryKey' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'processors' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'input' => [ - 'type' => 'object', - 'required' => false, - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - ], - 'output' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - ], - 'status' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'status' => [ - 'type' => 'string', - 'required' => false, - ], - 'errorMessage' => [ - 'type' => 'string', - 'required' => false, - ], - 'createTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'deleteTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - ], - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'output', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetOfflineTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListFunctionRestrictions' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/restrictions/{restrictionName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'type', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'taskName', + 'name' => 'restrictionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'regionId', + 'name' => 'modelType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'region', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'source', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteOfflineTask' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'ListOfflineTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'type', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'taskName', - 'in' => 'path', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskStatus', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'regionId', + 'name' => 'labels', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'UpdateCapability' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items/{itemName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'ListRagEvaluatorTasks' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/rag-evaluator/v1/api/tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListServices' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/services', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'itemCategory', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'modelType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'itemName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'serviceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'dryRun', + 'name' => 'serviceId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'itemDesc' => [ - 'type' => 'string', - 'required' => false, - ], - 'itemValue' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListCapabilities' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListWorkspaces' => [ + 'path' => '/openapi/platform/workspaces', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sortBy', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ModifyOfflineTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'itemCategory', + 'name' => 'type', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'taskName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'nextToken', + 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'maxResults', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'meta' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'apiKey' => ['type' => 'string', 'required' => false], + 'regionId' => ['type' => 'string', 'required' => false], + 'taskName' => ['type' => 'string', 'required' => false], + 'computeResource' => ['type' => 'string', 'required' => false], + 'labels' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'source' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'parameters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + 'primaryKey' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'sink' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'parameters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + 'primaryKey' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'processors' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'input' => ['type' => 'object', 'required' => false], + 'parameters' => ['type' => 'object', 'required' => false], + 'output' => ['type' => 'object', 'required' => false], + ], + ], + ], + 'parameters' => ['type' => 'object', 'required' => false], + 'status' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'status' => ['type' => 'string', 'required' => false], + 'errorMessage' => ['type' => 'string', 'required' => false], + 'createTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'deleteTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], ], ], ], ], - 'DescribeCapability' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items/{itemName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ResumeFunctionInstance' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}/actions/resume', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'itemCategory', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'itemName', + 'name' => 'instanceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteCapability' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items/{itemName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'StartOfflineTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}/actions/start', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'itemCategory', + 'name' => 'type', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'itemName', + 'name' => 'taskName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'timestamp' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'parallelism' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], ], ], - 'CreateCapability' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'StopOfflineTask' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/offline-tasks/{type}/{taskName}/actions/stop', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'itemCategory', + 'name' => 'type', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'dryRun', + 'name' => 'taskName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -2762,279 +1742,187 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'itemName' => [ - 'type' => 'string', - 'required' => false, - ], - 'itemDesc' => [ - 'type' => 'string', - 'required' => false, - ], - 'itemValue' => [ - 'type' => 'object', - 'required' => false, - ], + 'timestamp' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'parallelism' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], - 'GetTableFields' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/data-sources/{dataSourceType}/fields', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateCapability' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/capabilities/{itemCategory}/items/{itemName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dataSourceType', + 'name' => 'itemCategory', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'params', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'itemName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'rawType', + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'regionId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'itemDesc' => ['type' => 'string', 'required' => false], + 'itemValue' => ['type' => 'object', 'required' => false], + ], ], ], ], ], - 'DescribeRegions' => [ - 'path' => '/openapi/platform/regions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [], - ], - 'ListServices' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/services', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateCredentials' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/credentials/{token}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceName', + 'name' => 'token', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'modelType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'serviceType', + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'serviceId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'enabled' => ['type' => 'boolean', 'required' => false], + ], ], ], [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetTables' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/data-sources/{dataSourceType}/tables', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateFunctionInstance' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}/functions/{functionName}/instances/{instanceName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dataSourceType', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'params', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'instanceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'regionId', - 'in' => 'query', + 'name' => 'Body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'createParameters' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'description' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'GetTableColumns' => [ - 'path' => '/openapi/platform/workspaces/{workspaceName}/data-sources/{dataSourceType}/columns', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateWorkspace' => [ + 'path' => '/openapi/platform/workspaces/{workspaceName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dataSourceType', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'params', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'regionId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'searchplat.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'searchplat.eu-central-1.aliyuncs.com', - ], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'searchplat.cn-shanghai.aliyuncs.com', 'endpoint' => 'searchplat.cn-shanghai.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'searchplat.eu-central-1.aliyuncs.com', 'endpoint' => 'searchplat.eu-central-1.aliyuncs.com', 'vpc' => ''], ], ]; -- cgit v1.2.3