'1.0', 'info' => ['style' => 'ROA', 'product' => 'Devs', 'version' => '2023-07-14'], 'directories' => [ [ 'children' => ['UpdateToolset', 'ListToolsets', 'GetToolset', 'DeleteToolset', 'CreateToolset'], 'type' => 'directory', 'title' => '工具集', 'id' => 136668, ], [ 'children' => ['RenderServicesByTemplate'], 'type' => 'directory', 'title' => '模板', 'id' => 136656, ], [ 'children' => ['FetchArtifactDownloadUrl', 'FetchArtifactTempBucketToken', 'GetArtifact', 'PutArtifact', 'DeleteArtifact', 'CreateArtifact'], 'type' => 'directory', 'title' => '制品', 'id' => 136658, ], [ 'children' => ['DeployEnvironment', 'GetEnvironmentDeployment', 'GetServiceDeployment', 'ListServiceDeployments', 'PreviewEnvironment', 'CreateEnvironment', 'DeleteEnvironment', 'UpdateEnvironment', 'ListEnvironments', 'GetEnvironment'], 'type' => 'directory', 'title' => '环境', 'id' => 136624, ], [ 'children' => ['DeleteConnection', 'ListConnections'], 'type' => 'directory', 'title' => '身份绑定', 'id' => 136635, ], [ 'children' => ['GetRepository'], 'type' => 'directory', 'title' => '仓库绑定', 'id' => 136638, ], [ 'children' => ['CreatePipeline', 'ListPipelines', 'GetPipeline', 'StartPipeline', 'CancelPipeline', 'PutPipelineStatus'], 'type' => 'directory', 'title' => '流水线', 'id' => 136640, ], [ 'children' => ['CreateTask', 'ListTasks', 'GetTask', 'StartTask', 'RetryTask', 'ResumeTask', 'CancelTask', 'PutTaskStatus'], 'type' => 'directory', 'title' => '流水线任务', 'id' => 136647, ], [ 'children' => ['ActivateConnection', 'FetchConnectionCredential', 'CreateProject', 'DeleteProject', 'GetProject', 'ListProjects', 'UpdateProject'], 'type' => 'directory', 'title' => '其他', 'id' => 136665, ], ], 'components' => [ 'schemas' => [ 'APIKeyAuthParameter' => [ 'title' => 'API Key鉴权参数', 'type' => 'object', 'properties' => [ 'in' => [ 'title' => '鉴权API key所在HTTP请求位置', 'type' => 'string', 'example' => 'header', 'enum' => ['header', 'query'], ], 'key' => ['title' => '鉴权使用的API Key ', 'type' => 'string', 'example' => 'Authorization'], 'value' => ['title' => 'API Key的值', 'type' => 'string', 'example' => 'mock_value'], 'encrypted' => ['title' => 'API Key加密状态,只读', 'type' => 'boolean'], ], ], 'Authorization' => [ 'title' => '认证鉴权参数', 'type' => 'object', 'properties' => [ 'type' => [ 'title' => '鉴权类型。当前仅支持API Key鉴权(APIKey)', 'type' => 'string', 'required' => true, 'example' => 'APIKey', 'enum' => ['APIKey', 'Credentials'], ], 'parameters' => [ 'title' => '鉴权请求参数', 'type' => 'object', 'properties' => [ 'apiKeyParameter' => ['title' => 'API Key鉴权参数', '$ref' => '#/components/schemas/APIKeyAuthParameter'], 'credentials' => [ 'title' => '访问凭证', 'type' => 'object', 'additionalProperties' => ['$ref' => '#/components/schemas/Variable'], ], ], 'required' => true, ], ], ], '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' => 'Code流水线触发事件消息体', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'originalPayload' => ['title' => 'Codeup原始消息体', 'description' => 'Codeup原始消息体', 'visibility' => 'Public', 'type' => 'string', 'format' => 'byte', 'example' => '{'."\n" .' "before": "03b7be6d28af70ab38ca2ce8b42c3533c622d925",'."\n" .' "checkout_sha": "baf09c10ee5f28b5f36cec35e5e0e5c0abdcfa8a",'."\n" .' "object_kind": "push",'."\n" .' "ref": "refs/heads/test",'."\n" .' "commits": ['."\n" .' {'."\n" .' "id": "baf09c10ee5f28b5f36cec35e5e0e5c0abdcfa8a",'."\n" .' "message": "fix:recommend\\n"'."\n" .' }'."\n" .' ],'."\n" .' "after": "baf09c10ee5f28b5f36cec35e5e0e5c0abdcfa8a"'."\n" .'}'."\n" .'-- 必须使用原始的codeup发出的webhook事件', 'backendName' => 'originalPayload'], ], ], 'ComfyUIWorkflowTemplate' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'kind' => ['type' => 'string'], 'uid' => ['type' => 'string'], 'createdTime' => ['type' => 'string'], 'description' => ['type' => 'string'], 'spec' => ['$ref' => '#/components/schemas/ComfyUIWorkflowTemplateSpec'], 'installCount' => ['type' => 'integer', 'format' => 'int32'], 'viewerUids' => ['type' => 'string'], 'labels' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], 'ComfyUIWorkflowTemplateSpec' => [ 'type' => 'object', 'properties' => [ 'displayName' => ['type' => 'string'], 'author' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'type' => ['type' => 'string'], 'avatarUrl' => ['type' => 'string'], ], ], 'coverUrls' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'versions' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'object', 'properties' => [ 'snapshotName' => ['type' => 'string'], 'flows' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], ], ], ], 'models' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'path' => ['type' => 'string'], 'name' => ['type' => 'string'], 'size' => ['type' => 'string'], 'source' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'webUrl' => ['type' => 'string'], ], ], 'downloadUrls' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], ], 'nodes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'version' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'value' => ['type' => 'string'], ], ], 'source' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'webUrl' => ['type' => 'string'], 'cloneUrl' => ['type' => 'string'], ], ], ], ], ], ], ], ], 'publishedVersions' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'Condition' => [ 'title' => '执行条件', 'description' => '执行条件', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'expression' => ['title' => '返回值为bool类型的表达式', 'description' => '返回值为bool类型的表达式', 'visibility' => 'Public', 'type' => 'string', 'example' => 'enable == true'."\n" .'-- 表示ctx.data.enable的值为true时为真', 'backendName' => 'expression'], ], ], 'Connection' => [ 'title' => '身份绑定', 'description' => '项目', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => ['title' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', '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', ], 'description' => ['title' => '描述信息', 'description' => '描述信息', 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-description', 'backendName' => 'description'], 'status' => ['title' => '当前资源的状态信息,只读', 'description' => '当前资源的状态信息,只读', 'visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/ConnectionStatus'], ], ], 'ConnectionSpec' => [ 'title' => '身份绑定配置', 'description' => '仓库配置', 'type' => 'object', 'properties' => [ 'platform' => ['title' => '第三方代码托管平台类型,目前支持:github/gitee/gitlab/codeup', 'description' => '第三方代码托管平台类型,目前支持:github/gitee/gitlab/codeup', 'type' => 'string', 'required' => true, 'example' => 'github'], 'account' => ['title' => '代码托管平台账号相关的信息', 'description' => '代码托管平台账号相关的信息', '$ref' => '#/components/schemas/GitAccount'], 'gitlabConfig' => ['title' => '连接GitLab代码托管平台所需配置', 'description' => '连接GitLab代码托管平台所需配置', '$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' => 'json字符串,存储执行上下文', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'data' => ['title' => 'data是一个JSON结构的数据,描述执行的上下文数据', 'description' => 'data是一个JSON结构的数据,描述执行的上下文数据', 'visibility' => 'Public', 'type' => 'object', 'backendName' => 'data'], ], ], 'DifyPluginInstallationConfig' => [ 'type' => 'object', 'properties' => [ 'provider' => ['title' => '插件供应商', 'type' => 'string'], 'source' => [ 'title' => '插件来源', 'type' => 'object', 'properties' => [ 'marketplace' => [ 'title' => 'Dify插件市场配置', 'type' => 'object', 'properties' => [ 'pluginId' => ['title' => '插件市场中的插件ID', 'type' => 'string'], 'version' => ['title' => '插件版本', 'type' => 'string'], 'uniqueIdentifier' => ['title' => '插件唯一定位符', 'type' => 'string'], ], ], 'github' => [ 'title' => 'Github仓库配置', 'type' => 'object', 'properties' => [ 'repository' => ['title' => '仓库名称', 'type' => 'string'], 'version' => ['title' => '仓库release版本', 'type' => 'string'], 'package' => ['title' => '插件安装包名', 'type' => 'string'], ], ], 'downloadUrl' => ['title' => '自定义下载地址', 'type' => 'string'], 'oss' => [ 'title' => 'OSS对象存储配置', 'type' => 'object', 'properties' => [ 'bucket' => ['title' => '存储桶名称', 'type' => 'string'], 'object' => ['title' => '对象名称', 'type' => 'string'], 'endpoint' => ['title' => 'oss服务端点', 'type' => 'string'], ], ], ], ], ], ], 'DifyToolSchema' => [ 'type' => 'object', 'properties' => [ 'name' => ['title' => '工具名称', 'type' => 'string'], 'description' => ['title' => '工具描述', 'type' => 'string'], 'inputSchema' => ['title' => '输入schema', 'type' => 'object'], 'outputSchema' => ['title' => '自定义输出schema', 'type' => 'object'], ], ], 'EfmModel' => [ 'title' => '部署单元模型服务', 'type' => 'object', 'properties' => [ 'uid' => ['title' => '当前阿里云主账号的ID,只读', 'type' => 'string'], 'kind' => ['title' => '当前资源类型的名称,只读', 'type' => 'string'], 'createdTime' => ['title' => '表示创建此对象时服务器的时间,只读', 'type' => 'string'], 'updatedTime' => ['title' => '表示最后更新此对象时服务器的时间,只读', 'type' => 'string'], 'name' => ['title' => '当前模型服务的的名称。它需要是唯一的,且无法变更', 'type' => 'string', 'required' => true], 'resourceVersion' => ['title' => '当前状态的自增的序列号,由系统填充,只读。当资源更新时递增', 'type' => 'integer', 'format' => 'int32'], 'description' => ['title' => '描述信息'."\n", 'type' => 'string'], 'generation' => ['title' => '当前模型服务的自增的序列号,由系统填充,只读。当spec更新时递增', 'type' => 'string'], 'spec' => ['title' => '部署单元模型服务配置', 'required' => true, '$ref' => '#/components/schemas/EfmModelSpec'], 'status' => ['title' => '当前模型服务的状态信息,只读', '$ref' => '#/components/schemas/EfmModelStatus'], 'labels' => [ 'title' => '模型服务部署单元的标签', 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], 'EfmModelSpec' => [ 'title' => '部署单元配置', 'type' => 'object', 'properties' => [ 'capacity' => ['title' => '表示实际分配给模型的资源单元数量,必须是base_capacity的整数倍', 'type' => 'integer', 'format' => 'int32', 'required' => true], 'suffix' => ['title' => '模型部署后,将生成新的模型名称,suffix用于指定新模型名称的后缀,最大长度为8个字符且需全局唯一', 'type' => 'string'], 'modelName' => ['title' => '模型名称', 'type' => 'string', 'required' => true], 'token' => ['title' => '访问数据链路时候的 apiKey', 'type' => 'string'], 'disableURLInternet' => ['title' => '是否禁用公网', 'type' => 'boolean', 'default' => 'false'], 'modelUnitType' => ['title' => '模型单元', 'type' => 'string', 'required' => true], ], ], 'EfmModelStatus' => [ 'title' => '模型服务状态, 比如 RUNNING', 'type' => 'object', 'properties' => [ 'status' => ['title' => '', 'type' => 'string'], 'deployedName' => ['type' => 'string'], 'readyCapacity' => ['type' => 'integer', 'format' => 'int32'], 'workspaceId' => ['type' => 'string'], 'urlInternet' => ['type' => 'string'], 'token' => ['type' => 'string'], 'baseCapacity' => ['type' => 'integer', 'format' => 'int32'], 'urlIntranet' => ['type' => 'string'], 'disableURLInternet' => ['type' => 'boolean'], ], ], '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' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', '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', ], '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' => '当前资源的自增的序列号,由系统填充,只读,当spec、labels、description更新时递增。如果指定,系统会加入并发写校验,generation必须和系统中的状态值一致', 'description' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'generation'], ], ], 'EnvironmentSpec' => [ 'title' => '环境配置描述', 'description' => '环境配置', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'type' => [ 'title' => '环境类型,只能在testing、staging、production中选择', 'description' => '环境类型,只能在testing、staging、production中选择', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Testing', 'backendName' => 'type', 'default' => 'Production', 'enum' => ['Testing', 'Staging', 'Production'], ], 'roleArn' => ['title' => '环境角色', 'description' => '环境角色', 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:ram::*******:role/aliyundevsdefaultrole', 'backendName' => 'roleArn'], 'stagedConfigs' => ['title' => '环境下保存的配置,可以通过部署达到该配置状态', 'description' => '环境下保存的配置,可以通过部署达到该配置状态', 'visibility' => 'Public', 'backendName' => 'stagedConfigs', '$ref' => '#/components/schemas/EnvironmentStagedConfigs'], ], ], 'EnvironmentStatus' => [ 'title' => '环境状态', 'description' => '环境状态', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'servicesInstances' => [ 'title' => '项目下的服务使用当前环境中的配置进行部署后产生的服务实例', 'description' => '项目下的服务使用当前环境中的配置进行部署后产生的服务实例', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => ['visibility' => 'Public', '$ref' => '#/components/schemas/ServiceInstance'], 'backendName' => 'servicesInstances', ], 'latestEnvironmentDeploymentName' => ['title' => '最近一次部署计划的名称。每次环境部署都会产生一个部署计划,涉及若干个服务的部署', 'description' => '最近一次部署计划的名称。每次环境部署都会产生一个部署计划,涉及若干个服务的部署', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'latestEnvironmentDeploymentName'], 'servicesWithPendingChanges' => [ 'title' => '存在未部署的变更的服务名称列表', 'description' => '存在未部署的变更的服务名称列表', 'visibility' => 'Public', 'type' => 'array', 'items' => ['visibility' => 'Public', 'type' => 'string', 'example' => '服务名称', 'extendType' => 'true'], 'backendName' => 'servicesWithPendingChanges', ], 'observedGeneration' => ['title' => '资源最近的一次状态更新时的资源generation', 'description' => '系统最新观测到的资源generation', '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' => [ 'branch' => ['title' => '分支发生变更事件', 'description' => '分支发生变更事件', 'visibility' => 'Public', 'backendName' => 'branch', '$ref' => '#/components/schemas/BranchFilter'], ], ], 'EventPayload' => [ 'title' => 'A short description of struct', 'description' => '流水线触发事件消息体', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'github' => ['description' => 'Github流水线触发事件消息体', 'visibility' => 'Public', 'backendName' => 'github', '$ref' => '#/components/schemas/GithubEventPayload'], 'gitlab' => ['description' => 'Gitlab流水线触发事件消息体', 'visibility' => 'Public', 'backendName' => 'gitlab', '$ref' => '#/components/schemas/GitlabEventPayload'], 'codeup' => ['description' => 'Codeup流水线触发事件消息体', 'visibility' => 'Public', 'backendName' => 'codeup', '$ref' => '#/components/schemas/CodeupEventPayload'], 'gitee' => ['description' => 'Gitee流水线触发事件消息体', 'visibility' => 'Public', 'backendName' => 'gitee', '$ref' => '#/components/schemas/GiteeEventPayload'], 'manual' => ['description' => '手动触发流水线事件消息体', 'visibility' => 'Public', 'backendName' => 'manual', '$ref' => '#/components/schemas/ManualEventPayload'], ], ], 'FileManagerTask' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'id' => ['type' => 'string'], 'startTime' => ['type' => 'integer', 'format' => 'int64'], 'updateTime' => ['type' => 'integer', 'format' => 'int64'], 'finishedTime' => ['type' => 'integer', 'format' => 'int64'], 'finished' => ['type' => 'boolean'], 'success' => ['type' => 'boolean'], 'errorMessage' => ['type' => 'string'], 'parameters' => ['type' => 'any'], 'progress' => [ 'type' => 'object', 'properties' => [ 'currentBytes' => ['type' => 'integer', 'format' => 'int64'], 'totalBytes' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => ['type' => 'any'], 'errorCode' => ['type' => 'string'], ], ], 'GitAccount' => [ 'title' => 'A short description of struct', 'description' => 'OAuth凭证', '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' => '代码托管平台账号的ID,在每种代码托管平台下唯一', 'description' => '代码托管平台账号的ID,在每种代码托管平台下唯一', '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' => '代码托管平台的地址,仅在自建GitLab时使用', 'description' => '代码托管平台的地址,仅在自建GitLab时使用', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'https://gitlab.com', 'backendName' => 'uri'], ], ], 'GiteeEventPayload' => [ 'title' => 'A short description of struct', 'description' => 'Gitee流水线触发事件消息体', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'originalPayload' => ['title' => 'gitee原始消息体', 'description' => 'gitee原始消息体', 'visibility' => 'Public', 'type' => 'string', 'format' => 'byte', 'example' => '{}{'."\n" .' "after": "75008ebafa504ffc6d3fe2236b780b1a04663fbb",'."\n" .' "before": "f4abefc293a6df4d3be23945c4474f9d54f67645",'."\n" .' "commits": ['."\n" .' {'."\n" .' "id": "75008ebafa504ffc6d3fe2236b780b1a04663fbb",'."\n" .' "message": "update\\\\n"'."\n" .' }'."\n" .' ],'."\n" .' "ref": "refs/heads/master"'."\n" .'}'."\n" .'-- 必须使用原始的gitee发出的webhook事件', 'backendName' => 'originalPayload'], ], ], 'GitEventSnapshot' => [ 'title' => 'Git提交事件快照', 'description' => 'Git事件快照', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'branch' => ['title' => '本次发布关联的分支,如果是PR或MR事件,为源分支', 'description' => '本次发布关联的分支,如果是PR或MR事件,为源分支', 'visibility' => 'Public', 'type' => 'string', 'example' => 'main', 'backendName' => 'branch'], 'commitID' => ['title' => '本次发布关联的commitID', 'description' => '本次发布关联的commitID', 'visibility' => 'Public', 'type' => 'string', 'example' => '12721ec262d03a93809ba2bbc717963cb298ceca', 'backendName' => 'commitID'], 'tag' => ['title' => '本次发布关联的tag', 'description' => '本次发布关联的tag', 'visibility' => 'Public', 'type' => 'string', 'example' => '1.0', 'backendName' => 'tag'], ], ], 'GithubEventPayload' => [ 'title' => 'A short description of struct', 'description' => 'Github流水线触发事件消息体', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'originalPayload' => ['title' => 'github事件原始消息体', 'description' => 'github事件原始消息体', 'visibility' => 'Public', 'type' => 'string', 'format' => 'byte', 'example' => '{'."\n" .' "ref": "refs/heads/master",'."\n" .' "before": "1d4344d7eeda61c26c8a6d945d83b205b422f3e3",'."\n" .' "after": "9f3221a7e63f979281e3926bf619b193646ff561",'."\n" .' "commits": ['."\n" .' {'."\n" .' "id": "9f3221a7e63f979281e3926bf619b193646ff561",'."\n" .' "message": "update"'."\n" .' }'."\n" .' ],'."\n" .' "head_commit": {'."\n" .' "id": "9f3221a7e63f979281e3926bf619b193646ff561",'."\n" .' "message": "update"'."\n" .' }'."\n" .'}'."\n" .'-- 必须使用原始的github发出的webhook事件', 'backendName' => 'originalPayload'], ], ], 'GitLabConfig' => [ 'title' => 'A short description of struct', 'description' => '描述连接GitLab代码托管平台所需的信息', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'isFixedIP' => ['title' => '是否固定公网IP访问Gitlab', 'description' => '是否固定公网IP访问Gitlab', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'isFixedIP'], 'uri' => ['title' => 'GitLab的域名,默认为https://gitlab.com;当您使用自建GitLab时需要指定', 'description' => 'GitLab的域名,默认为https://gitlab.com;当您使用自建GitLab时需要指定', 'visibility' => 'Public', 'type' => 'string', 'example' => 'http://gitlab.c16194660f14898a0810408171302ac.cn-shanghai.alicontainer.com/', 'backendName' => 'uri'], 'token' => ['title' => 'GitLab私有Token,参考以下文档在GitLab控制台获取:https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html?spm=5176.fcnext.0.0.1aa378c8E3yBHw#create-a-personal-access-token', 'description' => 'GitLab私有Token,参考以下文档在GitLab控制台获取:https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html?spm=5176.fcnext.0.0.1aa378c8E3yBHw#create-a-personal-access-token', 'visibility' => 'Public', 'type' => 'string', 'example' => 'your-token', 'backendName' => 'token'], ], ], 'GitlabEventPayload' => [ 'title' => 'A short description of struct', 'description' => 'Gitlab流水线触发事件消息体', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'originalPayload' => ['title' => 'gitlab事件原始消息体', 'description' => 'gitlab事件原始消息体', 'visibility' => 'Public', 'type' => 'string', 'format' => 'byte', 'example' => '{'."\n" .' "object_kind": "push",'."\n" .' "event_name": "push",'."\n" .' "before": "a08b7d82ceaabc27394f526f35c22ff581a18a39",'."\n" .' "after": "787ef6aa092e4b9ed30fe29c7fc5c9cf4ac194d8",'."\n" .' "ref": "refs/heads/main",'."\n" .' "checkout_sha": "787ef6aa092e4b9ed30fe29c7fc5c9cf4ac194d8",'."\n" .' "commits": ['."\n" .' {'."\n" .' "id": "787ef6aa092e4b9ed30fe29c7fc5c9cf4ac194d8",'."\n" .' "message": "my message",'."\n" .' "title": "my message"'."\n" .' }'."\n" .' ]'."\n" .'}'."\n" .'-- 必须使用原始的gitlab发出的webhook事件', 'backendName' => 'originalPayload'], ], ], 'Installation' => [ 'title' => '账号绑定流程', 'description' => '指导用户完成OAuth授权流程', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'stage' => ['title' => '账号绑定流程的当前阶段,包括:pending、finished、invalid', 'description' => '账号绑定流程的当前阶段,包括:pending、finished、invalid', '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' => '本次触发的commitID', 'description' => '本次触发的commitID', 'visibility' => 'Public', 'type' => 'string', 'example' => '090e797efdabd2347b93b1cf331a9a3009df05c8', 'backendName' => 'commitID'], 'branch' => ['title' => '本次触发的分支名称', 'description' => '本次触发的分支名称', 'visibility' => 'Public', 'type' => 'string', 'example' => 'master', 'backendName' => 'branch'], 'tag' => ['title' => '本次触发的tag名称', 'description' => '本次触发的tag名称', 'visibility' => 'Public', 'type' => 'string', 'example' => 'prod-v1', 'backendName' => 'tag'], 'templateConfig' => ['title' => '本次触发的模板信息,比Git触发优先级更高', 'description' => '本次触发的模板信息,比Git触发优先级更高', 'visibility' => 'Public', 'backendName' => 'templateConfig', '$ref' => '#/components/schemas/TemplateConfig'], ], ], 'MCPGatewayConfig' => [ 'title' => 'MCP Gateway配置详情', 'type' => 'object', 'properties' => [ 'routes' => [ 'title' => '路由配置', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'backends' => [ 'title' => '后端配置', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'title' => '后端名称', 'type' => 'string', 'enum' => ['MCP', 'OpenAPI', 'Toolset'], ], 'type' => [ 'title' => '后端类型', 'type' => 'string', 'enum' => ['OpenAPI', 'MCP', 'Toolset'], ], 'details' => [ 'title' => '后端配置详情', 'type' => 'object', 'properties' => [ 'mcpInstallation' => ['title' => 'MCP服务器安装配置', '$ref' => '#/components/schemas/MCPServerInstallationConfig'], 'toolsetSelector' => [ 'title' => '工具集选择器', 'type' => 'object', 'properties' => [ 'toolsetName' => ['title' => '工具集名称', 'type' => 'string'], 'toolName' => ['title' => '工具名称', 'type' => 'string'], ], ], 'openAPISchema' => ['title' => 'OpenAPI schema配置', 'type' => 'string'], ], ], ], ], ], 'policies' => [ 'title' => '策略配置', 'type' => 'object', 'properties' => [ 'authorization' => ['title' => '第三方鉴权配置', '$ref' => '#/components/schemas/Authorization'], ], ], ], ], ], ], ], 'MCPInstallationConfig' => [ 'title' => 'MCP安装配置', 'type' => 'object', 'properties' => [ 'mcpServers' => ['title' => 'MCP server配置', '$ref' => '#/components/schemas/MCPServerInstallationConfig'], ], ], 'MCPServerInstallationConfig' => [ 'title' => 'MCP server安装配置', 'type' => 'object', 'properties' => [ 'transportType' => [ 'title' => '传输类型', 'type' => 'string', 'enum' => ['stdio', 'sse', 'streamableHttp'], ], 'url' => ['title' => 'MCP server地址。仅对sse以及streamableHttp传输类型有效', 'type' => 'string'], 'command' => ['title' => 'MCP server启动命令,仅对stdio传输类型生效。仅支持uvx、npx', 'type' => 'string'], 'args' => ['title' => 'MCP server启动参数,仅对stdio传输类型生效。', 'type' => 'string'], 'env' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], 'MCPToolMeta' => [ 'title' => 'MCP类型的工具元信息', 'type' => 'object', 'properties' => [ 'name' => ['title' => '工具名称', 'type' => 'string', 'example' => 'demo-tool'], 'description' => ['title' => '工具描述', 'type' => 'string', 'example' => 'Here is an example'], 'inputSchema' => ['type' => 'object'], ], ], 'ModelSet' => [ 'title' => '模型集', 'description' => '模型集', 'type' => 'object', 'properties' => [ 'generation' => ['title' => '当前资源的自增的序列号,由系统填充,只读,当spec、labels、description更新时递增。如果指定,系统会加入并发写校验,generation必须和系统中的状态值一致', 'type' => 'integer', 'format' => 'int64'], 'uid' => ['title' => '当前阿里云主账号的ID,只读', 'type' => 'string', 'required' => false, 'example' => '1455541096***548'], 'kind' => ['title' => '当前资源的类型,只读', 'type' => 'string', 'example' => 'ModelProvider'], 'name' => ['title' => '模型集的名称,账号内唯一,不可修改', 'type' => 'string', 'required' => true, 'example' => 'my-modelset'], 'createdTime' => ['title' => '模型集创建时间,只读', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z'], 'description' => ['title' => '模型集的描述信息', 'type' => 'string', 'example' => 'test-description'], 'status' => ['$ref' => '#/components/schemas/ModelSetStatus'], 'labels' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string', 'example' => 'key=value'], 'example' => 'key=value', ], ], ], 'ModelSetModelProfile' => [ 'title' => '模型集的模型配置', 'type' => 'object', 'properties' => [ 'sourceType' => [ 'title' => '模型来源类型。predefined:预定义模型,customized:自定义模型', 'type' => 'string', 'example' => 'predefined', 'enum' => ['customized', 'predefined'], ], 'displayName' => ['title' => '模型展示名称', 'type' => 'string', 'example' => '通义千问-Turbo-Latest'], 'name' => ['title' => '模型名称,API调用时指定', 'type' => 'string', 'required' => true, 'example' => 'qwen-turbo-latest'], 'description' => ['title' => '模型描述', 'type' => 'string', 'example' => '通义千问系列速度最快、成本很低的模型,适合简单任务。本模型是动态更新版本,模型更新不会提前通知,模型中英文综合能力显著提升,模型人类偏好显著提升,模型推理能力和复杂指令理解能力显著增强,困难任务上的表现更优,数学、代码能力显著提升。'], 'props' => [ 'title' => '模型属性', 'type' => 'object', 'properties' => [ 'llmMode' => ['title' => 'LLM模型模式,仅模型类型为llm可用。completion:文本补全;chat:对话', 'type' => 'string'], 'contextSize' => ['title' => '模型上下文窗口大小,模型支持的最大 Token 数。 仅模型类型为llm以及text-embedding 可用', 'type' => 'integer', 'format' => 'int64'], ], ], 'enabled' => ['title' => '是否启用', 'type' => 'boolean'], ], ], 'ModelSetSpec' => [ 'title' => '模型集配置', 'type' => 'object', 'properties' => [ 'authConfig' => ['title' => '鉴权配置', '$ref' => '#/components/schemas/Authorization'], 'provider' => [ 'title' => '模型提供商', 'type' => 'string', 'example' => 'FunctionAI', 'enum' => ['OpenAI', 'FunctionAI', 'Tongyi', 'Anthropic', 'OpenAICompatible'], ], 'baseUrl' => ['title' => '模型集服务地址,用于调用具体的模型', 'type' => 'string'], 'features' => [ 'title' => '模型能力特征', 'type' => 'object', 'properties' => [ 'toolCall' => ['title' => '是否支持ToolCall', 'type' => 'boolean'], 'vision' => ['title' => '是否支持视觉', 'type' => 'boolean'], 'agentThought' => ['title' => '是否支持Agent 推理', 'type' => 'boolean'], ], ], 'modelType' => [ 'title' => '模型类型,包括:'."\n" .'llm:文本生成模型'."\n" .'text-embedding: 文本 Embedding 模型'."\n" .'rerank: Rerank 模型'."\n" .'speech2text: 语音转文字模型'."\n" .'tts: 文字转语音模型'."\n" .'moderation:审查模型', 'type' => 'string', 'required' => true, 'example' => 'llm', 'enum' => ['llm', 'text-embedding', 'tts', 'rerank', 'speech2text', 'moderation'], ], 'apiInvokeType' => [ 'title' => 'API调用方式。OpenAI(openai)、Anthropic(anthropic),Ollama(ollama)', 'type' => 'string', 'example' => 'openai', 'enum' => ['openai', 'ollama', 'anthropic', 'dashscope'], ], 'models' => [ 'title' => '模型列表', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ModelSetModelProfile'], 'required' => true, ], ], ], 'ModelSetStatus' => [ 'title' => '模型供应商状态', 'type' => 'object', 'properties' => [ 'phase' => ['title' => '模型供应商当前状态', 'type' => 'string'], 'observedTime' => ['title' => '资源最近的一次状态更新时间', 'type' => 'string'], 'observedGeneration' => ['title' => '资源最近的一次状态更新时的资源generation', 'type' => 'integer', 'format' => 'int64'], ], ], 'OAuthCredential' => [ 'title' => '身份绑定凭证', 'description' => 'OAuth凭证', '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' => '凭证到期时间,时间戳形式,-1表示永久有效', 'description' => '凭证到期时间,时间戳形式,-1表示永久有效', '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'], ], ], 'OpenAPIToolMeta' => [ 'title' => 'OpenAPI类型的工具元信息', 'type' => 'object', 'properties' => [ 'toolName' => ['title' => '工具名称', 'type' => 'string'], 'toolId' => ['title' => '工具ID', 'type' => 'string'], 'path' => ['title' => '工具在OpenAPI中对应的路径', 'type' => 'string'], 'method' => ['title' => '工具在OpenAPI中对应的方法', 'type' => 'string'], ], ], 'OSSMountPoint' => [ 'type' => 'object', 'properties' => [ 'bucketName' => ['type' => 'string'], 'bucketPath' => ['type' => 'string'], 'endpoint' => ['type' => 'string'], 'mountDir' => ['type' => 'string'], 'readOnly' => ['type' => 'boolean'], ], ], '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' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid'], 'generation' => ['title' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', 'description' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', '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'], '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' => '流水线执行流程的描述,优先级高于templateName,流水线执行不再需要预先创建PipelineTemplate', 'description' => '流水线执行流程的描述,优先级高于templateName,流水线执行不再需要预先创建PipelineTemplate', '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' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid'], 'generation' => ['title' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', 'description' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', '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' => '描述git事件触发流水线的规则', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'uid' => ['title' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid'], 'generation' => ['title' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', 'description' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', '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'], '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' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid'], 'generation' => ['title' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', 'description' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', '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'], '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' => [ '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' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', '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'], 'labels' => [ 'title' => '资源的标签', 'description' => '资源的标签', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => ['visibility' => 'Public', 'type' => 'string', 'example' => 'key=value'], 'backendName' => 'labels', ], 'description' => ['title' => '描述信息', 'description' => '描述信息', 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-description', 'backendName' => 'description'], 'spec' => ['visibility' => 'Private', 'backendName' => 'spec', '$ref' => '#/components/schemas/ProjectSpec'], 'status' => ['visibility' => 'Public', 'backendName' => 'status', '$ref' => '#/components/schemas/ProjectStatus'], ], ], 'ProjectSpec' => [ 'title' => '项目配置', 'description' => '一键部署配置', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'token' => ['title' => '项目身份令牌,用于触发部署时的身份校验,只读', 'description' => '项目身份令牌,用于触发部署时的身份校验,只读', 'visibility' => 'Private', 'type' => 'string', 'example' => '9D72DE01-C732-49C0-8E85-FFD9D695436B', 'backendName' => 'token'], ], ], 'ProjectStatus' => [ 'title' => '项目状态', 'description' => '一键部署配置', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'services' => [ 'title' => '项目下的服务列表', 'description' => '项目下的服务列表', 'visibility' => 'Public', 'type' => 'array', 'items' => ['visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/ServiceMeta'], 'backendName' => 'services', ], 'isDeleting' => ['title' => '项目是否删除中', 'description' => '项目是否删除中', 'visibility' => 'Private', 'type' => 'boolean', 'backendName' => 'isDeleting'], ], ], 'PublishTask' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'kind' => ['type' => 'string'], 'uid' => ['type' => 'string'], 'createdTime' => ['type' => 'string'], 'description' => ['type' => 'string'], 'spec' => ['$ref' => '#/components/schemas/PublishTaskSpec'], 'status' => ['$ref' => '#/components/schemas/PublishTaskStatus'], 'labels' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], 'PublishTaskSpec' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'options' => [ 'type' => 'object', 'properties' => [ 'autoSave' => ['type' => 'boolean'], ], ], 'rawResourceConfig' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'any'], ], ], ], 'PublishTaskStatus' => [ 'type' => 'object', 'properties' => [ 'phase' => ['type' => 'string'], 'phases' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'object', 'properties' => [ 'attempts' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'startTime' => ['type' => 'string'], 'finishTime' => ['type' => 'string'], 'details' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'any'], ], 'error' => [ 'type' => 'object', 'properties' => [ 'message' => ['type' => 'string'], 'code' => ['type' => 'string'], ], ], ], ], ], ], ], 'PullRequestFilter' => [ 'title' => 'PR或MR事件过滤配置', 'description' => 'PR或MR事件过滤配置', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'sourceBranch' => ['title' => 'PR或MR的来源分支名称正则表达式,不填则表示所有分支', 'description' => 'PR或MR的来源分支名称正则表达式,不填则表示所有分支', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'feature-.*', 'backendName' => 'sourceBranch'], 'targetBranch' => ['title' => 'PR或MR的目标分支名称正则表达式,不填则表示所有分支', 'description' => 'PR或MR的目标分支名称正则表达式,不填则表示所有分支', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => 'master', 'backendName' => 'targetBranch'], 'types' => [ 'title' => 'PR或MR的类型,为空则表示所有类型。TODO:场景类型', 'description' => 'PR或MR的类型,为空则表示所有类型。', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => '可枚举的类型。包括:(opened、closed、merged、reopened、updated)', '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' => '推送的tag名称正则表达式', 'description' => '推送的tag名称正则表达式', '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' => '本次发布的状态,受流水线与流水线任务执行状态影响。包括的状态以及含义如下: Running: 部署中 HangUp: 挂起等待审批中 Finished: 部署完成 Failed: 部署失败 Canceled: 已取消', 'description' => '本次发布的状态,受流水线与流水线任务执行状态影响。包括的状态以及含义如下: Running: 部署中 HangUp: 挂起等待审批中 Finished: 部署完成 Failed: 部署失败 Canceled: 已取消', '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' => '本次发布的Git事件快照。只有关联仓库的项目存在该字段', 'description' => '本次发布的Git事件快照。只有关联仓库的项目存在该字段', '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' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', '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', ], 'description' => ['title' => '描述信息', 'description' => '描述信息', 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-description', 'backendName' => 'description'], ], ], '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' => '指定资源描述文件(s.yaml)的文件名,该路径为代码仓库下的相对路径', 'description' => '指定资源描述文件(s.yaml)的文件名,该路径为代码仓库下的相对路径', 'visibility' => 'Public', 'type' => 'string', 'example' => 'src/s.yaml', 'backendName' => 'manifest'], ], ], 'RepositorySpec' => [ 'title' => '仓库绑定配置', 'description' => '仓库配置', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'connectionName' => ['title' => '仓库所使用的身份绑定信息。通过关联的Connection可以获取到代码托管平台账号和凭证等信息', 'description' => '仓库所使用的身份绑定信息。通过关联的Connection可以获取到代码托管平台账号和凭证等信息', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'awesome-connection', 'backendName' => 'connectionName'], 'cloneUrl' => ['title' => '拉取仓库代码(git clone)所需的链接,支持HTTPS和SSH形式。', 'description' => '拉取仓库代码(git clone)所需的链接,支持HTTPS和SSH形式。', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'https://github.com/DDofDD/start-springboot-lfgy.git', 'backendName' => 'cloneUrl'], 'platform' => ['title' => '只读,仓库所属代码托管平台的类型,支持github、gitee、gitlab、codeup', 'description' => '只读,仓库所属代码托管平台的类型,支持github、gitee、gitlab、codeup', 'visibility' => 'Public', 'type' => 'string', 'example' => 'github', 'backendName' => 'platform'], 'id' => ['title' => '只读,代码托管平台中的仓库ID,平台内唯一', 'description' => '只读,代码托管平台中的仓库ID,平台内唯一', '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' => '触发流水线执行的cicd.yaml在仓库中的位置,适用于DevOps的场景。此配置拥有最高优先级,所有流水线执行相关的配置都需要在cicd.yaml文件中定义,其他流水线执行配置均不生效。如果cicd.yaml不存在,则在触发执行时会出错。', 'description' => '触发流水线执行的cicd.yaml在仓库中的位置,适用于DevOps的场景。此配置拥有最高优先级,所有流水线执行相关的配置都需要在cicd.yaml文件中定义,其他流水线执行配置均不生效。如果cicd.yaml不存在,则在触发执行时会出错。', 'visibility' => 'Public', 'type' => 'string', 'example' => 'cd.yaml', 'backendName' => 'yamlFilePath'], 'yamlFileContent' => ['title' => '触发流水线执行的cicd.yaml的内容。此配置拥有仅次于yamlFilePath的优先级。所有流水线执行相关的配置都需要在cicd.yaml文件中定义,流水线执行配置均不生效。', 'description' => '触发流水线执行的cicd.yaml的内容。此配置拥有仅次于yamlFilePath的优先级。所有流水线执行相关的配置都需要在cicd.yaml文件中定义,流水线执行配置均不生效。', 'visibility' => 'Public', 'type' => 'string', 'example' => 'kind: Pipeline'."\n" .' # 流水线执行名称,需要全局唯一。如果流水线模板存在,则不能成功提交流水线执行'."\n" .' # 推荐使用commitID与时间戳构造唯一的名称'."\n" .' name: "p-<% .git.shortCommitId %>-<% .currentTimestampMs %>"'."\n" .' # 一些任意的描述信息'."\n" .' description: \'demo pipeline\''."\n" .' # 添加任意的labels,用于查询过滤'."\n" .' # 应用中心会在提交时也会添加其他labels'."\n" .' labels:'."\n" .' myLabel: my-cicd-example'."\n" .' spec:'."\n" .' context:'."\n" .' data:'."\n" .' appName: <% .appName %>'."\n" .' envName: <% .envName %>'."\n" .' deployFile: s.yaml'."\n" .' templateSpec:'."\n" .' # 要执行的任务,默认所有任务会一同尝试执行'."\n" .' # 执行会满足runAfters引入的先后约束,任务必须在runAfters声明的任务执行完毕后才可以被执行'."\n" .' # 用户可以使用此特性,达到DAG描述的效果'."\n" .' tasks:'."\n" .' # 构建前检查'."\n" .' - name: pre-check'."\n" .' context:'."\n" .' data:'."\n" .' displayName: "前置检查"'."\n" .' # 打开任务执行,默认是关闭的'."\n" .' enable: true'."\n" .' # 同样可以在此处声明钉钉告警配置,修改告警模板'."\n" .' # dingdingNotification:'."\n" .' # 同样可以在此处声明或修改RunnerConfig'."\n" .' # runnerConfig:'."\n" .' # 执行步骤。下述步骤将会采用开源项目serverless-cd提供的engine进行执行'."\n" .' steps:'."\n" .' # 第一步,初始化s工具'."\n" .' - plugin: "@serverless-cd/s-setup"'."\n" .' # 第二步,checkout代码'."\n" .' # 这里采用了plugin机制,运行serverless-cd社区的插件'."\n" .' # @serverless-cd/checkout是一个社区提供的插件,它会将代码checkout到默认路径'."\n" .' # 我们会陆续为社区提供更多的插件'."\n" .' - plugin: "@serverless-cd/checkout"'."\n" .' # 执行s-plan,并打印输出内容'."\n" .' # 这里为了说明engine能力,将它拆分成了多个step执行'."\n" .' - run: s plan -t ${{ ctx.data.deployFile || "s.yaml" }}'."\n" .' - run: echo "s plan finished."'."\n" .' # 任务模板。这里使用了内置的模板serverless-runner-task'."\n" .' taskTemplate: serverless-runner-task'."\n" .' # 执行顺序,当前任务执行依赖runAfters任务都执行成功'."\n" .' runAfters: []'."\n" .' # 构建并部署'."\n" .' - name: build-and-deploy'."\n" .' context:'."\n" .' data:'."\n" .' # 打开任务执行,默认是关闭的'."\n" .' enable: true'."\n" .' # 同样可以在此处声明钉钉告警配置,修改告警模板'."\n" .' # dingdingNotification:'."\n" .' # 同样可以在此处声明或修改RunnerConfig'."\n" .' # runnerConfig:'."\n" .' # 执行步骤。下述步骤将会采用开源项目serverless-cd提供的engine进行执行'."\n" .' steps:'."\n" .' # 每个Task都是独立运行的Serverless实例,需要再次初始化s工具'."\n" .' - plugin: "@serverless-cd/s-setup"'."\n" .' # 同理,需要重新checkout'."\n" .' - plugin: "@serverless-cd/checkout"'."\n" .' # 执行s-deploy'."\n" .' - plugin: "@serverless-cd/s-deploy"'."\n" .' taskTemplate: serverless-runner-task'."\n" .' # 执行顺序,当前任务执行依赖runAfters任务都执行成功'."\n" .' runAfters:'."\n" .' # 在approval后执行'."\n" .' - name: pre-check', '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' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid'], 'generation' => ['title' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', 'description' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', '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'], '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' => '部署服务[_appcenter-xxx]失败,权限不足', 'backendName' => 'message'], 'code' => ['title' => '错误码', 'description' => '错误码', 'visibility' => 'Public', 'type' => 'string', 'example' => 'AccessDenied', 'backendName' => 'code'], 'requestId' => ['title' => '请求ID', 'description' => '请求ID', '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' => '调用ID,任务在函数计算中的调用ID', 'description' => '调用ID,任务在函数计算中的调用ID', 'visibility' => 'Public', 'type' => 'string', 'example' => 'E099843B-10A2-4936-9964-4E0EE263D564', 'backendName' => 'invocationID'], 'requestID' => ['title' => '请求ID,任务在函数计算中的请求ID', 'description' => '请求ID,任务在函数计算中的请求ID', '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' => '调用命中的实例ID', 'description' => '调用命中的实例ID', 'visibility' => 'Public', 'type' => 'string', 'example' => 'c-nkj8shz7xxxx', 'backendName' => 'instanceID'], 'slsProject' => ['title' => '日志投递到SLS产品的Project名称', 'description' => '日志投递到SLS产品的Project名称', 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-sls-project', 'backendName' => 'slsProject'], 'slsLogStore' => ['title' => '日志投递到SLS产品的Logstore名称', 'description' => '日志投递到SLS产品的Logstore名称', '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' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', 'visibility' => 'Public', 'type' => 'string', 'required' => false, 'example' => '1455541096***548', 'backendName' => 'uid'], 'generation' => ['title' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', 'description' => '当前配置的自增的序列号,由系统填充,只读。当spec更新时递增', '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' => '执行上下文的JSON Schema描述信息', 'description' => '执行上下文的JSON Schema描述信息', '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' => [ 'variableValues' => ['title' => '模板变量', 'description' => '模板变量', 'visibility' => 'Public', 'backendName' => 'variableValues', '$ref' => '#/components/schemas/TemplateVariableValueMap'], 'templateName' => ['title' => '模板名称', 'description' => '模板名称', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'start-springboot', 'backendName' => 'templateName'], 'parameters' => [ 'title' => '模板参数', 'description' => '模板参数', 'visibility' => 'Public', 'type' => 'object', 'required' => false, 'additionalProperties' => ['visibility' => 'Public', 'type' => 'string', 'example' => '{"region":"cn-hangzhou"}'], 'example' => '{"region":"cn-hangzhou"}', 'backendName' => 'parameters', ], 'serviceNameChanges' => [ 'title' => '服务名称变化,key是模板原始服务名,value是需要修改的目标服务名', 'description' => '服务名称变化,key是模板原始服务名,value是需要修改的目标服务名', 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => ['visibility' => 'Public', 'type' => 'string', 'example' => '{"originName": "newName"}'], 'example' => '{"svc1":"svc2"}', 'backendName' => 'serviceNameChanges', ], ], ], 'Toolset' => [ 'title' => '工具集', 'description' => '工具集', 'type' => 'object', 'properties' => [ 'uid' => ['title' => '当前阿里云主账号的ID,只读', 'description' => '当前阿里云主账号的ID,只读', 'type' => 'string', 'required' => false, 'example' => '1455541096***548'], 'kind' => ['title' => '当前资源的名称,只读', 'description' => '当前资源的名称,只读', 'type' => 'string', 'example' => 'Toolset'], 'name' => ['title' => '当前资源的名称。它需要是唯一的,且无法变更', 'description' => '当前资源的名称。它需要是唯一的,且无法变更', 'type' => 'string', 'required' => true, 'example' => 'my-toolset'], 'createdTime' => ['title' => '表示创建此对象时服务器的时间,只读', 'description' => '表示创建此对象时服务器的时间,只读', 'type' => 'string', 'example' => '2021-11-19T09:34:38Z'], 'description' => ['title' => '工具集的描述信息', 'description' => '工具集的描述信息', 'type' => 'string', 'example' => 'test-description'], 'spec' => ['title' => '工具集具体配置', 'description' => '工具集具体配置', '$ref' => '#/components/schemas/ToolsetSpec'], 'labels' => [ 'title' => '资源的标签', 'description' => '资源的标签', 'type' => 'object', 'additionalProperties' => ['description' => '标签', 'type' => 'string', 'example' => 'key=value'], ], 'status' => ['title' => '工具集状态', 'description' => '工具集状态', '$ref' => '#/components/schemas/ToolsetStatus'], 'generation' => ['title' => '当前资源的自增的序列号,由系统填充,只读,当spec、labels、description更新时递增。如果指定,系统会加入并发写校验,generation必须和系统中的状态值一致', 'description' => '当前资源的自增的序列号,由系统填充,只读,当spec、labels、description更新时递增。如果指定,系统会加入并发写校验,generation必须和系统中的状态值一致', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], 'ToolsetAuthorization' => [ 'title' => '工具集鉴权信息', 'type' => 'object', 'properties' => [ 'type' => ['title' => '工具集鉴权类型', 'type' => 'string', 'example' => 'apiKey'], 'authConfig' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], 'ToolsetSchema' => [ 'title' => '工具集接口规范与配置', 'description' => '工具集鉴权信息', 'type' => 'object', 'properties' => [ 'type' => ['title' => '工具集 Schema 类型', 'description' => '工具集 Schema 类型', 'type' => 'string', 'example' => 'OpenAPI'], 'detail' => ['title' => '工具集 Schema 详情', 'description' => '工具集 Schema 详情', 'type' => 'string', 'example' => 'openapi: 3.0.1'."\n" .'info:'."\n" .' title: web-search-baidu-balabala'."\n" .' description: 使用百度搜索查询实时新闻消息。'."\n" .' version: v1'."\n" .'servers:'."\n" .' - url: https://baidu-ehd-brwxrpgffd.cn-hangzhou.fcapp.run'."\n" .'paths:'."\n" .' /invoke:'."\n" .' post:'."\n" .' operationId: baidu_search'."\n" .' summary: 使用百度查询信息获取信息列表'."\n" .' requestBody:'."\n" .' required: true'."\n" .' content:'."\n" .' application/json:'."\n" .' schema:'."\n" .' type: object'."\n" .' required:'."\n" .' - search_input'."\n" .' properties:'."\n" .' search_input:'."\n" .' type: string'."\n" .' description: 要搜索的内容'."\n" .' responses:'."\n" .' \'200\':'."\n" .' description: 查询成功'."\n" .' content:'."\n" .' application/json:'."\n" .' schema:'."\n" .' type: object'."\n" .' required:'."\n" .' - content'."\n" .' properties:'."\n" .' content:'."\n" .' type: string'."\n" .' description: 查询结果'."\n", 'deprecated' => false], 'config' => [ 'type' => 'object', 'properties' => [ 'mcpInstallation' => ['title' => 'MCP服务器安装配置,只针对type为MCP时有效', '$ref' => '#/components/schemas/MCPInstallationConfig'], 'openAPISchema' => ['title' => 'OpenAPI Schema详情,仅针对type为OpenAPI时有效', 'type' => 'string'], 'mcpGateway' => ['title' => 'MCP网关配置,仅针对type为MCPGateway时有效', '$ref' => '#/components/schemas/MCPGatewayConfig'], 'difyPluginInstallation' => ['title' => 'Dify插件安装配置', '$ref' => '#/components/schemas/DifyPluginInstallationConfig'], ], ], ], ], 'ToolsetSpec' => [ 'title' => '工具集配置', 'description' => '工具集配置', 'type' => 'object', 'properties' => [ 'schema' => ['title' => '工具集schema结构', 'description' => '工具集schema结构', '$ref' => '#/components/schemas/ToolsetSchema'], 'networkConfig' => [ 'title' => '工具集网络配置', 'type' => 'object', 'properties' => [ 'internetAccess' => ['title' => '是否允许工具集函数访问公网', 'type' => 'boolean'], 'vpcConfig' => [ 'title' => '工具集vpc配置', 'type' => 'object', 'properties' => [ 'vpcId' => ['title' => 'vpd id', 'type' => 'string'], 'vSwitchIds' => [ 'title' => '交换机列表', 'type' => 'array', 'items' => ['type' => 'string'], ], 'securityGroupId' => ['title' => '安全组id', 'type' => 'string'], ], ], ], ], 'authConfig' => ['title' => '鉴权配置', 'description' => '鉴权配置', '$ref' => '#/components/schemas/Authorization'], ], ], 'ToolsetStatus' => [ 'description' => '工具集状态', 'type' => 'object', 'properties' => [ 'phase' => ['title' => '工具集状态。Pending:初始状态;Installing:安装中,只有uvx、npx托管时才进入该状态;Installed:成功状态,表示成功安装;Failed:失败状态,安装失败会进入到该状;Invalid:无效状态,当导入存量的mcp server时,访问该server的url执行listTools失败会进入到该状态', 'description' => '工具集状态。Pending:初始状态;Installing:安装中,只有uvx、npx托管时才进入该状态;Installed:成功状态,表示成功安装;Failed:失败状态,安装失败会进入到该状;Invalid:无效状态,当导入存量的mcp server时,访问该server的url执行listTools失败会进入到该状态', 'type' => 'string', 'example' => 'Installed'], 'outputs' => [ 'description' => '工具集输出', 'type' => 'object', 'properties' => [ 'functionArn' => ['title' => '函数资源定位符。当工具集托管资源时存在该字段', 'description' => '函数资源定位符。当工具集托管资源时存在该字段', 'type' => 'string', 'example' => 'acs:fc:cn-qingdao:0000:functions/aliyun_merchant_login_egistration'], 'urls' => [ 'title' => '工具集访问地址。仅当工具集托管资源时存在该字段', 'description' => '工具集访问地址。仅当工具集托管资源时存在该字段', 'type' => 'object', 'properties' => [ 'internetUrl' => ['title' => '公网访问地址', 'description' => '公网访问地址', 'type' => 'string', 'example' => 'https://mock.cn-hangzhou.fcapp.run/sse'], 'intranetUrl' => ['title' => '内网访问地址', 'description' => '内网访问地址', 'type' => 'string', 'example' => 'https://mock.cn-hangzhou-vpc.fcapp.run/sse'], ], ], 'mcpServerConfig' => [ 'title' => 'MCP服务器访问配置。仅当MCP类型的工具集存在该字段', 'description' => 'MCP服务器访问配置。仅当MCP类型的工具集存在该字段', 'type' => 'object', 'properties' => [ 'url' => ['title' => 'MCP服务器访问地址', 'description' => 'MCP服务器访问地址', 'type' => 'string', 'example' => 'https://mock.cn-hangzhou.fcapp.run/sse'], 'transportType' => ['title' => 'MCP服务器传输类型。SSE、StreamableHttp', 'description' => 'MCP服务器传输类型。SSE、StreamableHttp', 'type' => 'string', 'example' => 'sse'], 'headers' => [ 'description' => '请求头', 'type' => 'object', 'additionalProperties' => ['description' => '请求头的值', 'type' => 'string', 'example' => '{\'Authorization\': Bearer xxxx}'], ], ], ], 'openApiTools' => [ 'title' => 'OpenAPI类型的工具集工具列表,仅当OpenAPI类型的工具集存在该字段', 'description' => 'OpenAPI类型的工具集工具列表,仅当OpenAPI类型的工具集存在该字段', 'type' => 'array', 'items' => ['description' => 'OpenAPI工具信息', '$ref' => '#/components/schemas/OpenAPIToolMeta'], ], 'tools' => [ 'title' => 'MCP类型的工具集工具列表,仅当MCP类型的工具集存在该字段', 'description' => 'MCP类型的工具集工具列表,仅当MCP类型的工具集存在该字段', 'type' => 'array', 'items' => ['description' => 'MCP工具信息', '$ref' => '#/components/schemas/MCPToolMeta'], ], 'difyTools' => [ 'title' => 'Dify类型的工具集工具列表,仅当DifyPlugin类型的工具集存在该字段', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/DifyToolSchema'], ], ], ], 'observedGeneration' => ['title' => '资源最近的一次状态更新时的资源generation', 'description' => '资源最近的一次状态更新时的资源generation', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'observedTime' => ['title' => '资源最近的一次状态更新时间', 'description' => '资源最近的一次状态更新时间', 'type' => 'string', 'example' => '2025-07-28T14:03:19Z'], ], ], 'Variable' => [ 'title' => '变量', 'description' => '变量', 'type' => 'object', 'properties' => [ 'value' => ['title' => '变量的值', 'description' => '变量的值', 'type' => 'any', 'example' => 'object_value'], 'sensitive' => ['title' => '变量是否敏感', 'description' => '变量是否敏感', 'type' => 'boolean', 'example' => 'false'], 'encrypted' => ['title' => '变量是否被加密', 'description' => '变量是否被加密', 'type' => 'boolean', 'example' => 'false'], ], ], ], ], 'apis' => [ 'ActivateConnection' => [ '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' => '完成OAuth授权流程后获取的凭证信息,使用该凭证可以访问代码托管平台相关API', 'required' => false, '$ref' => '#/components/schemas/OAuthCredential'], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => ['title' => '激活后的身份绑定实体', 'description' => '激活后的身份绑定实体', '$ref' => '#/components/schemas/Connection'], ], ], 'title' => '激活身份绑定', 'summary' => '激活一个身份绑定。点击Connection状态中的授权链接完成OAuth授权流程后,开发平台会激活当前身份绑定。 使用OAuth授权的第三方代码托管平台包括:GitHub、Gitee、Codeup。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:ActivateConnection', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'CancelPipeline' => [ 'summary' => '取消流水线执行。流水线以及任务将被尽快取消执行。', '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'], ], ], 'title' => '取消流水线执行', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:CancelPipeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'CancelTask' => [ 'summary' => '取消流水线任务执行。', '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'], ], ], 'title' => '取消流水线任务执行', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:CancelTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'CreateArtifact' => [ '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'], 'title' => '创建交付物', 'summary' => '创建交付物存储', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateArtifact', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'CreateEnvironment' => [ 'summary' => '创建项目下的环境,并可选地根据模板自动部署该环境。'."\n" .'服务会部署到指定的环境中,环境可以绑定代码仓库的某个分支或者某个项目模板。环境还可以设置基础设施堆栈,被环境下的所有服务所共享。', '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' => '项目名', 'description' => '项目名', 'type' => 'string', 'required' => true, 'example' => 'demo-project'], ], ], 'responses' => [ 200 => [ 'schema' => ['title' => '环境实体', 'description' => '环境实体', '$ref' => '#/components/schemas/Environment'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '创建环境', 'description' => '使用注意事项:'."\n" ."\n" .'- 当Environment.Spec.TemplateConfig非空时:创建环境后,开发平台会使用您提供的模板信息异步地为您自动部署该项目(创建PipelineTrigger、PipelineTriggerEvent、Pipeline实体)。'."\n" ."\n" .'- 当Environment.Spec.TemplateConfig为空时:仅创建环境实体,需要您手动调用PipelineTrigger、PipelineTriggerEvent相关API完成部署。'."\n" ."\n" .'通过模板完成的项目部署流程完全免费,部署后项目模板所涉及的云资源将按照各云产品的计费方式计费>', 'changeSet' => [ ['createdAt' => '2024-09-06T06:01:08.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'CreatePipeline' => [ 'summary' => '创建流水线执行。流水线将被异步地执行,并按照配置,产生具体的流水线任务。', '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'], ], ], 'title' => '创建流水线执行', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreatePipeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'CreateProject' => [ 'summary' => '创建项目,并在指定模板配置时自动部署此项目。', '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' => [], ], 'title' => '创建项目', 'description' => '1. 当`Project.Spec.TemplateConfig`非空时:创建项目后,开发平台会使用您提供的模板信息异步地为您自动部署该项目(创建`Environment`、`PipelineTrigger`、`PipelineTriggerEvent`、`Pipeline`实体)'."\n" .'2. 当`Project.Spec.TemplateConfig`为空时:仅创建项目实体,需要您手动调用`Environment`、`PipelineTrigger`、`PipelineTriggerEvent`相关API完成部署。'."\n" ."\n" .'>通过模板完成的项目部署流程完全免费,部署后项目模板所涉及的云资源将按照各云产品的计费方式计费>', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'CreateTask' => [ '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'], ], ], 'title' => '创建流水线任务执行', 'summary' => '创建流水线任务执行。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'CreateToolset' => [ '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' => [], ], 'title' => '创建工具集', 'summary' => '创建工具集', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateToolset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'DeleteArtifact' => [ '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'], 'title' => '删除交付物', 'summary' => '删除交付物', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteArtifact', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', ], 'DeleteConnection' => [ 'summary' => '删除一个身份绑定。', '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' => '是否强制删除。若存在仓库绑定实体(Repository)关联了该身份绑定(Connection),则无法直接删除;您能够通过强制删除的方式删除该身份绑定'."\n" ."\n" .'>删除身份绑定(Connection)时,不会级联删除关联的仓库绑定(Repository)>', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'A5152937-1C8A-5260-90FA-520CEF028D2D'], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '删除身份绑定', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteConnection', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5152937-1C8A-5260-90FA-520CEF028D2D\\"\\n}","type":"json"}]', ], 'DeleteEnvironment' => [ 'summary' => '删除一个环境,并级联删除项目下的其他实体(包括流水线触发器、流水线触发记录、流水线模板、流水线)。', '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' => '项目名称', 'description' => '项目名称', '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'], 'title' => '删除环境', 'description' => '删除环境目前不支持删除环境下的云资源,您需要手动删除资源。', 'changeSet' => [ ['createdAt' => '2024-09-06T06:01:13.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', ], 'DeleteProject' => [ 'summary' => '删除一个项目,并级联删除项目下的其他实体(包括环境、流水线触发器、流水线触发记录、流水线模板、流水线)。', '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' => '是否强制删除。当项目中包含多个环境时,若force为true,则能够强制删除项目,并级联删除所有环境下的其他实体;若force为false,则抛出异常,需要您先删除环境', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '删除项目', 'description' => '1. 若项目中不存在环境或仅包含一个默认环境:能够删除项目,并级联删除环境下的其他实体(包括流水线触发器、流水线触发记录、流水线模板、流水线)'."\n" .'2. 若项目中包含多个环境:若`force`为`true`,则能够强制删除项目,并级联删除所有环境下的其他实体;若`force`为`false`,则抛出异常,需要您先删除环境'."\n" ."\n" .'> 使用OpenAPI删除项目时,暂不支持删除项目下部署的云资源(例如函数、自定义域名等)', 'changeSet' => [ ['createdAt' => '2024-09-06T06:01:13.000Z', 'description' => '响应参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{}","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'], 'title' => '删除工具集', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteToolset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', ], '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' => ['title' => '部署环境选项', 'description' => '部署选项', 'required' => false, '$ref' => '#/components/schemas/DeployEnvironmentOptions'], ], ], 'responses' => [ 200 => [ 'schema' => ['title' => '环境部署信息', 'description' => '环境部署详情', '$ref' => '#/components/schemas/EnvironmentDeployment'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '部署环境', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:DeployEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'FetchArtifactDownloadUrl' => [ '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'], 'title' => '获取交付物临时下载地址', 'summary' => '获取交付物的zip包临时下载地址url', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:FetchArtifactDownloadUrl', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], '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'], ], [], ], 'title' => '获取交付物临时上传令牌', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:FetchArtifactTempBucketToken', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'FetchConnectionCredential' => [ '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'], ], ], 'title' => '获取身份绑定凭证', 'summary' => '获取完成授权流程的身份绑定凭证,开发平台会使用该凭证访问第三方代码托管平台。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:FetchConnectionCredential', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], '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'], 'title' => '查询交付物', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetArtifact', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetEnvironment' => [ 'summary' => '查询一个环境。', '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' => '项目名称', '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' => ['title' => '环境实体', 'description' => '环境实体', '$ref' => '#/components/schemas/Environment'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询环境', 'changeSet' => [ ['createdAt' => '2024-09-06T06:01:09.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetEnvironmentDeployment' => [ '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' => ['title' => '环境部署详情', 'description' => '环境部署详情', '$ref' => '#/components/schemas/EnvironmentDeployment'], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询环境部署详情', 'summary' => '查询环境部署信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetEnvironmentDeployment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetPipeline' => [ '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'], ], ], 'title' => '查询流水线执行', 'summary' => '查询流水线执行。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetPipeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'GetProject' => [ 'summary' => '查询项目', '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' => [], ], 'title' => '查询项目', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetRepository' => [ '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'], ], ], 'title' => '查询仓库绑定', 'summary' => '查询一个仓库绑定实体。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetRepository', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetServiceDeployment' => [ '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' => ['title' => '服务部署详情', 'description' => '服务部署详情', '$ref' => '#/components/schemas/ServiceDeployment'], ], ], 'title' => '查询服务部署详情', 'summary' => '查询服务部署信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetServiceDeployment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'GetTask' => [ 'summary' => '查询流水线任务执行。', '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'], ], ], 'title' => '查询流水线任务执行', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], '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' => [], ], 'title' => '获取工具集', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetToolset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListConnections' => [ 'summary' => '批量查询满足条件的身份绑定。', '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' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'type' => 'array', 'items' => ['title' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'description' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'type' => 'string', 'required' => false, 'example' => 'platform=github'."\n"], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => ['title' => '当前页码,默认为1。页码从1开始', 'description' => '当前页码,默认为1。页码从1开始', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['title' => '每页大小,默认为100。取值范围1~100', 'description' => '每页大小,默认为100。取值范围1~100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => ['title' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'description' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'type' => 'string', 'required' => false, 'example' => 'auto-'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询的分页结果', 'description' => '查询的分页结果', 'type' => 'object', 'properties' => [ 'pageNumber' => ['title' => '当前页码', 'description' => '当前页码,默认为1。页码从1开始', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'pageSize' => ['title' => '每页大小', 'description' => '每页大小,默认为100。取值范围1~100', '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' => [], ], 'title' => '批量查询身份绑定', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListConnections', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'ListEnvironments' => [ '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' => '项目名称', 'description' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'demo-project'], ], [ 'name' => 'labelSelector', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'title' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'description' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'type' => 'array', 'items' => ['title' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'description' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'type' => 'string', 'required' => false, 'example' => 'branch=main'], 'required' => false, 'example' => 'demo-project', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => ['title' => '当前页码,默认为1。页码从1开始', 'description' => '当前页码,默认为1。页码从1开始', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['title' => '每页大小,默认为100。取值范围1~100', 'description' => '每页大小,默认为100。取值范围1~100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => ['title' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'description' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'type' => 'string', 'required' => false, 'example' => 'dev'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询的分页结果', 'description' => '查询的分页结果', 'type' => 'object', 'properties' => [ 'pageNumber' => ['title' => '当前页码', 'description' => '当前页码,默认为1。页码从1开始', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'pageSize' => ['title' => '每页大小', 'description' => '每页大小,默认为100。取值范围1~100', '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'], 'title' => '批量查询环境', 'summary' => '批量查询满足条件的环境。', 'changeSet' => [ ['createdAt' => '2024-09-06T06:01:12.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListEnvironments', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListPipelines' => [ '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' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'type' => 'array', 'items' => ['title' => 'label表达式,例如: appName=my-app', 'description' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'type' => 'string', 'required' => false, 'example' => 'label_key1=value1'], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线执行列表', 'description' => '流水线执行列表', 'type' => 'array', 'items' => ['title' => '流水线执行', 'description' => '流水线执行', '$ref' => '#/components/schemas/Pipeline'], ], ], ], 'title' => '批量查询流水线执行', 'summary' => '批量查询流水线执行。请尽可能提供更多的查询条件以缩小查询范围。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListPipelines', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'ListProjects' => [ 'summary' => '批量查询满足条件的项目。', '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' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'type' => 'array', 'items' => ['title' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'description' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'type' => 'string', 'required' => false, 'example' => 'templateName=spring-boot-v3'], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => ['title' => '当前页码,默认为1。页码从1开始。', 'description' => '当前页码,默认为1。页码从1开始', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['title' => '每页大小,默认为100。取值范围1~100', 'description' => '每页大小,默认为100。取值范围1~100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => ['title' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'description' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'type' => 'string', 'required' => false, 'example' => 'spring-boot'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '查询的分页结果', 'description' => '查询的分页结果', 'type' => 'object', 'properties' => [ 'pageNumber' => ['title' => '当前页码', 'description' => '当前页码,默认为1。页码从1开始', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'pageSize' => ['title' => '每页大小', 'description' => '每页大小,默认为100。取值范围1~100', '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'], 'title' => '批量查询项目', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListProjects', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], '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' => '只返回含有这些label的对象', 'type' => 'array', 'items' => ['title' => 'label表达式,例如: appName=my-app', 'description' => 'label表达式,例如: appName=my-app', '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' => ['title' => '服务部署详情', 'description' => '服务部署详情', '$ref' => '#/components/schemas/ServiceDeployment'], ], ], ], ], ], 'title' => '批量查询服务部署信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:ListServiceDeployments', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ListTasks' => [ 'summary' => '批量查询流水线任务执行。', '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' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'type' => 'array', 'items' => ['title' => 'label表达式,例如: appName=my-app', 'description' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'type' => 'string', 'required' => false, 'example' => 'label_key1=value1'], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '流水线任务列表', 'description' => '流水线任务列表', 'type' => 'array', 'items' => ['title' => '流水线任务', 'description' => '流水线任务', '$ref' => '#/components/schemas/Task'], ], ], ], 'title' => '批量查询流水线任务执行', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:ListTasks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], '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' => '利用实体的labels字段进行筛选。精确匹配labelSelector数组中的所有条件,不同条件之间是“且”的关系', 'type' => 'array', 'items' => ['title' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'description' => 'labelSelector中的一条筛选条件,格式为${key}=${value}', 'type' => 'string', 'required' => false, 'example' => 'label_key1=value1'], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => ['title' => '当前页码,默认为1。页码从1开始。', 'description' => '当前页码,默认为1。页码从1开始。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['title' => '每页大小,默认为100。取值范围1~100', 'description' => '每页大小,默认为100。取值范围1~100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => ['title' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', 'description' => '模糊搜索关键词。仅支持实体的name字段,且大小写不敏感', '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'], 'title' => '批量查询工具集', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListToolsets', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], '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' => [], ], 'title' => '预览环境变更信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:PreviewEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], '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'], 'title' => '更新交付物', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'devs:PutArtifact', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'PutPipelineStatus' => [ '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'], ], ], 'title' => '替换流水线执行状态', 'summary' => '替换流水线执行状态。', 'description' => 'API提供了乐观锁机制,在不设置强制更新的场景下,需要基于最新的流水线触发器配置修改后提交,否则将触发提交冲突异常。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:PutPipelineStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'PutTaskStatus' => [ 'summary' => '替换流水线任务执行状态。', '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'], ], ], 'title' => '替换流水线任务执行状态', 'description' => 'API提供了乐观锁机制,在不设置强制更新的场景下,需要基于最新的流水线触发器配置修改后提交,否则将触发提交冲突异常。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:PutTaskStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], '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' => '服务名称变化,key是模板原始服务名,value是需要修改的目标服务名', 'type' => 'object', 'required' => false, 'additionalProperties' => ['title' => '修改后的目标服务名称', 'description' => '修改后的目标服务名称', 'type' => 'string', 'example' => '{"originName": "newName"}'], 'example' => '{"svc1":"svc2"}', ], 'projectName' => ['title' => '项目名称,用于在已有项目中通过模板新增服务的场景。当指定时,会检测模板中的服务名和指定项目中的服务是否存在命名冲突,如果冲突时会自动生成新的服务名称。', 'description' => '项目名称,用于在已有项目中通过模板新增服务的场景。当指定时,会检测模板中的服务名和指定项目中的服务是否存在命名冲突,如果冲突时会自动生成新的服务名称。', 'type' => 'string', 'required' => false, 'example' => 'my-project'], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'services' => [ 'title' => '解析后的服务集合', 'description' => '解析后的服务集合', 'type' => 'object', 'additionalProperties' => ['title' => '服务配置', 'description' => '服务配置', '$ref' => '#/components/schemas/ServiceConfig'], ], 'variables' => [ 'title' => '解析后的变量集合', 'description' => '解析后的变量集合', 'type' => 'object', 'additionalProperties' => ['title' => '变量配置', 'description' => '变量配置', '$ref' => '#/components/schemas/Variable'], ], 'changedServiceNames' => [ 'title' => '变化后的服务名称。key是新的服务名称,value是原始服务名称。'."\n" .'通过这个字段,可以记录模板的原始服务名称,实现部署前的不断修改名称', 'description' => '变化后的服务名称。key是新的服务名称,value是原始服务名称。'."\n" .'通过这个字段,可以记录模板的原始服务名称,实现部署前的不断修改名称', 'type' => 'object', 'additionalProperties' => ['title' => '原始服务名称', 'description' => '原始服务名称', 'type' => 'string', 'example' => 'demo-service'], ], ], 'description' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '解析模板中的服务以及变量配置', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'devs:RenderServicesByTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'ResumeTask' => [ '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'], ], ], 'title' => '恢复流水线任务执行', 'summary' => '恢复流水线任务执行。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:ResumeTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'RetryTask' => [ 'summary' => '重试流水线任务执行。', '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'], ], ], 'title' => '重试流水线任务执行', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:RetryTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'StartPipeline' => [ 'summary' => '启动流水线执行。', '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'], ], ], 'title' => '启动流水线执行', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:StartPipeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'StartTask' => [ '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'], ], ], 'title' => '启动流水线任务执行', 'summary' => '启动流水线任务执行。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:StartTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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\\": \\"部署辅助函数权限不足,需要添加额外的权限以解决问题\\"\\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"}]', ], 'UpdateEnvironment' => [ 'summary' => '修改环境,并在模板参数变化时自动部署该环境。', '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' => '项目名称', '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' => ['title' => '环境实体', 'description' => '环境实体', '$ref' => '#/components/schemas/Environment'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '修改环境', 'description' => '- 使用修改(Update)的接口时,您指定的可写字段将被更新,未指定的字段将保持不变'."\n" ."\n" .'- 当且仅当模板参数(spec.templateConfig.parameters)发生变化时,才会触发自动部署', 'changeSet' => [ ['createdAt' => '2024-09-06T06:01:12.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:UpdateEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'UpdateProject' => [ 'summary' => '修改项目,并在模板参数变化时自动部署该项目。', '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' => [], ], 'title' => '修改项目', 'description' => '1. 使用修改(Update)相关的接口时,您指定的可写字段将被更新,未指定的字段将保持不变'."\n" .'2. 当且仅当模板参数(spec.templateConfig.parameters)发生变化时,才会触发自动部署'."\n" .'3. 使用环境(Environment)相关API修改默认环境(Default)配置后,不再支持更新项目', 'changeSet' => [ ['createdAt' => '2024-06-24T02:30:45.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:UpdateProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => 'Project', 'arn' => 'acs:devs:{#regionId}:{#accountId}:project/{#name}'], ], ], ], ], ], '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' => [], ], 'title' => '更新工具集', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:UpdateToolset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => 'Toolset', 'arn' => 'acs:devs:{#regionId}:{#accountId}:toolset/{#name}'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.cn-shenzhen.aliyuncs.com', 'endpoint' => 'devs.cn-shenzhen.aliyuncs.com', 'vpc' => 'devs-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.cn-beijing.aliyuncs.com', 'endpoint' => 'devs.cn-beijing.aliyuncs.com', 'vpc' => 'devs-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.cn-shanghai.aliyuncs.com', 'endpoint' => 'devs.cn-shanghai.aliyuncs.com', 'vpc' => 'devs-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.ap-southeast-1.aliyuncs.com', 'endpoint' => 'devs.ap-southeast-1.aliyuncs.com', 'vpc' => 'devs-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devs.cn-hangzhou.aliyuncs.com', 'endpoint' => 'devs.cn-hangzhou.aliyuncs.com', 'vpc' => 'devs-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'devs.us-west-1.aliyuncs.com', 'endpoint' => 'devs.us-west-1.aliyuncs.com', 'vpc' => 'devs-vpc.us-west-1.aliyuncs.com'], ], 'errorCodes' => [], 'changeSet' => [ [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'CreateEnvironment'], ['description' => '请求参数发生变更', 'api' => 'DeleteEnvironment'], ['description' => '响应参数发生变更', 'api' => 'DeleteProject'], ['description' => '请求参数发生变更', 'api' => 'GetEnvironment'], ['description' => '请求参数发生变更', 'api' => 'ListEnvironments'], ['description' => '请求参数发生变更', 'api' => 'UpdateEnvironment'], ], 'createdAt' => '2024-09-06T06:01:33.000Z', 'description' => '', ], [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'UpdateProject'], ], 'createdAt' => '2024-06-24T02:31:04.000Z', 'description' => '', ], ], 'flowControl' => [ 'flowControlList' => [], ], 'ram' => [ 'productCode' => 'Devs', 'productName' => '云原生应用开发平台 CAP', 'ramCodes' => ['devs'], 'ramLevel' => '资源级', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'PutArtifact', 'description' => '更新交付物', 'operationType' => 'none', 'ramAction' => [ 'action' => 'devs:PutArtifact', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CancelPipeline', 'description' => '取消流水线执行', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:CancelPipeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreatePipeline', 'description' => '创建流水线执行', 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreatePipeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteConnection', 'description' => '删除身份绑定', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteConnection', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'PutTaskStatus', 'description' => '替换流水线任务执行状态', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:PutTaskStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListToolsets', 'description' => '批量查询工具集', 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListToolsets', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteToolset', 'description' => '删除工具集', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteToolset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateProject', 'description' => '修改项目', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:UpdateProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => 'Project', 'arn' => 'acs:devs:{#regionId}:{#accountId}:project/{#name}'], ], ], ], [ 'apiName' => 'CreateProject', 'description' => '创建项目', 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProjects', 'description' => '批量查询项目', 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListProjects', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListConnections', 'description' => '批量查询身份绑定', 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListConnections', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'RetryTask', 'description' => '重试流水线任务执行', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:RetryTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateToolset', 'description' => '更新工具集', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:UpdateToolset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => 'Toolset', 'arn' => 'acs:devs:{#regionId}:{#accountId}:toolset/{#name}'], ], ], ], [ 'apiName' => 'ListPipelines', 'description' => '批量查询流水线执行', 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListPipelines', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'PreviewEnvironment', 'description' => '预览环境变更信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:PreviewEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetPipeline', 'description' => '查询流水线执行', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetPipeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetToolset', 'description' => '获取工具集', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetToolset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteProject', 'description' => '删除项目', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'FetchArtifactTempBucketToken', 'description' => '获取交付物临时上传令牌', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:FetchArtifactTempBucketToken', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteEnvironment', 'description' => '删除环境', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteArtifact', 'description' => '删除交付物', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'devs:DeleteArtifact', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ActivateConnection', 'description' => '激活身份绑定', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:ActivateConnection', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetServiceDeployment', 'description' => '查询服务部署详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetServiceDeployment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTask', 'description' => '查询流水线任务执行', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateEnvironment', 'description' => '创建环境', 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ResumeTask', 'description' => '恢复流水线任务执行', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:ResumeTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListServiceDeployments', 'description' => '批量查询服务部署信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:ListServiceDeployments', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetEnvironment', 'description' => '查询环境', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTasks', 'description' => '批量查询流水线任务执行', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:ListTasks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateArtifact', 'description' => '创建交付物', 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateArtifact', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'StartPipeline', 'description' => '启动流水线执行', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:StartPipeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetRepository', 'description' => '查询仓库绑定', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetRepository', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateToolset', 'description' => '创建工具集', 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateToolset', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetProject', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetEnvironmentDeployment', 'description' => '查询环境部署详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetEnvironmentDeployment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'FetchConnectionCredential', 'description' => '获取身份绑定凭证', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:FetchConnectionCredential', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'StartTask', 'description' => '启动流水线任务执行', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:StartTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'FetchArtifactDownloadUrl', 'description' => '获取交付物临时下载地址', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:FetchArtifactDownloadUrl', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'RenderServicesByTemplate', 'description' => '解析模板中的服务以及变量配置', 'operationType' => 'none', 'ramAction' => [ 'action' => 'devs:RenderServicesByTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateEnvironment', 'description' => '修改环境', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:UpdateEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'PutPipelineStatus', 'description' => '替换流水线执行状态', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:PutPipelineStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateTask', 'description' => '创建流水线任务执行', 'operationType' => 'create', 'ramAction' => [ 'action' => 'devs:CreateTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetArtifact', 'description' => '查询交付物', 'operationType' => 'get', 'ramAction' => [ 'action' => 'devs:GetArtifact', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CancelTask', 'description' => '取消流水线任务执行', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:CancelTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeployEnvironment', 'description' => '部署环境', 'operationType' => 'update', 'ramAction' => [ 'action' => 'devs:DeployEnvironment', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListEnvironments', 'description' => '批量查询环境', 'operationType' => 'list', 'ramAction' => [ 'action' => 'devs:ListEnvironments', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Devs', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'Project', 'arn' => 'acs:devs:{#regionId}:{#accountId}:project/{#name}'], ['validationType' => 'always', 'resourceType' => 'Toolset', 'arn' => 'acs:devs:{#regionId}:{#accountId}:toolset/{#name}'], ], ], ];