云服务器内容精选

  • 响应示例 状态码: 200 get application successfully { "name" : "testApplication", "last_modified_time" : 1699356705515, "stack_resources" : null, "status" : "repoFail", "stack_name" : "", "repo_name" : "", "description" : "test for function application.", "repo" : { }, "project_id" : "c53626012ba84727b938ca8bf03108ef" }
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 name String 应用名称 last_modified_time Long 最后修改时间 stack_resources StackResource object 资源栈 status String 应用状态 stack_name String 资源栈名称 stack_id String 资源栈id repo_name String 存储库名称 description String 应用描述 repo RepoInfo object 存储库信息 pipeline_id String 管道id project_id String 项目id apig_url String 调用URL 表4 StackResource 参数 参数类型 描述 physical_resource_id String 物理资源id physical_resource_name String 物理资源名称 logical_resource_name String 逻辑资源名称 logical_resource_type String 逻辑资源类型 resource_status String 资源状态 status_message String 状态信息 href String 超链接地址 display_name String 云服务名称 表5 RepoInfo 参数 参数类型 描述 https_url String http地址 web_url String 存储库链接 repo_status String 存储库状态 error_msg String 报错信息 project_id String 项目id 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误信息 状态码: 401 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误信息 状态码: 403 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误信息 状态码: 404 表9 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误信息 状态码: 500 表10 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误信息