From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- data/zh_cn/easygene/2020-12-18/api-docs.php | 2071 +++++++++++++++++++++++++++ 1 file changed, 2071 insertions(+) create mode 100644 data/zh_cn/easygene/2020-12-18/api-docs.php (limited to 'data/zh_cn/easygene/2020-12-18') diff --git a/data/zh_cn/easygene/2020-12-18/api-docs.php b/data/zh_cn/easygene/2020-12-18/api-docs.php new file mode 100644 index 0000000..a317a8d --- /dev/null +++ b/data/zh_cn/easygene/2020-12-18/api-docs.php @@ -0,0 +1,2071 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'EasyGene', + 'version' => '2020-12-18', + ], + 'directories' => [ + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'CopyConfiguration', + 'CreateConfiguration', + 'CreateNamespaceName', + 'DeleteConfiguration', + 'GetConfiguration', + 'GetDataset', + 'GetSoftware', + 'ListCategories', + 'ListConfigurations', + 'ListDatasets', + 'ListSoftwares', + 'ListToolkits', + 'UntagApp', + 'UpdateApp', + 'UpdateConfiguration', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CopyConfiguration' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ConfigurationNamespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ConfigurationName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'DestinationNamespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'DestinationName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Configuration' => [ + 'type' => 'object', + 'properties' => [ + 'DestinationName' => [ + 'type' => 'string', + ], + 'DestinationNamespace' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidWorkspace.Configuration.Duplicated', + 'errorMessage' => 'The specified workspace configuration already exists. Change the configuration name and request again.', + ], + [ + 'errorCode' => 'InvalidWorkspace.Configuration.InvalidInputParameter', + 'errorMessage' => 'The specified parameter is not valid.', + ], + [ + 'errorCode' => 'InvalidWorkspace.Configuration.MissingInputParameter', + 'errorMessage' => 'You must specify the parameter.', + ], + ], + 404 => [ + [ + 'errorCode' => 'InvalidWorkspace.Configuration.NotFound', + 'errorMessage' => 'The specified workspace configuration is not found.', + ], + [ + 'errorCode' => 'InvalidWorkspace.NotFound', + 'errorMessage' => 'The specified workspace is not found.', + ], + ], + ], + ], + 'CreateConfiguration' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'AppURI', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ConfigurationDescription', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'RootEntity', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ConfigurationNamespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ConfigurationName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Inputs', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Outputs', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Configuration' => [ + 'type' => 'object', + 'properties' => [ + 'ConfigurationName' => [ + 'type' => 'string', + ], + 'ConfigurationNamespace' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidWorkspace.Configuration.Duplicated', + 'errorMessage' => 'The specified workspace configuration already exists. Change the configuration name and request again.', + ], + [ + 'errorCode' => 'InvalidWorkspace.Configuration.InvalidInputParameter', + 'errorMessage' => 'The specified parameter is not valid.', + ], + [ + 'errorCode' => 'InvalidWorkspace.Configuration.MissingInputParameter', + 'errorMessage' => 'You must specify the parameter.', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvalidUser.AccessDenied', + 'errorMessage' => 'The request was denied due to insufficient user permission.', + ], + ], + [ + [ + 'errorCode' => 'InvalidUser.NotFound', + 'errorMessage' => 'The specified user is not found.', + ], + [ + 'errorCode' => 'InvalidApp.NotFound', + 'errorMessage' => 'The specified app is not found.', + ], + [ + 'errorCode' => 'InvalidApp.Version.NotFound', + 'errorMessage' => 'The specified app version is not found.', + ], + [ + 'errorCode' => 'InvalidWorkspace.NotFound', + 'errorMessage' => 'The specified workspace is not found.', + ], + [ + 'errorCode' => 'InvalidWorkspace.Entity.NotFound', + 'errorMessage' => 'The specified entity is not found.', + ], + ], + ], + ], + 'CreateNamespaceName' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'NamespaceName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'NamespaceName' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + ], + 'DeleteConfiguration' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ConfigurationNamespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ConfigurationName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'InvalidWorkspace.Configuration.NotFound', + 'errorMessage' => 'The specified workspace configuration is not found.', + ], + ], + ], + ], + 'GetConfiguration' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ConfigurationNamespace', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ConfigurationName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Attributes', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Configuration' => [ + 'type' => 'object', + 'properties' => [ + 'LastModified' => [ + 'type' => 'string', + ], + 'ConfigurationNamespace' => [ + 'type' => 'string', + ], + 'ConfigurationName' => [ + 'type' => 'string', + ], + 'RootEntity' => [ + 'type' => 'string', + ], + 'AppURI' => [ + 'type' => 'string', + ], + 'ConfigurationDescription' => [ + 'type' => 'string', + ], + 'Inputs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VariableType' => [ + 'type' => 'string', + ], + 'Required' => [ + 'type' => 'boolean', + ], + 'VariableName' => [ + 'type' => 'string', + ], + 'Help' => [ + 'type' => 'string', + ], + 'TaskName' => [ + 'type' => 'string', + ], + 'StepOrder' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'VariableValue' => [ + 'type' => 'string', + ], + ], + ], + ], + 'Outputs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VariableType' => [ + 'type' => 'string', + ], + 'Required' => [ + 'type' => 'boolean', + ], + 'VariableName' => [ + 'type' => 'string', + ], + 'Help' => [ + 'type' => 'string', + ], + 'TaskName' => [ + 'type' => 'string', + ], + 'StepOrder' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'VariableValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'InvalidWorkspace.Configuration.NotFound', + 'errorMessage' => 'The specified workspace configuration is not found.', + ], + ], + ], + ], + 'GetDataset' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Attributes', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'WorkspaceId' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'EntityTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Dataset' => [ + 'type' => 'object', + 'properties' => [ + 'LastModified' => [ + 'type' => 'string', + ], + 'DatasetDescription' => [ + 'type' => 'string', + ], + 'Copyright' => [ + 'type' => 'string', + ], + 'AccessRequirements' => [ + 'type' => 'string', + ], + 'About' => [ + 'type' => 'string', + ], + 'DatasetName' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + ], + 'GetSoftware' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Attributes', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'SoftwareSimpleName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'SoftwareVersion', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'Software' => [ + 'type' => 'object', + 'properties' => [ + 'LastModified' => [ + 'type' => 'string', + ], + 'SoftwareDescription' => [ + 'type' => 'string', + ], + 'SoftwareVersion' => [ + 'type' => 'string', + ], + 'SoftwareName' => [ + 'type' => 'string', + ], + 'UnitPrice' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'HelpLink' => [ + 'type' => 'string', + ], + 'SoftwareSimpleName' => [ + 'type' => 'string', + ], + 'RegionIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + ], + 'ListCategories' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Search', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'IsReversed', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '2147483647', + 'minimum' => '1', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MaxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Categories' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CategoryName' => [ + 'type' => 'string', + ], + 'CategoryId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is invalid.', + ], + [ + 'errorCode' => 'SignatureDoesNotMatch', + 'errorMessage' => 'The specified signature is invalid.', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvalidUser.AccessDenied', + 'errorMessage' => 'The request was denied due to insufficient user permission.', + ], + ], + [ + [ + 'errorCode' => 'InvalidUser.NotFound', + 'errorMessage' => 'The specified user is not found.', + ], + ], + ], + ], + 'ListConfigurations' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ConfigurationNamespace', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'RootEntity', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'AppURI', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Search', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'IsReversed', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '2147483647', + 'minimum' => '1', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Configuration' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MaxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Configurations' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LastModified' => [ + 'type' => 'string', + ], + 'ConfigurationNamespace' => [ + 'type' => 'string', + ], + 'ConfigurationName' => [ + 'type' => 'string', + ], + 'RootEntity' => [ + 'type' => 'string', + ], + 'AppURI' => [ + 'type' => 'string', + ], + 'ConfigurationDescription' => [ + 'type' => 'string', + ], + 'Inputs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VariableType' => [ + 'type' => 'string', + ], + 'Required' => [ + 'type' => 'boolean', + ], + 'VariableName' => [ + 'type' => 'string', + ], + 'Help' => [ + 'type' => 'string', + ], + 'TaskName' => [ + 'type' => 'string', + ], + 'StepOrder' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'VariableValue' => [ + 'type' => 'string', + ], + ], + ], + ], + 'Outputs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VariableType' => [ + 'type' => 'string', + ], + 'Required' => [ + 'type' => 'boolean', + ], + 'VariableName' => [ + 'type' => 'string', + ], + 'Help' => [ + 'type' => 'string', + ], + 'TaskName' => [ + 'type' => 'string', + ], + 'StepOrder' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'VariableValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + ], + 'ListDatasets' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Search', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'IsReversed', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '2147483647', + 'minimum' => '1', + 'default' => '10', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Dataset' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MaxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Datasets' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LastModified' => [ + 'type' => 'string', + ], + 'WorkspaceId' => [ + 'type' => 'string', + ], + 'Copyright' => [ + 'type' => 'string', + ], + 'AccessRequirements' => [ + 'type' => 'string', + ], + 'About' => [ + 'type' => 'string', + ], + 'DatasetName' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'EntityTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + ], + 'ListSoftwares' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'parameters' => [ + [ + 'name' => 'Search', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'IsReversed', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '2147483647', + 'minimum' => '1', + 'default' => '10', + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'Software' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MaxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Softwares' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LastModified' => [ + 'type' => 'string', + ], + 'SoftwareDescription' => [ + 'type' => 'string', + ], + 'SoftwareName' => [ + 'type' => 'string', + ], + 'UnitPrice' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'HelpLink' => [ + 'type' => 'string', + ], + 'SoftwareSimpleName' => [ + 'type' => 'string', + ], + 'SoftwareVersions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SoftwareVersionAlias' => [ + 'type' => 'string', + ], + 'SoftwareVersion' => [ + 'type' => 'string', + ], + ], + ], + ], + 'RegionIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + ], + 'ListToolkits' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Search', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'IsReversed', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '2147483647', + 'minimum' => '1', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'Data' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Toolkits' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ToolkitId' => [ + 'type' => 'string', + ], + 'ToolkitName' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'SignatureDoesNotMatch', + 'errorMessage' => 'The specified signature is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is invalid.', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvalidUser.AccessDenied', + 'errorMessage' => 'The request was denied due to insufficient user permission.', + ], + ], + [ + [ + 'errorCode' => 'InvalidUser.NotFound', + 'errorMessage' => 'The specified user is not found.', + ], + ], + ], + ], + 'UntagApp' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'NamespaceName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'AppName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvalidUser.AccessDenied', + 'errorMessage' => 'The request was denied due to insufficient user permission.', + ], + ], + [ + [ + 'errorCode' => 'InvalidApp.NotFound', + 'errorMessage' => 'The specified app is not found.', + ], + [ + 'errorCode' => 'InvalidUser.NotFound', + 'errorMessage' => 'The specified user is not found.', + ], + ], + ], + ], + 'UpdateApp' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'NamespaceName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'AppName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'AppDescription', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Toolkit', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Contact', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'AppVersion', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '9223372036854775807', + 'minimum' => '0', + 'default' => '0', + ], + ], + [ + 'name' => 'Document', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Visible', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'Locked', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'SetDefault', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'Links', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Categories', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'DynamicMessage' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DynamicCode' => [ + 'type' => 'string', + ], + 'App' => [ + 'type' => 'object', + 'properties' => [ + 'AppName' => [ + 'type' => 'string', + ], + 'AppVersion' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'NamespaceName' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is invalid.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'InvalidApp.Version.locked', + 'errorMessage' => 'You cannot delete or modify the locked version.', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvalidUser.AccessDenied', + 'errorMessage' => 'The request was denied due to insufficient user permission.', + ], + ], + [ + [ + 'errorCode' => 'InvalidApp.NotFound', + 'errorMessage' => 'The specified app is not found.', + ], + [ + 'errorCode' => 'InvalidApp.Version.NotFound', + 'errorMessage' => 'The specified app version is not found.', + ], + [ + 'errorCode' => 'InvalidUser.NotFound', + 'errorMessage' => 'The specified user is not found.', + ], + ], + ], + ], + 'UpdateConfiguration' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ConfigurationDescription', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + ], + ], + [ + 'name' => 'RootEntity', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ConfigurationNamespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'ConfigurationName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Inputs', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Outputs', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'HttpCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Configuration' => [ + 'type' => 'object', + 'properties' => [ + 'ConfigurationName' => [ + 'type' => 'string', + ], + 'ConfigurationNamespace' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidWorkspace.Configuration.MissingInputParameter', + 'errorMessage' => 'You must specify the parameter.', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvalidUser.AccessDenied', + 'errorMessage' => 'The request was denied due to insufficient user permission.', + ], + ], + [ + [ + 'errorCode' => 'InvalidWorkspace.Configuration.NotFound', + 'errorMessage' => 'The specified workspace configuration is not found.', + ], + [ + 'errorCode' => 'InvalidWorkspace.Entity.NotFound', + 'errorMessage' => 'The specified entity is not found.', + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'easygene.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'easygene.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'easygene.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'easygene.cn-hangzhou.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3