'1.0', 'info' => [ 'style' => 'ROA', 'product' => 'Devs', 'version' => '2023-07-14', ], 'directories' => [ [ 'id' => 208990, 'title' => null, 'type' => 'directory', 'children' => [ 'UpdateToolset', 'ListToolsets', 'GetToolset', 'DeleteToolset', 'CreateToolset', ], ], [ 'id' => 204324, 'title' => null, 'type' => 'directory', 'children' => [ 'RenderServicesByTemplate', ], ], [ 'id' => 204326, 'title' => null, 'type' => 'directory', 'children' => [ 'FetchArtifactDownloadUrl', 'FetchArtifactTempBucketToken', 'GetArtifact', 'PutArtifact', 'DeleteArtifact', 'CreateArtifact', ], ], [ 'id' => 190560, 'title' => null, 'type' => 'directory', 'children' => [ 'CreateProject', 'DeleteProject', 'UpdateProject', 'ListProjects', 'GetProject', ], ], [ 'id' => 190562, 'title' => null, 'type' => 'directory', 'children' => [ 'DeployEnvironment', 'GetEnvironmentDeployment', 'GetServiceDeployment', 'ListServiceDeployments', 'PreviewEnvironment', 'CreateEnvironment', 'DeleteEnvironment', 'UpdateEnvironment', 'ListEnvironments', 'GetEnvironment', ], ], [ 'id' => 190564, 'title' => null, 'type' => 'directory', 'children' => [ 'DeleteConnection', 'ListConnections', ], ], [ 'id' => 190567, 'title' => null, 'type' => 'directory', 'children' => [ 'GetRepository', ], ], [ 'id' => 190596, 'title' => null, 'type' => 'directory', 'children' => [ 'CreatePipeline', 'ListPipelines', 'GetPipeline', 'StartPipeline', 'CancelPipeline', 'PutPipelineStatus', ], ], [ 'id' => 190601, 'title' => null, 'type' => 'directory', 'children' => [ 'CreateTask', 'ListTasks', 'GetTask', 'StartTask', 'RetryTask', 'ResumeTask', 'CancelTask', 'PutTaskStatus', ], ], [ 'id' => 208980, 'title' => null, 'type' => 'directory', 'children' => [ 'ActivateConnection', 'FetchConnectionCredential', ], ], ], 'components' => [ 'schemas' => [ 'Checkout' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'remote' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'https:/your_token/@github.com/buptwzj/test-initRepo4.git', 'backendName' => 'remote', ], 'ref' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '+001691d0768ca49e9550beeb59fbc163f33b7e88:refs/remotes/origin/master', 'backendName' => 'ref', ], ], ], 'CodeupEventPayload' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'originalPayload' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'format' => 'byte', 'example' => '', 'backendName' => 'originalPayload', ], ], ], 'Condition' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'expression' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '', 'backendName' => 'expression', ], ], ], 'Connection' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Connection', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-connection', 'maxLength' => 40, 'minLength' => 1, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(? 'name', ], 'spec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'required' => true, 'backendName' => 'spec', '$ref' => '#/components/schemas/ConnectionSpec', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'visibility' => 'Public', 'type' => 'string', 'example' => 'key=value', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-description', 'backendName' => 'description', ], 'status' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/ConnectionStatus', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], ], ], 'ConnectionSpec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'platform' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'github', 'backendName' => 'platform', ], 'account' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'account', '$ref' => '#/components/schemas/GitAccount', ], 'gitlabConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'gitlabConfig', '$ref' => '#/components/schemas/GitLabConfig', ], ], ], 'ConnectionStatus' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'installation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'installation', '$ref' => '#/components/schemas/Installation', ], ], ], 'Context' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'data' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'backendName' => 'data', ], ], ], 'Environment' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'demo-env', 'backendName' => 'name', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Environment', 'backendName' => 'kind', ], 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'test env', 'backendName' => 'description', ], 'spec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'required' => true, 'backendName' => 'spec', '$ref' => '#/components/schemas/EnvironmentSpec', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'visibility' => 'Public', 'type' => 'string', 'example' => 'value to the label key.', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], 'status' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/EnvironmentStatus', ], 'projectName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'demo-project', 'backendName' => 'projectName', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], ], ], 'EnvironmentSpec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'type' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Testing', 'backendName' => 'type', 'default' => 'Production', 'enum' => [ 'Testing', 'Staging', 'Production', ], ], 'alias' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'dev', 'backendName' => 'alias', ], 'roleArn' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:ram::*******:role/aliyundevsdefaultrole', 'backendName' => 'roleArn', ], 'repositoryConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'repositoryConfig', '$ref' => '#/components/schemas/RepositoryConfig', ], 'templateConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'templateConfig', '$ref' => '#/components/schemas/TemplateConfig', ], 'infraStackConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'infraStackConfig', '$ref' => '#/components/schemas/InfraStackSpec', ], 'serviceOverlay' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'resources' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'example' => '{"dummyFunction":{"timeout":600}}', 'backendName' => 'resources', ], 'components' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'example' => '{"fc3":{"timeout":600}}', 'backendName' => 'components', ], ], 'backendName' => 'serviceOverlay', ], 'isAutoDeploy' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'isAutoDeploy', 'default' => 'false', ], ], ], 'EnvironmentStatus' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'infraStackStatus' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'infraStackStatus', '$ref' => '#/components/schemas/InfraStackStatus', ], 'latestReleaseDetail' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'latestReleaseDetail', '$ref' => '#/components/schemas/ReleaseDetail', ], 'observedGeneration' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'observedGeneration', ], 'observedTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'observedTime', ], ], ], 'EventFilterConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'push' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'push', '$ref' => '#/components/schemas/PushFilter', ], 'pullRequest' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'pullRequest', '$ref' => '#/components/schemas/PullRequestFilter', ], ], ], 'EventPayload' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'github' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'github', '$ref' => '#/components/schemas/GithubEventPayload', ], 'gitlab' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'gitlab', '$ref' => '#/components/schemas/GitlabEventPayload', ], 'codeup' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'codeup', '$ref' => '#/components/schemas/CodeupEventPayload', ], 'gitee' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'gitee', '$ref' => '#/components/schemas/GiteeEventPayload', ], 'manual' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'manual', '$ref' => '#/components/schemas/ManualEventPayload', ], ], ], 'GitAccount' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'your_username', 'backendName' => 'name', ], 'displayName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'your_displayname', 'backendName' => 'displayName', ], 'id' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '1', 'backendName' => 'id', ], 'avatar' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'https://gitee.com/assets/no_portrait.png', 'backendName' => 'avatar', ], 'uri' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'https://gitlab.com', 'backendName' => 'uri', ], ], ], 'GiteeEventPayload' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'originalPayload' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'format' => 'byte', 'example' => '', 'backendName' => 'originalPayload', ], ], ], 'GitEventSnapshot' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'branch' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'main', 'backendName' => 'branch', ], 'commitID' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '12721ec262d03a93809ba2bbc717963cb298ceca', 'backendName' => 'commitID', ], 'tag' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '1.0', 'backendName' => 'tag', ], ], ], 'GithubEventPayload' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'originalPayload' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'format' => 'byte', 'example' => '', 'backendName' => 'originalPayload', ], ], ], 'GitLabConfig' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uri' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'http://gitlab.c16194660f14898a0810408171302ac.cn-shanghai.alicontainer.com/', 'backendName' => 'uri', ], 'token' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'your-token', 'backendName' => 'token', ], ], ], 'GitlabEventPayload' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'originalPayload' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'format' => 'byte', 'example' => '', 'backendName' => 'originalPayload', ], ], ], 'Installation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'stage' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'finished', 'backendName' => 'stage', ], 'message' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Please click \'actionUri\' to complete the OAuth authorization process', 'backendName' => 'message', ], 'actionUri' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://github.com/login/oauth/authorize?client_id=86059a1b2bb20d3e5fc3&scope=repo,repo:status,delete_repo', 'backendName' => 'actionUri', ], ], ], 'ManualEventPayload' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'commitID' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '090e797efdabd2347b93b1cf331a9a3009df05c8', 'backendName' => 'commitID', ], 'branch' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'master', 'backendName' => 'branch', ], 'tag' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'prod-v1', 'backendName' => 'tag', ], 'templateConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'templateConfig', '$ref' => '#/components/schemas/TemplateConfig', ], ], ], 'OAuthCredential' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'token' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => '4e84246b6b3962cd3d207aad1ea2f911', 'backendName' => 'token', ], 'type' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'bearer', 'backendName' => 'type', ], 'scope' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'user_info projects pull_requests hook gists emails', 'backendName' => 'scope', ], 'expiration' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1716263324603', 'backendName' => 'expiration', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1716176924603', 'backendName' => 'createdTime', ], 'refreshToken' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '4d77bfae284770d94ebeed6b0199ebfd65e3943ba4f1e44dc36d792a93ba0d13', 'backendName' => 'refreshToken', ], ], ], 'Pipeline' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'spec' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'spec', '$ref' => '#/components/schemas/PipelineSpec', ], 'status' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/PipelineStatus', ], 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Pipeline example.', 'backendName' => 'description', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Pipeline', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-pipeline', 'maxLength' => 40, 'minLength' => 1, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(? 'name', ], 'deletionTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'deletionTime', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'value to the label key.', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], ], ], 'PipelineSpec' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'templateName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-pipeline-template', 'backendName' => 'templateName', ], 'context' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'context', '$ref' => '#/components/schemas/Context', ], 'templateSpec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'templateSpec', '$ref' => '#/components/schemas/PipelineTemplateSpec', ], ], ], 'PipelineStatus' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'phase' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Success', 'backendName' => 'phase', ], 'latestExecError' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'latestExecError', '$ref' => '#/components/schemas/TaskExecError', ], ], ], 'PipelineTemplate' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'PipelineTemplate example.', 'backendName' => 'description', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'PipelineTemplate', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-pipeline-template', 'maxLength' => 40, 'minLength' => 1, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(? 'name', ], 'deletionTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'deletionTime', ], 'spec' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'spec', '$ref' => '#/components/schemas/PipelineTemplateSpec', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'value to the label key.', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], ], ], 'PipelineTemplateSpec' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'context' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'context', '$ref' => '#/components/schemas/Context', ], 'tasks' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/TaskExec', ], 'backendName' => 'tasks', ], 'contextSchema' => [ 'title' => '', 'description' => '', 'visibility' => 'Private', 'type' => 'object', 'backendName' => 'contextSchema', ], ], ], 'PipelineTrigger' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'PipelineTrigger example.', 'backendName' => 'description', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'PipelineTrigger', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-pipeline-trigger', 'maxLength' => 63, 'minLength' => 1, 'pattern' => '^(?![0-9]+$)(?!-)[a-zA-Z0-9-_]{0,63}(? 'name', ], 'projectName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-project', 'maxLength' => 63, 'minLength' => 1, 'pattern' => '^(?![0-9]+$)(?!-)[a-zA-Z0-9-_]{0,63}(? 'projectName', ], 'deletionTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'deletionTime', ], 'spec' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'spec', '$ref' => '#/components/schemas/PipelineTriggerSpec', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'value to the label key.', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], ], ], 'PipelineTriggerEvent' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'PipelineTriggerEvent example.', 'backendName' => 'description', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'PipelineTriggerEvent', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-pipeline-trigger', 'maxLength' => 63, 'minLength' => 1, 'pattern' => '^(?![0-9]+$)(?!-)[a-zA-Z0-9-_]{0,63}(? 'name', ], 'deletionTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'deletionTime', ], 'status' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/PipelineTriggerEventStatus', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'value to the label key.', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], 'spec' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'spec', '$ref' => '#/components/schemas/PipelineTriggerEventSpec', ], ], ], 'PipelineTriggerEventSpec' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'payload' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'payload', '$ref' => '#/components/schemas/EventPayload', ], 'triggerName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-pipeline-trigger', 'backendName' => 'triggerName', ], ], ], 'PipelineTriggerEventStatus' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'status' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Skipped,Fired,Running,Failed,Success', 'backendName' => 'status', ], 'firedPipelineName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-pipeline', 'backendName' => 'firedPipelineName', ], 'releaseDetail' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'releaseDetail', '$ref' => '#/components/schemas/ReleaseDetail', ], 'errorMessage' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'failed to create and start pipeline, error=message', 'backendName' => 'errorMessage', ], ], ], 'PipelineTriggerSpec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'roleArn' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'acs:ram::1431999****8149:role/aliyundevsdefaultrole', 'backendName' => 'roleArn', ], 'eventFilter' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'required' => true, 'backendName' => 'eventFilter', '$ref' => '#/components/schemas/EventFilterConfig', ], 'runPipeline' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'runPipeline', '$ref' => '#/components/schemas/RunPipelineConfig', ], ], ], 'Project' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Project', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-project', 'maxLength' => 40, 'minLength' => 1, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(? 'name', ], 'spec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'required' => false, 'backendName' => 'spec', '$ref' => '#/components/schemas/ProjectSpec', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'visibility' => 'Public', 'type' => 'string', 'example' => 'key=value', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], 'updatedTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'updatedTime', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-description', 'backendName' => 'description', ], 'status' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/ProjectStatus', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], ], ], 'ProjectSpec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'templateConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'templateConfig', '$ref' => '#/components/schemas/TemplateConfig', ], 'roleArn' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:ram::1431999****8149:role/aliyundevsdefaultrole', 'backendName' => 'roleArn', ], 'token' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '9D72DE01-C732-49C0-8E85-FFD9D695436B', 'backendName' => 'token', ], ], ], 'ProjectStatus' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'latestReleaseDetail' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'latestReleaseDetail', '$ref' => '#/components/schemas/ReleaseDetail', ], 'observedGeneration' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'observedGeneration', ], 'observedTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'observedTime', ], ], ], 'PullRequestFilter' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'sourceBranch' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'feature-.*', 'backendName' => 'sourceBranch', ], 'targetBranch' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'master', 'backendName' => 'targetBranch', ], 'types' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'opened', 'extendType' => 'true', ], 'backendName' => 'types', ], ], ], 'PushFilter' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'branch' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'master', 'backendName' => 'branch', ], 'tag' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'prod-.*', 'backendName' => 'tag', ], ], ], 'ReleaseDetail' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'pipelineTriggerEventName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'p-codeup-1714271977972-pa4w', 'backendName' => 'pipelineTriggerEventName', ], 'bizStatus' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Running', 'backendName' => 'bizStatus', ], 'pipelineName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'p-1704952599751-wUOczb', 'backendName' => 'pipelineName', ], 'templateConfigSnapshot' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'templateConfigSnapshot', '$ref' => '#/components/schemas/TemplateConfig', ], 'releaseOutputs' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'example' => '{"framework":{"region":"cn-hangzhou","service":{"serviceName":"web-framework","description":"Serverless Devs Web Framework Service","role":"","logConfig":{"project":"","logstore":"","enableRequestMetrics":false,"enableInstanceMetrics":false,"logBeginRule":"None"},"serviceId":"4c9d0e79-16b8-4951-a6b8-169d2037d217","createdTime":"2021-12-07T09:24:08Z","lastModifiedTime":"2022-04-09T09:16:51Z","vpcConfig":{"vpcId":"","vSwitchIds":[],"securityGroupId":"","role":""},"internetAccess":true,"nasConfig":{"userId":-1,"groupId":-1,"mountPoints":[]},"tracingConfig":{},"name":"web-framework"},"function":{"functionId":"e81904f0-24d0-45df-bb53-06da64d01395","functionName":"todolist","description":"Serverless Devs Web Framework Function","runtime":"nodejs12","handler":"index.handler","timeout":60,"initializer":"","initializationTimeout":3,"codeSize":1757093,"codeChecksum":"7185648203525194222","memorySize":256,"environmentVariables":{},"createdTime":"2022-03-15T15:36:22Z","lastModifiedTime":"2022-04-09T09:16:50Z","instanceConcurrency":1,"instanceType":"e1","instanceLifecycleConfig":{"preFreeze":{"handler":"","timeout":3},"preStop":{"handler":"","timeout":3}},"name":"todolist"},"triggers":[{"triggerName":"httpTrigger","description":"","triggerId":"7f2373ce-df1a-4013-b4e5-899989d9b27e","triggerType":"http","triggerConfig":{"methods":["GET","POST"],"authType":"anonymous"},"createdTime":"2022-03-15T15:36:23Z","lastModifiedTime":"2022-04-09T09:16:51Z","name":"httpTrigger"}],"customDomains":[{"domainName":"todolist.web-framework.1835799444022432.cn-hangzhou.fc.devsapp.net","accountId":"1835799444022432","protocol":"HTTP","certConfig":{},"tlsConfig":{},"apiVersion":"2016-08-15","routeConfig":{"routes":[{"path":"/*","serviceName":"web-framework","functionName":"todolist","methods":["GET","POST"]}]},"createdTime":"2022-03-15T15:36:28Z","lastModifiedTime":"2022-04-09T09:17:00Z"}]}}', 'backendName' => 'releaseOutputs', ], 'finishedTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'finishedTime', ], 'repositorySnapshot' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'repositorySnapshot', '$ref' => '#/components/schemas/RepositorySpec', ], 'gitEventSnapshot' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'gitEventSnapshot', '$ref' => '#/components/schemas/GitEventSnapshot', ], 'message' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Triggered manually.', 'backendName' => 'message', ], 'latestTaskExecError' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'latestTaskExecError', '$ref' => '#/components/schemas/TaskExecError', ], 'envName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'dev', 'backendName' => 'envName', ], ], ], 'Repository' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Repository', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-repository', 'maxLength' => 40, 'minLength' => 1, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(? 'name', ], 'spec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'required' => true, 'backendName' => 'spec', '$ref' => '#/components/schemas/RepositorySpec', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'visibility' => 'Public', 'type' => 'string', 'example' => 'key=value', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-description', 'backendName' => 'description', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], ], ], 'RepositoryConfig' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'repositoryName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-repository', 'backendName' => 'repositoryName', ], 'branchName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'master', 'backendName' => 'branchName', ], 'manifest' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'src/s.yaml', 'backendName' => 'manifest', ], ], ], 'RepositorySpec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'connectionName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'awesome-connection', 'backendName' => 'connectionName', ], 'cloneUrl' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'https://github.com/DDofDD/start-springboot-lfgy.git', 'backendName' => 'cloneUrl', ], 'platform' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'github', 'backendName' => 'platform', ], 'id' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '312649', 'backendName' => 'id', ], 'owner' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-org-name', 'backendName' => 'owner', ], 'displayName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-repo-name', 'backendName' => 'displayName', ], 'webUrl' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://github.com/my-org-name/my-repo-name', 'backendName' => 'webUrl', ], ], ], 'ResourceDrift' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'address' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'alicloud_fc_trigger.cn-shanghai-fc-stable-diffusion-sd', 'backendName' => 'address', ], 'mode' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'managed', 'backendName' => 'mode', ], 'type' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'alicloud_fc_trigger', 'backendName' => 'type', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'cn-shanghai-fc-stable-diffusion-sd', 'backendName' => 'name', ], 'change' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'actions' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'visibility' => 'Public', 'type' => 'string', 'example' => 'update', 'extendType' => 'true', ], 'backendName' => 'actions', ], 'before' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'any', 'example' => '{"description":"modelscope deployment","id":"fc-demo-model-scope","internet_access":true,"last_modified":"2024-04-17T13:20:56Z","log_config":[],"name":"fc-demo-model-scope","name_prefix":null,"nas_config":[{"group_id":0,"mount_points":[{"mount_dir":"/mnt/auto","server_addr":"mock-addr.cn-shanghai.nas.aliyuncs.com:/fc-demo-model-scope"}],"user_id":0}],"publish":null,"role":"acs:ram::mock-role:role/aliyunfcdefaultrole","service_id":"mock-service","tags":null,"tracing_config":[],"version":null,"vpc_config":[{"security_group_id":"sg-mock","vpc_id":"vpc-mock","vswitch_ids":["vsw-mock"]}]}', 'backendName' => 'before', ], 'after' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'any', 'example' => '{"description":"mock deployment","id":"fc-demo-model-scope","internet_access":true,"last_modified":"2024-04-17T13:20:56Z","log_config":[],"name":"fc-demo-model-scope","name_prefix":null,"nas_config":[{"group_id":0,"mount_points":[{"mount_dir":"/mnt/auto","server_addr":"mock-addr.cn-shanghai.nas.aliyuncs.com:/fc-demo-model-scope"}],"user_id":0}],"publish":null,"role":"acs:ram::mock-role:role/aliyunfcdefaultrole","service_id":"mock-service","tags":null,"tracing_config":[],"version":null,"vpc_config":[{"security_group_id":"sg-mock","vpc_id":"vpc-mock","vswitch_ids":["vsw-mock"]}]}', 'backendName' => 'after', ], ], 'backendName' => 'change', ], ], ], 'RunAfter' => [ 'title' => '', 'description' => 'Describe dependencies', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'task-1', 'backendName' => 'name', ], ], ], 'RunPipelineConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'yamlFilePath' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'cd.yaml', 'backendName' => 'yamlFilePath', ], 'yamlFileContent' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '', 'backendName' => 'yamlFileContent', ], 'pipelineSpec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'pipelineSpec', '$ref' => '#/components/schemas/PipelineSpec', ], 'variables' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/Variable', ], 'backendName' => 'variables', ], ], ], 'Task' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'spec' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'spec', '$ref' => '#/components/schemas/TaskSpec', ], 'status' => [ 'description' => '', 'visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/TaskStatus', ], 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Task example.', 'backendName' => 'description', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Task', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-task', 'maxLength' => 40, 'minLength' => 1, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(? 'name', ], 'deletionTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'deletionTime', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'value to the label key.', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], ], ], 'TaskExec' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'task-1', 'backendName' => 'name', ], 'context' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'context', '$ref' => '#/components/schemas/Context', ], 'taskTemplate' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'serverless-runner', 'backendName' => 'taskTemplate', ], 'runAfters' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/RunAfter', ], 'backendName' => 'runAfters', ], ], ], 'TaskExecError' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'title' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '', 'backendName' => 'title', ], 'message' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '', 'backendName' => 'message', ], 'code' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'AccessDenied', 'backendName' => 'code', ], 'requestId' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '1-26d1287xxxxx', 'backendName' => 'requestId', ], 'extraInfo' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '', 'backendName' => 'extraInfo', ], ], ], 'TaskInvocation' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'invocationID' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'E099843B-10A2-4936-9964-4E0EE263D564', 'backendName' => 'invocationID', ], 'requestID' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '1B3058B1-F1C9-457C-B95C-2C250A4B3118', 'backendName' => 'requestID', ], 'invocationTarget' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx', 'backendName' => 'invocationTarget', ], 'status' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'success', 'backendName' => 'status', ], 'output' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '{"key1":"value1","key2":"value2"}', 'backendName' => 'output', ], 'instanceID' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'c-nkj8shz7xxxx', 'backendName' => 'instanceID', ], 'slsProject' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-sls-project', 'backendName' => 'slsProject', ], 'slsLogStore' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-sls-logstore', 'backendName' => 'slsLogStore', ], ], ], 'TaskSpec' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'templateName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-task-template', 'backendName' => 'templateName', ], 'context' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'context', '$ref' => '#/components/schemas/Context', ], ], ], 'TaskStatus' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'statusGeneration' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'backendName' => 'statusGeneration', ], 'phase' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Success', 'backendName' => 'phase', ], 'executionDetails' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'step1: start task.', 'extendType' => 'true', ], 'backendName' => 'executionDetails', ], 'invocations' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/TaskInvocation', ], 'backendName' => 'invocations', ], 'latestExecError' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'latestExecError', '$ref' => '#/components/schemas/TaskExecError', ], ], ], 'TaskTemplate' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'TaskTemplate example.', 'backendName' => 'description', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'TaskTemplate', 'backendName' => 'kind', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-task-template', 'maxLength' => 40, 'minLength' => 1, 'pattern' => '[a-z](?!-)[a-z0-9-]{1,40}(? 'name', ], 'deletionTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'deletionTime', ], 'spec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'spec', '$ref' => '#/components/schemas/TaskTemplateSpec', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '', ], 'backendName' => 'labels', ], 'resourceVersion' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceVersion', ], ], ], 'TaskTemplateSpec' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'build&deploy.', 'backendName' => 'description', ], 'worker' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'worker', '$ref' => '#/components/schemas/TaskWorker', ], 'context' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'context', '$ref' => '#/components/schemas/Context', ], 'contextSchema' => [ 'title' => '', 'description' => '', 'visibility' => 'Private', 'type' => 'object', 'nullable' => false, 'backendName' => 'contextSchema', ], 'executeCondition' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'executeCondition', '$ref' => '#/components/schemas/Condition', ], ], ], 'TaskWorker' => [ 'title' => 'A short description of struct', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'presetWorker' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'serverless-runner', 'backendName' => 'presetWorker', ], ], ], 'TemplateConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'templateName' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'start-springboot', 'backendName' => 'templateName', ], 'parameters' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'required' => false, 'example' => '{"region":"cn-hangzhou"}', 'backendName' => 'parameters', ], ], ], 'Toolset' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'generation' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'generation', ], 'uid' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid', ], 'kind' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Toolset', 'backendName' => 'kind', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'my-toolset', 'backendName' => 'name', ], 'createdTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z', 'backendName' => 'createdTime', ], 'description' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-description', 'backendName' => 'description', ], 'spec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'spec', '$ref' => '#/components/schemas/ToolsetSpec', ], 'labels' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'key=value', ], 'backendName' => 'labels', ], 'status' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/ToolsetStatus', ], ], ], 'ToolsetSchema' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'detail' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '', 'backendName' => 'detail', ], 'type' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'OpenAPI', 'backendName' => 'type', ], ], ], 'ToolsetSpec' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'schema' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'type', '$ref' => '#/components/schemas/ToolsetSchema', ], 'authorization' => [ 'title' => '', 'description' => '', 'visibility' => 'Private', 'backendName' => 'authorization', '$ref' => '#/components/schemas/ToolsetAuthorization', ], 'authConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'backendName' => 'authConfig', '$ref' => '#/components/schemas/Authorization', ], ], ], 'ToolsetStatus' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'phase' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Installed', 'backendName' => 'phase', ], 'outputs' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'urls' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'internetUrl' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://mock.cn-hangzhou.fcapp.run/sse', 'backendName' => 'internetUrl', ], 'intranetUrl' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://mock.cn-hangzhou-vpc.fcapp.run/sse', 'backendName' => 'intranetUrl', ], ], 'backendName' => 'urls', ], 'openApiTools' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/OpenAPIToolMeta', ], 'backendName' => 'tools', ], 'mcpServerConfig' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'headers' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '{\'Authorization\': Bearer xxxx}', ], ], 'transportType' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'sse', 'backendName' => 'transportType', ], 'url' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://mock.cn-hangzhou.fcapp.run/sse', 'backendName' => 'url', ], ], 'backendName' => 'mcpServerConfig', ], 'tools' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/MCPToolMeta', ], 'backendName' => 'tools', ], 'functionArn' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:fc:cn-qingdao:0000:functions/aliyun_merchant_login_egistration', 'backendName' => 'functionArn', ], ], 'backendName' => 'outputs', ], 'observedTime' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => '2025-07-28T14:03:19Z', 'backendName' => 'observedTime', ], 'observedGeneration' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'backendName' => 'observedGeneration', ], ], ], 'Variable' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'value' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'object_value', 'backendName' => 'value', ], 'name' => [ 'title' => '', 'description' => '', 'visibility' => 'Public', 'type' => 'string', 'example' => 'object_key', 'backendName' => 'name', ], ], ], ], ], 'apis' => [ 'UpdateToolset' => [ 'summary' => '更新工具集', 'path' => '/2023-07-14/toolsets/{name}', 'methods' => [ 'put', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevs6LLJT1', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '计划更新的工具集实体。您指定的可写字段将被更新,未指定的字段将保持不变', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Toolset', ], ], [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '工具集名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'my-toolset', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '成功更新后的工具集实体', 'description' => '', '$ref' => '#/components/schemas/Toolset', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"generation\\": 1,\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Toolset\\",\\n \\"name\\": \\"my-toolset\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"description\\": \\"test-description\\",\\n \\"spec\\": {\\n \\"schema\\": {\\n \\"type\\": \\"OpenAPI\\",\\n \\"detail\\": \\"\\",\\n \\"config\\": {\\n \\"mcpInstallation\\": {\\n \\"mcpServers\\": {\\n \\"args\\": \\"\\",\\n \\"transportType\\": \\"\\",\\n \\"env\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"url\\": \\"\\",\\n \\"command\\": \\"\\"\\n }\\n },\\n \\"openAPISchema\\": \\"\\",\\n \\"mcpGateway\\": {\\n \\"routes\\": [\\n {\\n \\"backends\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"details\\": {\\n \\"mcpInstallation\\": {\\n \\"args\\": \\"\\",\\n \\"transportType\\": \\"\\",\\n \\"env\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"url\\": \\"\\",\\n \\"command\\": \\"\\"\\n },\\n \\"toolsetSelector\\": {\\n \\"toolsetName\\": \\"\\",\\n \\"toolName\\": \\"\\"\\n },\\n \\"openAPISchema\\": \\"\\"\\n }\\n }\\n ],\\n \\"policies\\": {\\n \\"authorization\\": {\\n \\"type\\": \\"APIKey\\",\\n \\"parameters\\": {\\n \\"apiKeyParameter\\": {\\n \\"encrypted\\": true,\\n \\"in\\": \\"header\\",\\n \\"value\\": \\"mock_value\\",\\n \\"key\\": \\"Authorization\\"\\n }\\n }\\n }\\n }\\n }\\n ]\\n }\\n }\\n },\\n \\"authorization\\": {\\n \\"authConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"type\\": \\"apiKey\\"\\n },\\n \\"authConfig\\": {\\n \\"type\\": \\"APIKey\\",\\n \\"parameters\\": {\\n \\"apiKeyParameter\\": {\\n \\"encrypted\\": true,\\n \\"in\\": \\"header\\",\\n \\"value\\": \\"mock_value\\",\\n \\"key\\": \\"Authorization\\"\\n }\\n }\\n },\\n \\"networkConfig\\": {\\n \\"internetAccess\\": true,\\n \\"vpcConfig\\": {\\n \\"vpcId\\": \\"\\",\\n \\"vSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"securityGroupId\\": \\"\\"\\n }\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Installed\\",\\n \\"outputs\\": {\\n \\"urls\\": {\\n \\"internetUrl\\": \\"\\",\\n \\"intranetUrl\\": \\"\\"\\n },\\n \\"openApiTools\\": [\\n {\\n \\"toolId\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"toolName\\": \\"\\"\\n }\\n ],\\n \\"mcpServerConfig\\": {\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"transportType\\": \\"\\",\\n \\"url\\": \\"\\"\\n },\\n \\"tools\\": [\\n {\\n \\"inputSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"name\\": \\"demo-tool\\",\\n \\"description\\": \\"Here is an example\\"\\n }\\n ],\\n \\"functionArn\\": \\"\\"\\n },\\n \\"observedTime\\": \\"\\",\\n \\"observedGeneration\\": 0\\n }\\n}","type":"json"}]', ], 'ListToolsets' => [ 'summary' => '批量查询工具集', 'path' => '/2023-07-14/toolsets', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJVP2BW', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'description' => '', 'type' => 'array', 'items' => [ 'title' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'label_key1=value1', ], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'title' => '当前页码,默认为1。页码从1开始。', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'title' => '每页大小,默认为100。取值范围1~100', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => [ 'title' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询的分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '当前页码', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'title' => '每页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'totalCount' => [ 'title' => '查询到的结果数量', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'data' => [ 'title' => '查询的资源实体列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '查询的一个满足条件的项目实体', 'description' => '', '$ref' => '#/components/schemas/Toolset', ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"totalCount\\": 10,\\n \\"data\\": [\\n {\\n \\"generation\\": 1,\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Toolset\\",\\n \\"name\\": \\"my-toolset\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"description\\": \\"test-description\\",\\n \\"spec\\": {\\n \\"schema\\": {\\n \\"type\\": \\"OpenAPI\\",\\n \\"detail\\": \\"\\",\\n \\"config\\": {\\n \\"mcpInstallation\\": {\\n \\"mcpServers\\": {\\n \\"args\\": \\"\\",\\n \\"transportType\\": \\"\\",\\n \\"env\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"url\\": \\"\\",\\n \\"command\\": \\"\\"\\n }\\n },\\n \\"openAPISchema\\": \\"\\",\\n \\"mcpGateway\\": {\\n \\"routes\\": [\\n {\\n \\"backends\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"details\\": {\\n \\"mcpInstallation\\": {\\n \\"args\\": \\"\\",\\n \\"transportType\\": \\"\\",\\n \\"env\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"url\\": \\"\\",\\n \\"command\\": \\"\\"\\n },\\n \\"toolsetSelector\\": {\\n \\"toolsetName\\": \\"\\",\\n \\"toolName\\": \\"\\"\\n },\\n \\"openAPISchema\\": \\"\\"\\n }\\n }\\n ],\\n \\"policies\\": {\\n \\"authorization\\": {\\n \\"type\\": \\"APIKey\\",\\n \\"parameters\\": {\\n \\"apiKeyParameter\\": {\\n \\"encrypted\\": true,\\n \\"in\\": \\"header\\",\\n \\"value\\": \\"mock_value\\",\\n \\"key\\": \\"Authorization\\"\\n }\\n }\\n }\\n }\\n }\\n ]\\n }\\n }\\n },\\n \\"authorization\\": {\\n \\"authConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"type\\": \\"apiKey\\"\\n },\\n \\"authConfig\\": {\\n \\"type\\": \\"APIKey\\",\\n \\"parameters\\": {\\n \\"apiKeyParameter\\": {\\n \\"encrypted\\": true,\\n \\"in\\": \\"header\\",\\n \\"value\\": \\"mock_value\\",\\n \\"key\\": \\"Authorization\\"\\n }\\n }\\n },\\n \\"networkConfig\\": {\\n \\"internetAccess\\": true,\\n \\"vpcConfig\\": {\\n \\"vpcId\\": \\"\\",\\n \\"vSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"securityGroupId\\": \\"\\"\\n }\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Installed\\",\\n \\"outputs\\": {\\n \\"urls\\": {\\n \\"internetUrl\\": \\"\\",\\n \\"intranetUrl\\": \\"\\"\\n },\\n \\"openApiTools\\": [\\n {\\n \\"toolId\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"toolName\\": \\"\\"\\n }\\n ],\\n \\"mcpServerConfig\\": {\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"transportType\\": \\"\\",\\n \\"url\\": \\"\\"\\n },\\n \\"tools\\": [\\n {\\n \\"inputSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"name\\": \\"demo-tool\\",\\n \\"description\\": \\"Here is an example\\"\\n }\\n ],\\n \\"functionArn\\": \\"\\"\\n },\\n \\"observedTime\\": \\"\\",\\n \\"observedGeneration\\": 0\\n }\\n }\\n ]\\n}","type":"json"}]', ], 'GetToolset' => [ 'summary' => '查询工具集', 'path' => '/2023-07-14/toolsets/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJVP2BW', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '工具集名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'my-toolset', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/Toolset', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"generation\\": 1,\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Toolset\\",\\n \\"name\\": \\"my-toolset\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"description\\": \\"test-description\\",\\n \\"spec\\": {\\n \\"schema\\": {\\n \\"type\\": \\"OpenAPI\\",\\n \\"detail\\": \\"\\",\\n \\"config\\": {\\n \\"mcpInstallation\\": {\\n \\"mcpServers\\": {\\n \\"args\\": \\"\\",\\n \\"transportType\\": \\"\\",\\n \\"env\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"url\\": \\"\\",\\n \\"command\\": \\"\\"\\n }\\n },\\n \\"openAPISchema\\": \\"\\",\\n \\"mcpGateway\\": {\\n \\"routes\\": [\\n {\\n \\"backends\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"details\\": {\\n \\"mcpInstallation\\": {\\n \\"args\\": \\"\\",\\n \\"transportType\\": \\"\\",\\n \\"env\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"url\\": \\"\\",\\n \\"command\\": \\"\\"\\n },\\n \\"toolsetSelector\\": {\\n \\"toolsetName\\": \\"\\",\\n \\"toolName\\": \\"\\"\\n },\\n \\"openAPISchema\\": \\"\\"\\n }\\n }\\n ],\\n \\"policies\\": {\\n \\"authorization\\": {\\n \\"type\\": \\"APIKey\\",\\n \\"parameters\\": {\\n \\"apiKeyParameter\\": {\\n \\"encrypted\\": true,\\n \\"in\\": \\"header\\",\\n \\"value\\": \\"mock_value\\",\\n \\"key\\": \\"Authorization\\"\\n }\\n }\\n }\\n }\\n }\\n ]\\n }\\n }\\n },\\n \\"authorization\\": {\\n \\"authConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"type\\": \\"apiKey\\"\\n },\\n \\"authConfig\\": {\\n \\"type\\": \\"APIKey\\",\\n \\"parameters\\": {\\n \\"apiKeyParameter\\": {\\n \\"encrypted\\": true,\\n \\"in\\": \\"header\\",\\n \\"value\\": \\"mock_value\\",\\n \\"key\\": \\"Authorization\\"\\n }\\n }\\n },\\n \\"networkConfig\\": {\\n \\"internetAccess\\": true,\\n \\"vpcConfig\\": {\\n \\"vpcId\\": \\"\\",\\n \\"vSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"securityGroupId\\": \\"\\"\\n }\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Installed\\",\\n \\"outputs\\": {\\n \\"urls\\": {\\n \\"internetUrl\\": \\"\\",\\n \\"intranetUrl\\": \\"\\"\\n },\\n \\"openApiTools\\": [\\n {\\n \\"toolId\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"toolName\\": \\"\\"\\n }\\n ],\\n \\"mcpServerConfig\\": {\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"transportType\\": \\"\\",\\n \\"url\\": \\"\\"\\n },\\n \\"tools\\": [\\n {\\n \\"inputSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"name\\": \\"demo-tool\\",\\n \\"description\\": \\"Here is an example\\"\\n }\\n ],\\n \\"functionArn\\": \\"\\"\\n },\\n \\"observedTime\\": \\"\\",\\n \\"observedGeneration\\": 0\\n }\\n}","type":"json"}]', ], 'DeleteToolset' => [ 'summary' => '删除工具集', 'path' => '/2023-07-14/toolsets/{name}', 'methods' => [ 'delete', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevs6LLJT1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '工具集名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'my-toolset', ], ], ], 'responses' => [], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', ], 'CreateToolset' => [ 'summary' => '创建工具集', 'path' => '/2023-07-14/toolsets', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJVP2BW', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Toolset', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/Toolset', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"generation\\": 1,\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Toolset\\",\\n \\"name\\": \\"my-toolset\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"description\\": \\"test-description\\",\\n \\"spec\\": {\\n \\"schema\\": {\\n \\"type\\": \\"OpenAPI\\",\\n \\"detail\\": \\"\\",\\n \\"config\\": {\\n \\"mcpInstallation\\": {\\n \\"mcpServers\\": {\\n \\"args\\": \\"\\",\\n \\"transportType\\": \\"\\",\\n \\"env\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"url\\": \\"\\",\\n \\"command\\": \\"\\"\\n }\\n },\\n \\"openAPISchema\\": \\"\\",\\n \\"mcpGateway\\": {\\n \\"routes\\": [\\n {\\n \\"backends\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"details\\": {\\n \\"mcpInstallation\\": {\\n \\"args\\": \\"\\",\\n \\"transportType\\": \\"\\",\\n \\"env\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"url\\": \\"\\",\\n \\"command\\": \\"\\"\\n },\\n \\"toolsetSelector\\": {\\n \\"toolsetName\\": \\"\\",\\n \\"toolName\\": \\"\\"\\n },\\n \\"openAPISchema\\": \\"\\"\\n }\\n }\\n ],\\n \\"policies\\": {\\n \\"authorization\\": {\\n \\"type\\": \\"APIKey\\",\\n \\"parameters\\": {\\n \\"apiKeyParameter\\": {\\n \\"encrypted\\": true,\\n \\"in\\": \\"header\\",\\n \\"value\\": \\"mock_value\\",\\n \\"key\\": \\"Authorization\\"\\n }\\n }\\n }\\n }\\n }\\n ]\\n }\\n }\\n },\\n \\"authorization\\": {\\n \\"authConfig\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"type\\": \\"apiKey\\"\\n },\\n \\"authConfig\\": {\\n \\"type\\": \\"APIKey\\",\\n \\"parameters\\": {\\n \\"apiKeyParameter\\": {\\n \\"encrypted\\": true,\\n \\"in\\": \\"header\\",\\n \\"value\\": \\"mock_value\\",\\n \\"key\\": \\"Authorization\\"\\n }\\n }\\n },\\n \\"networkConfig\\": {\\n \\"internetAccess\\": true,\\n \\"vpcConfig\\": {\\n \\"vpcId\\": \\"\\",\\n \\"vSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"securityGroupId\\": \\"\\"\\n }\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Installed\\",\\n \\"outputs\\": {\\n \\"urls\\": {\\n \\"internetUrl\\": \\"\\",\\n \\"intranetUrl\\": \\"\\"\\n },\\n \\"openApiTools\\": [\\n {\\n \\"toolId\\": \\"\\",\\n \\"path\\": \\"\\",\\n \\"method\\": \\"\\",\\n \\"toolName\\": \\"\\"\\n }\\n ],\\n \\"mcpServerConfig\\": {\\n \\"headers\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"transportType\\": \\"\\",\\n \\"url\\": \\"\\"\\n },\\n \\"tools\\": [\\n {\\n \\"inputSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"name\\": \\"demo-tool\\",\\n \\"description\\": \\"Here is an example\\"\\n }\\n ],\\n \\"functionArn\\": \\"\\"\\n },\\n \\"observedTime\\": \\"\\",\\n \\"observedGeneration\\": 0\\n }\\n}","type":"json"}]', ], 'RenderServicesByTemplate' => [ 'summary' => '解析模板中的服务、变量配置', 'path' => '/2023-07-14/templates/action/renderServices', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '231991', 'abilityTreeNodes' => [ 'FEATUREdevsRH0LAC', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '模板配置', 'description' => '', 'type' => 'object', 'properties' => [ 'templateName' => [ 'title' => '模板名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'start-springboot', ], 'parameters' => [ 'title' => '模板参数', 'description' => '', 'type' => 'object', 'required' => false, 'example' => '{"region":"cn-hangzhou"}', ], 'variableValues' => [ 'title' => '模板变量', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/TemplateVariableValueMap', ], 'serviceNameChanges' => [ 'title' => '服务名称变化,key是模板原始服务名,value是需要修改的目标服务名', 'description' => '', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'example' => '{"originName": "newName"}', 'description' => '', 'title' => '修改后的目标服务名称', ], 'example' => '{"svc1":"svc2"}', ], 'projectName' => [ 'title' => '项目名称,用于在已有项目中通过模板新增服务的场景。当指定时,会检测模板中的服务名和指定项目中的服务是否存在命名冲突,如果冲突时会自动生成新的服务名称。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'my-project', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'services' => [ 'description' => '', 'type' => 'object', 'additionalProperties' => [ '$ref' => '#/components/schemas/ServiceConfig', 'description' => '', 'title' => '服务配置', ], 'title' => '解析后的服务集合', ], 'variables' => [ 'description' => '', 'type' => 'object', 'additionalProperties' => [ '$ref' => '#/components/schemas/Variable', 'description' => '', 'title' => '变量配置', ], 'title' => '解析后的变量集合', ], 'changedServiceNames' => [ 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => 'demo-service', 'description' => '', 'title' => '原始服务名称', ], 'title' => '变化后的服务名称。key是新的服务名称,value是原始服务名称。'."\n" .'通过这个字段,可以记录模板的原始服务名称,实现部署前的不断修改名称', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"services\\": {\\n \\"key\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"changedServiceNames\\": {\\n \\"key\\": \\"demo-service\\"\\n }\\n}","type":"json"}]', ], 'FetchArtifactDownloadUrl' => [ 'summary' => '获取交付物的zip包临时下载地址url', 'path' => '/2023-07-14/artifacts/{name}/fetchCode', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsQ39RNT', ], ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '交付物名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '交付物临时下载地址', 'description' => '', '$ref' => '#/components/schemas/ArtifactCode', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"checksum\\": \\"\\",\\n \\"url\\": \\"\\"\\n}","type":"json"}]', ], 'FetchArtifactTempBucketToken' => [ 'summary' => '获取交付物临时上传的bucket、object和临时sts', 'path' => '/2023-07-14/artifacts/action/fetchTempBucketToken', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsQ39RNT', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => '交付上传临时地址', 'description' => '', '$ref' => '#/components/schemas/ArtifactTempBucketToken', ], ], [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ossObjectName\\": \\"\\",\\n \\"ossBucketName\\": \\"\\",\\n \\"ossRegion\\": \\"\\",\\n \\"credentials\\": {\\n \\"accessKeyId\\": \\"\\",\\n \\"accessKeySecret\\": \\"\\",\\n \\"securityToken\\": \\"\\"\\n }\\n}","type":"json"}]', ], 'GetArtifact' => [ 'summary' => '查询交付物', 'path' => '/2023-07-14/artifacts/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsQ39RNT', ], ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '交付物名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-artifact', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '交付物配置', 'description' => '', '$ref' => '#/components/schemas/Artifact', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Artifact\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"updatedTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-artifact\\",\\n \\"spec\\": {\\n \\"runtime\\": \\"custom.debian10\\",\\n \\"type\\": \\"FC代码包、工作流yaml\\",\\n \\"uri\\": \\"oss://cn-hangzhou/my-bucket/my.zip\\"\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"resourceVersion\\": 1,\\n \\"description\\": \\"test-description\\",\\n \\"status\\": {\\n \\"size\\": 1024,\\n \\"checksum\\": \\"2825179536350****\\",\\n \\"arn\\": \\"acs:devs:cn-hangzhou:123456:artifacts/my-first-artifact\\"\\n },\\n \\"generation\\": 1\\n}","type":"json"}]', ], 'PutArtifact' => [ 'summary' => '更新交付物', 'path' => '/2023-07-14/artifacts/{name}', 'methods' => [ 'put', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsQ39RNT', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '交付物配置', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Artifact', ], ], [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '交付物名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-artifact', ], ], [ 'name' => 'force', 'in' => 'query', 'schema' => [ 'title' => '强制更新', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '交付物配置', 'description' => '', '$ref' => '#/components/schemas/Artifact', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Artifact\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"updatedTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-artifact\\",\\n \\"spec\\": {\\n \\"runtime\\": \\"custom.debian10\\",\\n \\"type\\": \\"FC代码包、工作流yaml\\",\\n \\"uri\\": \\"oss://cn-hangzhou/my-bucket/my.zip\\"\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"resourceVersion\\": 1,\\n \\"description\\": \\"test-description\\",\\n \\"status\\": {\\n \\"size\\": 1024,\\n \\"checksum\\": \\"2825179536350****\\",\\n \\"arn\\": \\"acs:devs:cn-hangzhou:123456:artifacts/my-first-artifact\\"\\n },\\n \\"generation\\": 1\\n}","type":"json"}]', ], 'DeleteArtifact' => [ 'summary' => '删除交付物', 'path' => '/2023-07-14/artifacts/{name}', 'methods' => [ 'delete', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsQ39RNT', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '交付物名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-artifact', ], ], ], 'responses' => [], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', ], 'CreateArtifact' => [ 'summary' => '创建交付物存储', 'path' => '/2023-07-14/artifacts', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '交付物配置', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Artifact', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '交付物配置', 'description' => '', '$ref' => '#/components/schemas/Artifact', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Artifact\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"updatedTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-artifact\\",\\n \\"spec\\": {\\n \\"runtime\\": \\"custom.debian10\\",\\n \\"type\\": \\"FC代码包、工作流yaml\\",\\n \\"uri\\": \\"oss://cn-hangzhou/my-bucket/my.zip\\"\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"resourceVersion\\": 1,\\n \\"description\\": \\"test-description\\",\\n \\"status\\": {\\n \\"size\\": 1024,\\n \\"checksum\\": \\"2825179536350****\\",\\n \\"arn\\": \\"acs:devs:cn-hangzhou:123456:artifacts/my-first-artifact\\"\\n },\\n \\"generation\\": 1\\n}","type":"json"}]', ], 'CreateProject' => [ 'summary' => 'Creates a project. If a template is specified for the project, the project is automatically deployed.', 'path' => '/2023-07-14/projects', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Project', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/Project', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Project\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-project\\",\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"description\\": \\"test-description\\",\\n \\"spec\\": {\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\"\\n },\\n \\"status\\": {\\n \\"services\\": [\\n {\\n \\"name\\": \\"my-service\\",\\n \\"type\\": \\"fc3\\"\\n }\\n ],\\n \\"isDeleting\\": true\\n }\\n}","type":"json"}]', 'title' => 'CreateProject', ], 'DeleteProject' => [ 'summary' => 'Deletes a project and entities in the project, including the environments, pipeline triggers, pipeline trigger events, pipeline templates, and pipelines.', 'path' => '/2023-07-14/projects/{name}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], [ 'name' => 'force', 'in' => 'query', 'schema' => [ 'title' => '当项目下不存在任何环境或仅存在一个默认环境时,才允许删除该项目;而force可以强制删除项目并级联删除其下环境', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], ], 'responses' => [], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteProject', ], 'UpdateProject' => [ 'summary' => 'Updates a project. If one or more template parameters are changed, the project is automatically deployed.', 'path' => '/2023-07-14/projects/{name}', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '计划更新的项目实体内容。您指定的可写字段将被更新,未指定的字段将保持不变', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Project', ], ], [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '成功更新后的项目实体', 'description' => '', '$ref' => '#/components/schemas/Project', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Project\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-project\\",\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"description\\": \\"test-description\\",\\n \\"spec\\": {\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\"\\n },\\n \\"status\\": {\\n \\"services\\": [\\n {\\n \\"name\\": \\"my-service\\",\\n \\"type\\": \\"fc3\\"\\n }\\n ],\\n \\"isDeleting\\": true\\n }\\n}","type":"json"}]', 'title' => 'UpdateProject', ], 'ListProjects' => [ 'summary' => 'Queries a list of projects.', 'path' => '/2023-07-14/projects', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'description' => '', 'type' => 'array', 'items' => [ 'title' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'templateName=spring-boot-v3', ], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'title' => '当前页码,默认为1。页码从1开始。', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'title' => '每页大小,默认为100。取值范围1~100', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', ], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => [ 'title' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'spring-boot', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询的分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '当前页码', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'title' => '每页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'totalCount' => [ 'title' => '查询到的结果数量', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'data' => [ 'title' => '查询的资源实体列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '查询的一个满足条件的项目实体', 'description' => '', '$ref' => '#/components/schemas/Project', ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 100,\\n \\"totalCount\\": 1,\\n \\"data\\": [\\n {\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Project\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-project\\",\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"description\\": \\"test-description\\",\\n \\"spec\\": {\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\"\\n },\\n \\"status\\": {\\n \\"services\\": [\\n {\\n \\"name\\": \\"my-service\\",\\n \\"type\\": \\"fc3\\"\\n }\\n ],\\n \\"isDeleting\\": true\\n }\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListProjects', ], 'GetProject' => [ 'summary' => 'Queries the information about a project.', 'path' => '/2023-07-14/projects/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/Project', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Project\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-project\\",\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"description\\": \\"test-description\\",\\n \\"spec\\": {\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\"\\n },\\n \\"status\\": {\\n \\"services\\": [\\n {\\n \\"name\\": \\"my-service\\",\\n \\"type\\": \\"fc3\\"\\n }\\n ],\\n \\"isDeleting\\": true\\n }\\n}","type":"json"}]', 'title' => 'GetProject', ], 'DeployEnvironment' => [ 'summary' => '手动触发环境部署', 'path' => '/2023-07-14/projects/{projectName}/environments/{name}/deploy', 'methods' => [ 'patch', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '所属应用名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'required' => false, '$ref' => '#/components/schemas/DeployEnvironmentOptions', 'title' => '部署环境选项', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/EnvironmentDeployment', 'title' => '环境部署信息', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"description\\": \\"commit by xxx.\\",\\n \\"kind\\": \\"Deployment\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-deployment\\",\\n \\"status\\": {\\n \\"phase\\": \\"Running\\",\\n \\"pipelineName\\": \\"my-pipeline\\",\\n \\"finishedTime\\": \\"\\",\\n \\"serviceDeployments\\": {\\n \\"key\\": \\"服务部署名称\\"\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"spec\\": {\\n \\"changes\\": {\\n \\"services\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"baseline\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"config\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"outputs\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"latestDeployment\\": {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"phase\\": \\"Running\\"\\n },\\n \\"status\\": \\"\\\\\\"RUNNING\\\\\\"\\",\\n \\"message\\": \\"\\\\\\"OK\\\\\\"\\"\\n }\\n }\\n },\\n \\"target\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n }\\n },\\n \\"variables\\": {}\\n },\\n \\"skipRemoveResources\\": false,\\n \\"webhookCodeContext\\": {\\n \\"description\\": \\"my PR decscription\\",\\n \\"message\\": \\"commit message\\",\\n \\"eventType\\": \\"PUSH\\",\\n \\"commitID\\": \\"b1dd9ba168dfef1cb3a1dd608b6054c771a93959\\",\\n \\"branch\\": \\"master\\",\\n \\"sourceBranch\\": \\"master\\",\\n \\"title\\": \\"# FIX\\",\\n \\"tag\\": \\"release-0.0.1\\",\\n \\"prType\\": \\"merged\\",\\n \\"targetBranch\\": \\"master\\",\\n \\"repoUrl\\": \\"https://codeup.aliyun.com/my-namespace/my-repo.git\\"\\n }\\n }\\n}","type":"json"}]', ], 'GetEnvironmentDeployment' => [ 'summary' => '查询环境部署信息', 'path' => '/2023-07-14/environmentdeployments/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '环境部署名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/EnvironmentDeployment', 'title' => '环境部署详情', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"description\\": \\"commit by xxx.\\",\\n \\"kind\\": \\"Deployment\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-deployment\\",\\n \\"status\\": {\\n \\"phase\\": \\"Running\\",\\n \\"pipelineName\\": \\"my-pipeline\\",\\n \\"finishedTime\\": \\"\\",\\n \\"serviceDeployments\\": {\\n \\"key\\": \\"服务部署名称\\"\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"spec\\": {\\n \\"changes\\": {\\n \\"services\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"baseline\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"config\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"outputs\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"latestDeployment\\": {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"phase\\": \\"Running\\"\\n },\\n \\"status\\": \\"\\\\\\"RUNNING\\\\\\"\\",\\n \\"message\\": \\"\\\\\\"OK\\\\\\"\\"\\n }\\n }\\n },\\n \\"target\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n }\\n },\\n \\"variables\\": {}\\n },\\n \\"skipRemoveResources\\": false,\\n \\"webhookCodeContext\\": {\\n \\"description\\": \\"my PR decscription\\",\\n \\"message\\": \\"commit message\\",\\n \\"eventType\\": \\"PUSH\\",\\n \\"commitID\\": \\"b1dd9ba168dfef1cb3a1dd608b6054c771a93959\\",\\n \\"branch\\": \\"master\\",\\n \\"sourceBranch\\": \\"master\\",\\n \\"title\\": \\"# FIX\\",\\n \\"tag\\": \\"release-0.0.1\\",\\n \\"prType\\": \\"merged\\",\\n \\"targetBranch\\": \\"master\\",\\n \\"repoUrl\\": \\"https://codeup.aliyun.com/my-namespace/my-repo.git\\"\\n }\\n }\\n}","type":"json"}]', ], 'GetServiceDeployment' => [ 'summary' => '查询服务部署信息', 'path' => '/2023-07-14/servicedeployments/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '服务部署名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/ServiceDeployment', 'title' => '服务部署详情', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"description\\": \\"commit by xxx.\\",\\n \\"kind\\": \\"Deployment\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"environmentDeploymentName\\": \\"my-environment-deployment\\",\\n \\"name\\": \\"my-deployment\\",\\n \\"status\\": {\\n \\"phase\\": \\"Running\\",\\n \\"pipelineName\\": \\"my-pipeline\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"taskName\\": \\"my-task\\",\\n \\"message\\": \\"部署失败,被取消\\",\\n \\"webhookCodeContext\\": {\\n \\"description\\": \\"my PR decscription\\",\\n \\"message\\": \\"commit message\\",\\n \\"eventType\\": \\"PUSH\\",\\n \\"commitID\\": \\"b1dd9ba168dfef1cb3a1dd608b6054c771a93959\\",\\n \\"branch\\": \\"master\\",\\n \\"sourceBranch\\": \\"master\\",\\n \\"title\\": \\"# FIX\\",\\n \\"tag\\": \\"release-0.0.1\\",\\n \\"prType\\": \\"merged\\",\\n \\"targetBranch\\": \\"master\\",\\n \\"repoUrl\\": \\"https://codeup.aliyun.com/my-namespace/my-repo.git\\"\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n }\\n}","type":"json"}]', ], 'ListServiceDeployments' => [ 'summary' => '批量查询服务部署信息', 'path' => '/2023-07-14/servicedeployments', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '只返回含有这些label的对象', 'description' => '', 'type' => 'array', 'items' => [ 'title' => 'label表达式,例如: appName=my-app', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'label_key1=value1', ], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'title' => '分页页码', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'title' => '分页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => [ 'title' => '关键字', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '分页页码', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'title' => '分页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'totalCount' => [ 'title' => '总数', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'data' => [ 'title' => '返回结果列表', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', '$ref' => '#/components/schemas/ServiceDeployment', 'title' => '服务部署详情', ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"totalCount\\": 50,\\n \\"data\\": [\\n {\\n \\"uid\\": \\"1455541096***548\\",\\n \\"description\\": \\"commit by xxx.\\",\\n \\"kind\\": \\"Deployment\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"environmentDeploymentName\\": \\"my-environment-deployment\\",\\n \\"name\\": \\"my-deployment\\",\\n \\"status\\": {\\n \\"phase\\": \\"Running\\",\\n \\"pipelineName\\": \\"my-pipeline\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"taskName\\": \\"my-task\\",\\n \\"message\\": \\"部署失败,被取消\\",\\n \\"webhookCodeContext\\": {\\n \\"description\\": \\"my PR decscription\\",\\n \\"message\\": \\"commit message\\",\\n \\"eventType\\": \\"PUSH\\",\\n \\"commitID\\": \\"b1dd9ba168dfef1cb3a1dd608b6054c771a93959\\",\\n \\"branch\\": \\"master\\",\\n \\"sourceBranch\\": \\"master\\",\\n \\"title\\": \\"# FIX\\",\\n \\"tag\\": \\"release-0.0.1\\",\\n \\"prType\\": \\"merged\\",\\n \\"targetBranch\\": \\"master\\",\\n \\"repoUrl\\": \\"https://codeup.aliyun.com/my-namespace/my-repo.git\\"\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n }\\n }\\n ]\\n}","type":"json"}]', ], 'PreviewEnvironment' => [ 'summary' => '预览环境变更信息', 'path' => '/2023-07-14/projects/{projectName}/environments/{name}/preview', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '项目名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'demo-project', ], ], [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '环境名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'demo-env', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/EnvironmentDeploymentSpec', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"changes\\": {\\n \\"services\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"baseline\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"config\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"outputs\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"latestDeployment\\": {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"phase\\": \\"Running\\"\\n },\\n \\"status\\": \\"\\\\\\"RUNNING\\\\\\"\\",\\n \\"message\\": \\"\\\\\\"OK\\\\\\"\\"\\n }\\n }\\n },\\n \\"target\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n }\\n },\\n \\"variables\\": {}\\n },\\n \\"skipRemoveResources\\": false,\\n \\"webhookCodeContext\\": {\\n \\"description\\": \\"my PR decscription\\",\\n \\"message\\": \\"commit message\\",\\n \\"eventType\\": \\"PUSH\\",\\n \\"commitID\\": \\"b1dd9ba168dfef1cb3a1dd608b6054c771a93959\\",\\n \\"branch\\": \\"master\\",\\n \\"sourceBranch\\": \\"master\\",\\n \\"title\\": \\"# FIX\\",\\n \\"tag\\": \\"release-0.0.1\\",\\n \\"prType\\": \\"merged\\",\\n \\"targetBranch\\": \\"master\\",\\n \\"repoUrl\\": \\"https://codeup.aliyun.com/my-namespace/my-repo.git\\"\\n }\\n}","type":"json"}]', ], 'CreateEnvironment' => [ 'summary' => 'Creates an environment. The environment can be automatically deployed based on a template. Cloud services are deployed to the specified environment. The environment can be associated with a branch of a code repository or a project template. You can also configure an infrastructure stack in the environment. The infrastructure stack can be shared by all cloud services in the environment.', 'path' => '/2023-07-14/projects/{projectName}/environments', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'title' => '环境实体', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Environment', ], ], [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '项目名', 'type' => 'string', 'required' => true, 'example' => 'demo-project', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '环境实体', 'description' => '', '$ref' => '#/components/schemas/Environment', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"name\\": \\"demo-env\\",\\n \\"kind\\": \\"Environment\\",\\n \\"uid\\": \\"1455541096***548\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"description\\": \\"test env\\",\\n \\"spec\\": {\\n \\"type\\": \\"Testing\\",\\n \\"roleArn\\": \\"acs:ram::*******:role/aliyundevsdefaultrole\\",\\n \\"stagedConfigs\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n }\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"status\\": {\\n \\"servicesInstances\\": {\\n \\"key\\": {\\n \\"config\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n },\\n \\"variables\\": {},\\n \\"outputs\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"latestDeployment\\": {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"phase\\": \\"Running\\"\\n },\\n \\"status\\": \\"\\\\\\"RUNNING\\\\\\"\\",\\n \\"message\\": \\"\\\\\\"OK\\\\\\"\\"\\n }\\n },\\n \\"latestEnvironmentDeploymentName\\": \\"\\",\\n \\"servicesWithPendingChanges\\": [\\n \\"服务名称\\"\\n ],\\n \\"observedGeneration\\": 1,\\n \\"observedTime\\": \\"2021-11-19T09:34:38Z\\"\\n },\\n \\"projectName\\": \\"demo-project\\",\\n \\"generation\\": 1\\n}","type":"json"}]', 'title' => 'CreateEnvironment', ], 'DeleteEnvironment' => [ 'summary' => 'Deletes an environment in a project and other entities in the environment, including pipeline triggers, pipeline trigger events, pipeline templates, and pipelines.', 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', 'methods' => [ 'delete', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'demo-project', ], ], [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '环境名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'demo-env', ], ], ], 'responses' => [], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteEnvironment', ], 'UpdateEnvironment' => [ 'summary' => 'Updates an environment. If one or more template parameters are changed, the environment is automatically deployed.', 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', 'methods' => [ 'put', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'title' => '环境实体。您指定的可写字段将被更新,未指定的字段将保持不变', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Environment', ], ], [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'demo-project', ], ], [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '环境名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'demo-env', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '环境实体', 'description' => '', '$ref' => '#/components/schemas/Environment', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"name\\": \\"demo-env\\",\\n \\"kind\\": \\"Environment\\",\\n \\"uid\\": \\"1455541096***548\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"description\\": \\"test env\\",\\n \\"spec\\": {\\n \\"type\\": \\"Testing\\",\\n \\"roleArn\\": \\"acs:ram::*******:role/aliyundevsdefaultrole\\",\\n \\"stagedConfigs\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n }\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"status\\": {\\n \\"servicesInstances\\": {\\n \\"key\\": {\\n \\"config\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n },\\n \\"variables\\": {},\\n \\"outputs\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"latestDeployment\\": {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"phase\\": \\"Running\\"\\n },\\n \\"status\\": \\"\\\\\\"RUNNING\\\\\\"\\",\\n \\"message\\": \\"\\\\\\"OK\\\\\\"\\"\\n }\\n },\\n \\"latestEnvironmentDeploymentName\\": \\"\\",\\n \\"servicesWithPendingChanges\\": [\\n \\"服务名称\\"\\n ],\\n \\"observedGeneration\\": 1,\\n \\"observedTime\\": \\"2021-11-19T09:34:38Z\\"\\n },\\n \\"projectName\\": \\"demo-project\\",\\n \\"generation\\": 1\\n}","type":"json"}]', 'title' => 'UpdateEnvironment', ], 'ListEnvironments' => [ 'summary' => 'Queries a list of environments.', 'path' => '/2023-07-14/projects/{projectName}/environments/', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'demo-project', ], ], [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'description' => '', 'type' => 'array', 'items' => [ 'title' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'branch=main', ], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'title' => '当前页码,默认为1。页码从1开始', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'title' => '每页大小,默认为100。取值范围1~100', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => [ 'title' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'dev', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询的分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '当前页码', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'title' => '每页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'totalCount' => [ 'title' => '查询到的结果数量', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'data' => [ 'title' => '查询的资源实体列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '查询的一个满足条件的环境实体', 'description' => '', '$ref' => '#/components/schemas/Environment', ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 50,\\n \\"totalCount\\": 100,\\n \\"data\\": [\\n {\\n \\"name\\": \\"demo-env\\",\\n \\"kind\\": \\"Environment\\",\\n \\"uid\\": \\"1455541096***548\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"description\\": \\"test env\\",\\n \\"spec\\": {\\n \\"type\\": \\"Testing\\",\\n \\"roleArn\\": \\"acs:ram::*******:role/aliyundevsdefaultrole\\",\\n \\"stagedConfigs\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n }\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"status\\": {\\n \\"servicesInstances\\": {\\n \\"key\\": {\\n \\"config\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n },\\n \\"variables\\": {},\\n \\"outputs\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"latestDeployment\\": {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"phase\\": \\"Running\\"\\n },\\n \\"status\\": \\"\\\\\\"RUNNING\\\\\\"\\",\\n \\"message\\": \\"\\\\\\"OK\\\\\\"\\"\\n }\\n },\\n \\"latestEnvironmentDeploymentName\\": \\"\\",\\n \\"servicesWithPendingChanges\\": [\\n \\"服务名称\\"\\n ],\\n \\"observedGeneration\\": 1,\\n \\"observedTime\\": \\"2021-11-19T09:34:38Z\\"\\n },\\n \\"projectName\\": \\"demo-project\\",\\n \\"generation\\": 1\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListEnvironments', ], 'GetEnvironment' => [ 'summary' => 'Queries the information about an environment.', 'path' => '/2023-07-14/projects/{projectName}/environments/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsXL1PN1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'demo-project', ], ], [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '环境名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'demo-env', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '环境实体', 'description' => '', '$ref' => '#/components/schemas/Environment', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"name\\": \\"demo-env\\",\\n \\"kind\\": \\"Environment\\",\\n \\"uid\\": \\"1455541096***548\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"description\\": \\"test env\\",\\n \\"spec\\": {\\n \\"type\\": \\"Testing\\",\\n \\"roleArn\\": \\"acs:ram::*******:role/aliyundevsdefaultrole\\",\\n \\"stagedConfigs\\": {\\n \\"services\\": {\\n \\"key\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n }\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"status\\": {\\n \\"servicesInstances\\": {\\n \\"key\\": {\\n \\"config\\": {\\n \\"props\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"source\\": {\\n \\"template\\": {\\n \\"downloadUrl\\": \\"https://api.devsapp.cn/v3/packages/start-modelscope-v3/zipball/0.1.6\\",\\n \\"name\\": \\"start-springboot-cap\\"\\n },\\n \\"repository\\": {\\n \\"repositoryName\\": \\"my-repository\\",\\n \\"codeVersion\\": {\\n \\"branch\\": \\"main\\",\\n \\"commitID\\": \\"12721ec262d03a93809ba2bbc717963cb298ceca\\"\\n },\\n \\"filter\\": {\\n \\"branch\\": {\\n \\"name\\": \\"master\\"\\n }\\n }\\n },\\n \\"oss\\": {\\n \\"bucket\\": \\"demo-bucket\\",\\n \\"object\\": \\"demo-object\\"\\n }\\n },\\n \\"build\\": {\\n \\"default\\": {\\n \\"cache\\": {\\n \\"driver\\": \\"\\",\\n \\"paths\\": [\\n \\"~/.npm\\"\\n ],\\n \\"keyPath\\": {\\n \\"3C75C832-0EAD-40D6-8FA1-2BA9171C926B\\": \\"~/.npm\\",\\n \\"D256BB7A-1886-4A19-A75B-A1FDC23D5A00\\": \\"~/.cache\\"\\n }\\n },\\n \\"languages\\": [\\n \\"Python3.9\\"\\n ],\\n \\"rootPath\\": \\"./src\\",\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n }\\n },\\n \\"variables\\": {\\n \\"key\\": {\\n \\"value\\": \\"object_value\\",\\n \\"sensitive\\": false,\\n \\"encrypted\\": false\\n }\\n },\\n \\"initialize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"npm build\\\\\\"}\\"\\n ]\\n },\\n \\"type\\": \\"Function\\",\\n \\"finalize\\": {\\n \\"steps\\": [\\n \\"{\\\\\\"run\\\\\\": \\\\\\"echo \'deleted\'\\\\\\"}\\"\\n ]\\n },\\n \\"token\\": \\"9D72DE01-C732-49C0-8E85-FFD9D695436B\\",\\n \\"component\\": \\"fc3@1.0.0\\",\\n \\"artifact\\": {\\n \\"name\\": \\"my-artifact\\",\\n \\"checksum\\": \\"CRC-64 code\\"\\n }\\n },\\n \\"variables\\": {},\\n \\"outputs\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"latestDeployment\\": {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"finishedTime\\": \\"\\",\\n \\"phase\\": \\"Running\\"\\n },\\n \\"status\\": \\"\\\\\\"RUNNING\\\\\\"\\",\\n \\"message\\": \\"\\\\\\"OK\\\\\\"\\"\\n }\\n },\\n \\"latestEnvironmentDeploymentName\\": \\"\\",\\n \\"servicesWithPendingChanges\\": [\\n \\"服务名称\\"\\n ],\\n \\"observedGeneration\\": 1,\\n \\"observedTime\\": \\"2021-11-19T09:34:38Z\\"\\n },\\n \\"projectName\\": \\"demo-project\\",\\n \\"generation\\": 1\\n}","type":"json"}]', 'title' => 'GetEnvironment', ], 'DeleteConnection' => [ 'summary' => 'Deletes an identity connection.', 'path' => '/2023-07-14/connections/{name}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsTN0KZI', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], [ 'name' => 'force', 'in' => 'query', 'schema' => [ 'title' => '若存在其他Repository实体关联了该Connection,则无法直接删除;指定force=true后可以强制删除Connection(但不级联删除Repository)', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A5152937-1C8A-5260-90FA-520CEF028D2D', ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5152937-1C8A-5260-90FA-520CEF028D2D\\"\\n}","type":"json"}]', 'title' => 'DeleteConnection', ], 'ListConnections' => [ 'summary' => 'Queries a list of identity connections.', 'path' => '/2023-07-14/connections', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsTN0KZI', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'description' => '', 'type' => 'array', 'items' => [ 'title' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'platform=github'."\n", ], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'title' => '当前页码,默认为1。页码从1开始', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'title' => '每页大小,默认为100。取值范围1~100', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', ], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => [ 'title' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'auto-', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询的分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'pageNumber' => [ 'title' => '当前页码', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'title' => '每页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'totalCount' => [ 'title' => '查询到的结果数量', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'data' => [ 'title' => '查询的资源实体列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '查询的一个满足条件的身份绑定实体', 'description' => '', '$ref' => '#/components/schemas/Connection', ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 100,\\n \\"totalCount\\": 1,\\n \\"data\\": [\\n {\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Connection\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-connection\\",\\n \\"spec\\": {\\n \\"platform\\": \\"github\\",\\n \\"account\\": {\\n \\"name\\": \\"your_username\\",\\n \\"displayName\\": \\"your_displayname\\",\\n \\"id\\": \\"1\\",\\n \\"avatar\\": \\"https://gitee.com/assets/no_portrait.png\\",\\n \\"uri\\": \\"https://gitlab.com\\"\\n },\\n \\"gitlabConfig\\": {\\n \\"isFixedIP\\": true,\\n \\"uri\\": \\"http://gitlab.c16194660f14898a0810408171302ac.cn-shanghai.alicontainer.com/\\",\\n \\"token\\": \\"your-token\\"\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"description\\": \\"test-description\\",\\n \\"status\\": {\\n \\"installation\\": {\\n \\"stage\\": \\"finished\\",\\n \\"message\\": \\"Please click \'actionUri\' to complete the OAuth authorization process\\",\\n \\"actionUri\\": \\"https://github.com/login/oauth/authorize?client_id=86059a1b2bb20d3e5fc3&scope=repo,repo:status,delete_repo\\"\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListConnections', ], 'GetRepository' => [ 'summary' => 'Queries the information about a repository connection.', 'path' => '/2023-07-14/repositories/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsTN0KZI', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/Repository', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Repository\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-repository\\",\\n \\"spec\\": {\\n \\"connectionName\\": \\"awesome-connection\\",\\n \\"cloneUrl\\": \\"https://github.com/DDofDD/start-springboot-lfgy.git\\",\\n \\"platform\\": \\"github\\",\\n \\"id\\": 312649,\\n \\"owner\\": \\"my-org-name\\",\\n \\"displayName\\": \\"my-repo-name\\",\\n \\"webUrl\\": \\"https://github.com/my-org-name/my-repo-name\\"\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"description\\": \\"test-description\\"\\n}","type":"json"}]', 'title' => 'GetRepository', ], 'CreatePipeline' => [ 'summary' => 'Creates a pipeline. After you call this operation, the pipeline is executed in asynchronous mode and pipeline tasks are generated based on the pipeline configuration.', 'path' => '/2023-07-14/pipelines', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '创建的流水线执行', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Pipeline', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '创建的流水线执行', 'description' => '', '$ref' => '#/components/schemas/Pipeline', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-pipeline-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"templateSpec\\": {\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"tasks\\": [\\n {\\n \\"name\\": \\"task-1\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"taskTemplate\\": \\"serverless-runner\\",\\n \\"runAfters\\": [\\n {\\n \\"name\\": \\"task-1\\"\\n }\\n ]\\n }\\n ],\\n \\"contextSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Success\\",\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Pipeline example.\\",\\n \\"kind\\": \\"Pipeline\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-pipeline\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'CreatePipeline', ], 'ListPipelines' => [ 'summary' => 'Queries a list of pipelines. We recommend that you specify more query conditions to narrow the query scope.', 'path' => '/2023-07-14/pipelines', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', ], 'parameters' => [ [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '只返回含有这些label的对象', 'description' => '', 'type' => 'array', 'items' => [ 'title' => 'label表达式,例如: appName=my-app', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'label_key1=value1', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线执行列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '流水线执行', 'description' => '', '$ref' => '#/components/schemas/Pipeline', ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"[\\n {\\n \\"spec\\": {\\n \\"templateName\\": \\"my-pipeline-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"templateSpec\\": {\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"tasks\\": [\\n {\\n \\"name\\": \\"task-1\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"taskTemplate\\": \\"serverless-runner\\",\\n \\"runAfters\\": [\\n {\\n \\"name\\": \\"task-1\\"\\n }\\n ]\\n }\\n ],\\n \\"contextSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Success\\",\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Pipeline example.\\",\\n \\"kind\\": \\"Pipeline\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-pipeline\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n }\\n]","type":"json"}]', 'title' => 'ListPipelines', ], 'GetPipeline' => [ 'summary' => 'Queries the information about a pipeline.', 'path' => '/2023-07-14/pipelines/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线执行', 'description' => '', '$ref' => '#/components/schemas/Pipeline', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-pipeline-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"templateSpec\\": {\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"tasks\\": [\\n {\\n \\"name\\": \\"task-1\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"taskTemplate\\": \\"serverless-runner\\",\\n \\"runAfters\\": [\\n {\\n \\"name\\": \\"task-1\\"\\n }\\n ]\\n }\\n ],\\n \\"contextSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Success\\",\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Pipeline example.\\",\\n \\"kind\\": \\"Pipeline\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-pipeline\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'GetPipeline', ], 'StartPipeline' => [ 'summary' => 'Starts a pipeline.', 'path' => '/2023-07-14/pipelines/{name}/start', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线执行', 'description' => '', '$ref' => '#/components/schemas/Pipeline', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-pipeline-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"templateSpec\\": {\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"tasks\\": [\\n {\\n \\"name\\": \\"task-1\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"taskTemplate\\": \\"serverless-runner\\",\\n \\"runAfters\\": [\\n {\\n \\"name\\": \\"task-1\\"\\n }\\n ]\\n }\\n ],\\n \\"contextSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Success\\",\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Pipeline example.\\",\\n \\"kind\\": \\"Pipeline\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-pipeline\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'StartPipeline', ], 'CancelPipeline' => [ 'summary' => 'Cancels the execution of a pipeline. After you call this operation, the executions of the pipeline and tasks in the pipeline are canceled at the earliest opportunity.', 'path' => '/2023-07-14/pipelines/{name}/cancel', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线执行', 'description' => '', '$ref' => '#/components/schemas/Pipeline', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-pipeline-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"templateSpec\\": {\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"tasks\\": [\\n {\\n \\"name\\": \\"task-1\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"taskTemplate\\": \\"serverless-runner\\",\\n \\"runAfters\\": [\\n {\\n \\"name\\": \\"task-1\\"\\n }\\n ]\\n }\\n ],\\n \\"contextSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Success\\",\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Pipeline example.\\",\\n \\"kind\\": \\"Pipeline\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-pipeline\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'CancelPipeline', ], 'PutPipelineStatus' => [ 'summary' => 'Updates the status of a pipeline.', 'path' => '/2023-07-14/pipelines/{name}/status', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'title' => '流水线执行', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Pipeline', ], ], [ 'name' => 'force', 'in' => 'query', 'schema' => [ 'title' => '强制更新', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线执行', 'description' => '', '$ref' => '#/components/schemas/Pipeline', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-pipeline-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"templateSpec\\": {\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"tasks\\": [\\n {\\n \\"name\\": \\"task-1\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n },\\n \\"taskTemplate\\": \\"serverless-runner\\",\\n \\"runAfters\\": [\\n {\\n \\"name\\": \\"task-1\\"\\n }\\n ]\\n }\\n ],\\n \\"contextSchema\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"phase\\": \\"Success\\",\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Pipeline example.\\",\\n \\"kind\\": \\"Pipeline\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-pipeline\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'PutPipelineStatus', ], 'CreateTask' => [ 'summary' => 'Creates a pipeline task.', 'path' => '/2023-07-14/tasks', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '流水线任务', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Task', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务', 'description' => '', '$ref' => '#/components/schemas/Task', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-task-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"statusGeneration\\": 123,\\n \\"phase\\": \\"Success\\",\\n \\"executionDetails\\": [\\n \\"step1: start task.\\"\\n ],\\n \\"invocations\\": [\\n {\\n \\"invocationID\\": \\"E099843B-10A2-4936-9964-4E0EE263D564\\",\\n \\"requestID\\": \\"1B3058B1-F1C9-457C-B95C-2C250A4B3118\\",\\n \\"invocationTarget\\": \\"acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx\\",\\n \\"status\\": \\"success\\",\\n \\"output\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"instanceID\\": \\"c-nkj8shz7xxxx\\",\\n \\"slsProject\\": \\"my-sls-project\\",\\n \\"slsLogStore\\": \\"my-sls-logstore\\"\\n }\\n ],\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Task example.\\",\\n \\"kind\\": \\"Task\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-task\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'CreateTask', ], 'ListTasks' => [ 'summary' => 'Queries a list of pipeline tasks.', 'path' => '/2023-07-14/tasks', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '只返回含有这些label的对象', 'description' => '', 'type' => 'array', 'items' => [ 'title' => 'label表达式,例如: appName=my-app', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'label_key1=value1', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '流水线任务', 'description' => '', '$ref' => '#/components/schemas/Task', ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"[\\n {\\n \\"spec\\": {\\n \\"templateName\\": \\"my-task-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"statusGeneration\\": 123,\\n \\"phase\\": \\"Success\\",\\n \\"executionDetails\\": [\\n \\"step1: start task.\\"\\n ],\\n \\"invocations\\": [\\n {\\n \\"invocationID\\": \\"E099843B-10A2-4936-9964-4E0EE263D564\\",\\n \\"requestID\\": \\"1B3058B1-F1C9-457C-B95C-2C250A4B3118\\",\\n \\"invocationTarget\\": \\"acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx\\",\\n \\"status\\": \\"success\\",\\n \\"output\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"instanceID\\": \\"c-nkj8shz7xxxx\\",\\n \\"slsProject\\": \\"my-sls-project\\",\\n \\"slsLogStore\\": \\"my-sls-logstore\\"\\n }\\n ],\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Task example.\\",\\n \\"kind\\": \\"Task\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-task\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n }\\n]","type":"json"}]', 'title' => 'ListTasks', ], 'GetTask' => [ 'summary' => 'Queries the information about a pipeline task.', 'path' => '/2023-07-14/tasks/{name}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务', 'description' => '', '$ref' => '#/components/schemas/Task', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-task-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"statusGeneration\\": 123,\\n \\"phase\\": \\"Success\\",\\n \\"executionDetails\\": [\\n \\"step1: start task.\\"\\n ],\\n \\"invocations\\": [\\n {\\n \\"invocationID\\": \\"E099843B-10A2-4936-9964-4E0EE263D564\\",\\n \\"requestID\\": \\"1B3058B1-F1C9-457C-B95C-2C250A4B3118\\",\\n \\"invocationTarget\\": \\"acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx\\",\\n \\"status\\": \\"success\\",\\n \\"output\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"instanceID\\": \\"c-nkj8shz7xxxx\\",\\n \\"slsProject\\": \\"my-sls-project\\",\\n \\"slsLogStore\\": \\"my-sls-logstore\\"\\n }\\n ],\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Task example.\\",\\n \\"kind\\": \\"Task\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-task\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'GetTask', ], 'StartTask' => [ 'summary' => 'Starts a pipeline task.', 'path' => '/2023-07-14/tasks/{name}/start', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务', 'description' => '', '$ref' => '#/components/schemas/Task', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-task-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"statusGeneration\\": 123,\\n \\"phase\\": \\"Success\\",\\n \\"executionDetails\\": [\\n \\"step1: start task.\\"\\n ],\\n \\"invocations\\": [\\n {\\n \\"invocationID\\": \\"E099843B-10A2-4936-9964-4E0EE263D564\\",\\n \\"requestID\\": \\"1B3058B1-F1C9-457C-B95C-2C250A4B3118\\",\\n \\"invocationTarget\\": \\"acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx\\",\\n \\"status\\": \\"success\\",\\n \\"output\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"instanceID\\": \\"c-nkj8shz7xxxx\\",\\n \\"slsProject\\": \\"my-sls-project\\",\\n \\"slsLogStore\\": \\"my-sls-logstore\\"\\n }\\n ],\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Task example.\\",\\n \\"kind\\": \\"Task\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-task\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'StartTask', ], 'RetryTask' => [ 'summary' => 'Retries a pipeline task.', 'path' => '/2023-07-14/tasks/{name}/retry', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务', 'description' => '', '$ref' => '#/components/schemas/Task', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-task-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"statusGeneration\\": 123,\\n \\"phase\\": \\"Success\\",\\n \\"executionDetails\\": [\\n \\"step1: start task.\\"\\n ],\\n \\"invocations\\": [\\n {\\n \\"invocationID\\": \\"E099843B-10A2-4936-9964-4E0EE263D564\\",\\n \\"requestID\\": \\"1B3058B1-F1C9-457C-B95C-2C250A4B3118\\",\\n \\"invocationTarget\\": \\"acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx\\",\\n \\"status\\": \\"success\\",\\n \\"output\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"instanceID\\": \\"c-nkj8shz7xxxx\\",\\n \\"slsProject\\": \\"my-sls-project\\",\\n \\"slsLogStore\\": \\"my-sls-logstore\\"\\n }\\n ],\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Task example.\\",\\n \\"kind\\": \\"Task\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-task\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'RetryTask', ], 'ResumeTask' => [ 'summary' => 'Resumes a pipeline task.', 'path' => '/2023-07-14/tasks/{name}/resume', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务', 'description' => '', '$ref' => '#/components/schemas/Task', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-task-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"statusGeneration\\": 123,\\n \\"phase\\": \\"Success\\",\\n \\"executionDetails\\": [\\n \\"step1: start task.\\"\\n ],\\n \\"invocations\\": [\\n {\\n \\"invocationID\\": \\"E099843B-10A2-4936-9964-4E0EE263D564\\",\\n \\"requestID\\": \\"1B3058B1-F1C9-457C-B95C-2C250A4B3118\\",\\n \\"invocationTarget\\": \\"acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx\\",\\n \\"status\\": \\"success\\",\\n \\"output\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"instanceID\\": \\"c-nkj8shz7xxxx\\",\\n \\"slsProject\\": \\"my-sls-project\\",\\n \\"slsLogStore\\": \\"my-sls-logstore\\"\\n }\\n ],\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Task example.\\",\\n \\"kind\\": \\"Task\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-task\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'ResumeTask', ], 'CancelTask' => [ 'summary' => 'Cancels the execution of a pipeline task.', 'path' => '/2023-07-14/tasks/{name}/cancel', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务', 'description' => '', '$ref' => '#/components/schemas/Task', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-task-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"statusGeneration\\": 123,\\n \\"phase\\": \\"Success\\",\\n \\"executionDetails\\": [\\n \\"step1: start task.\\"\\n ],\\n \\"invocations\\": [\\n {\\n \\"invocationID\\": \\"E099843B-10A2-4936-9964-4E0EE263D564\\",\\n \\"requestID\\": \\"1B3058B1-F1C9-457C-B95C-2C250A4B3118\\",\\n \\"invocationTarget\\": \\"acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx\\",\\n \\"status\\": \\"success\\",\\n \\"output\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"instanceID\\": \\"c-nkj8shz7xxxx\\",\\n \\"slsProject\\": \\"my-sls-project\\",\\n \\"slsLogStore\\": \\"my-sls-logstore\\"\\n }\\n ],\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Task example.\\",\\n \\"kind\\": \\"Task\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-task\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'CancelTask', ], 'PutTaskStatus' => [ 'summary' => 'Updates the status of a pipeline task.', 'path' => '/2023-07-14/tasks/{name}/status', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'title' => '流水线任务', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/Task', ], ], [ 'name' => 'force', 'in' => 'query', 'schema' => [ 'title' => '强制更新', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务', 'description' => '', '$ref' => '#/components/schemas/Task', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"spec\\": {\\n \\"templateName\\": \\"my-task-template\\",\\n \\"context\\": {\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"status\\": {\\n \\"statusGeneration\\": 123,\\n \\"phase\\": \\"Success\\",\\n \\"executionDetails\\": [\\n \\"step1: start task.\\"\\n ],\\n \\"invocations\\": [\\n {\\n \\"invocationID\\": \\"E099843B-10A2-4936-9964-4E0EE263D564\\",\\n \\"requestID\\": \\"1B3058B1-F1C9-457C-B95C-2C250A4B3118\\",\\n \\"invocationTarget\\": \\"acs:fc:cn-hangzhou:143xxxx:services/xxx.LATEST/functions/xxx\\",\\n \\"status\\": \\"success\\",\\n \\"output\\": \\"{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"key2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"instanceID\\": \\"c-nkj8shz7xxxx\\",\\n \\"slsProject\\": \\"my-sls-project\\",\\n \\"slsLogStore\\": \\"my-sls-logstore\\"\\n }\\n ],\\n \\"latestExecError\\": {\\n \\"title\\": \\"权限不足错误\\",\\n \\"message\\": \\"部署服务[_appcenter-xxx]失败,权限不足\\",\\n \\"code\\": \\"AccessDenied\\",\\n \\"requestId\\": \\"1-26d1287xxxxx\\",\\n \\"extraInfo\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题。https://help.aliyun.com\\"\\n }\\n },\\n \\"uid\\": \\"1455541096***548\\",\\n \\"generation\\": 1,\\n \\"description\\": \\"Task example.\\",\\n \\"kind\\": \\"Task\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-task\\",\\n \\"labels\\": {\\n \\"key\\": \\"value to the label key.\\"\\n },\\n \\"resourceVersion\\": 1\\n}","type":"json"}]', 'title' => 'PutTaskStatus', ], 'ActivateConnection' => [ 'summary' => 'Activates an identity connection. After you click the URL in the status parameter of the identity connection to complete the Open Authorization (OAuth) authorization, you can call this operation to activate the identity connection. Third-party code hosting platforms that support OAuth authorization include GitHub, Gitee, and Codeup.', 'path' => '/2023-07-14/connections/{name}/activate', 'methods' => [ 'patch', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsTN0KZI', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '激活内容', 'description' => '', 'type' => 'object', 'properties' => [ 'account' => [ 'title' => '代码托管平台中的账号信息', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/GitAccount', ], 'credential' => [ 'title' => '完成OAuth授权流程后获取的凭证信息,使用该凭证可以访问代码托管平台相关API', 'description' => '', 'required' => false, '$ref' => '#/components/schemas/OAuthCredential', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '激活后的身份绑定实体', 'description' => '', '$ref' => '#/components/schemas/Connection', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uid\\": \\"1455541096***548\\",\\n \\"kind\\": \\"Connection\\",\\n \\"createdTime\\": \\"2021-11-19T09:34:38Z\\",\\n \\"name\\": \\"my-connection\\",\\n \\"spec\\": {\\n \\"platform\\": \\"github\\",\\n \\"account\\": {\\n \\"name\\": \\"your_username\\",\\n \\"displayName\\": \\"your_displayname\\",\\n \\"id\\": \\"1\\",\\n \\"avatar\\": \\"https://gitee.com/assets/no_portrait.png\\",\\n \\"uri\\": \\"https://gitlab.com\\"\\n },\\n \\"gitlabConfig\\": {\\n \\"isFixedIP\\": true,\\n \\"uri\\": \\"http://gitlab.c16194660f14898a0810408171302ac.cn-shanghai.alicontainer.com/\\",\\n \\"token\\": \\"your-token\\"\\n }\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"description\\": \\"test-description\\",\\n \\"status\\": {\\n \\"installation\\": {\\n \\"stage\\": \\"finished\\",\\n \\"message\\": \\"Please click \'actionUri\' to complete the OAuth authorization process\\",\\n \\"actionUri\\": \\"https://github.com/login/oauth/authorize?client_id=86059a1b2bb20d3e5fc3&scope=repo,repo:status,delete_repo\\"\\n }\\n }\\n}","type":"json"}]', 'title' => 'ActivateConnection', ], 'FetchConnectionCredential' => [ 'summary' => 'Queries the credential of an identity connection for authorization. The credential is used to access a third-party code hosting platform.', 'path' => '/2023-07-14/connections/{name}/fetchCredential', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREdevsJWJ2XN', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => [ 'title' => '对象名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'demo-name', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '$ref' => '#/components/schemas/OAuthCredential', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"token\\": \\"4e84246b6b3962cd3d207aad1ea2f911\\",\\n \\"type\\": \\"bearer\\",\\n \\"scope\\": \\"user_info projects pull_requests hook gists emails\\",\\n \\"expiration\\": 1716263324603,\\n \\"createdTime\\": 1716176924603,\\n \\"refreshToken\\": \\"4d77bfae284770d94ebeed6b0199ebfd65e3943ba4f1e44dc36d792a93ba0d13\\"\\n}","type":"json"}]', 'title' => 'FetchConnectionCredential', ], ], 'endpoints' => [ [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'devs.cn-hangzhou.aliyuncs.com', ], ], ];