summaryrefslogtreecommitdiff
path: root/data/en_us/eflo-controller/2026-06-12/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/eflo-controller/2026-06-12/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/eflo-controller/2026-06-12/api-docs.php')
-rw-r--r--data/en_us/eflo-controller/2026-06-12/api-docs.php130
1 files changed, 130 insertions, 0 deletions
diff --git a/data/en_us/eflo-controller/2026-06-12/api-docs.php b/data/en_us/eflo-controller/2026-06-12/api-docs.php
new file mode 100644
index 0000000..bf3dee0
--- /dev/null
+++ b/data/en_us/eflo-controller/2026-06-12/api-docs.php
@@ -0,0 +1,130 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => ['style' => 'RPC', 'product' => 'eflo-controller', 'version' => '2026-06-12'],
+ 'directories' => [
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => ['ListImages'],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'ListImages' => [
+ 'summary' => '查询用户可用的镜像列表',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '189004',
+ 'abilityTreeNodes' => ['FEATUREbcclusterSIOTA6'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['title' => '镜像名', 'description' => '镜像名模糊匹配', 'type' => 'string'],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => ['title' => '标签过滤', 'description' => '形如 Key=Value 的标签过滤,多 Label 间 AND', 'type' => 'string'],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => ['title' => '全文搜索', 'description' => '全文模糊匹配,命中 Name / Description 等任一即返', 'type' => 'string'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '页码', 'description' => '页码,默认1', 'type' => 'integer', 'format' => 'int32'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '每页条数', 'description' => '每页条数,默认20,上限100', 'type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string'],
+ 'TotalCount' => ['title' => '总数', 'description' => '满足过滤条件的镜像总数', 'type' => 'integer', 'format' => 'int32'],
+ 'Images' => [
+ 'title' => '镜像列表',
+ 'description' => '镜像列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageId' => ['title' => '镜像ID', 'description' => '镜像唯一ID', 'type' => 'string'],
+ 'Name' => ['title' => '镜像名', 'description' => '镜像名称', 'type' => 'string'],
+ 'Description' => ['title' => '描述', 'description' => '镜像描述', 'type' => 'string'],
+ 'ImageUri' => ['title' => '镜像地址', 'description' => '完整镜像地址,可直接作为 CreateTrainJob 的 Image 参数', 'type' => 'string'],
+ 'Accessibility' => ['title' => '可见性', 'description' => '镜像可见性,取值 PUBLIC / PRIVATE', 'type' => 'string'],
+ 'WorkspaceId' => ['title' => '工作空间ID', 'description' => '所属工作空间ID,官方镜像为空', 'type' => 'string'],
+ 'UserId' => ['title' => '创建者', 'description' => '镜像创建者', 'type' => 'string'],
+ 'SourceType' => ['title' => '来源类型', 'description' => '镜像来源类型,取值 OFFICIAL / USER_BUILD / USER_IMPORT', 'type' => 'string'],
+ 'Size' => ['title' => '镜像大小', 'description' => '镜像大小,单位为字节', 'type' => 'integer', 'format' => 'int64'],
+ 'Labels' => [
+ 'title' => '标签列表',
+ 'description' => '镜像标签列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['title' => '标签键', 'description' => '标签Key', 'type' => 'string'],
+ 'Value' => ['title' => '标签值', 'description' => '标签Value', 'type' => 'string'],
+ ],
+ ],
+ ],
+ 'GmtCreateTime' => ['title' => '创建时间', 'description' => '镜像创建时间,ISO-8601格式', 'type' => 'string', 'format' => 'iso8601'],
+ 'GmtModifiedTime' => ['title' => '修改时间', 'description' => '镜像修改时间,ISO-8601格式', 'type' => 'string', 'format' => 'iso8601'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-beijing', 'endpoint' => 'eflo-controller.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'eflo-controller.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'eflo-controller.cn-huhehaote.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'endpoint' => 'eflo-controller.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'eflo-controller.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'eflo-controller.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'eflo-controller.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'endpoint' => 'eflo-controller.cn-heyuan.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'endpoint' => 'eflo-controller.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'eflo-controller.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'eflo-controller.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'eflo-controller.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'eflo-controller.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'eflo-controller.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'eflo-controller.me-east-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'eflo-controller.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-7', 'endpoint' => 'eflo-controller.ap-southeast-7.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'endpoint' => 'eflo-controller.ap-sourtheast-8.aliyuncs.com'],
+ ],
+];