summaryrefslogtreecommitdiff
path: root/data/paimodelgallery/2025-06-30/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/paimodelgallery/2025-06-30/api-docs.php')
-rw-r--r--data/paimodelgallery/2025-06-30/api-docs.php459
1 files changed, 102 insertions, 357 deletions
diff --git a/data/paimodelgallery/2025-06-30/api-docs.php b/data/paimodelgallery/2025-06-30/api-docs.php
index e69c5d6..6a451a7 100644
--- a/data/paimodelgallery/2025-06-30/api-docs.php
+++ b/data/paimodelgallery/2025-06-30/api-docs.php
@@ -1,59 +1,29 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'PAIModelGallery',
- 'version' => '2025-06-30',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'PAIModelGallery', 'version' => '2025-06-30'],
'components' => [
'schemas' => [
'JobPlan' => [
'type' => 'object',
'properties' => [
- 'JobPlanId' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
- 'JobPlanType' => [
- 'type' => 'string',
- ],
- 'JobPlanName' => [
- 'type' => 'string',
- ],
- 'JobPlanCurrentStep' => [
- 'type' => 'string',
- ],
+ 'JobPlanId' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
+ 'JobPlanType' => ['type' => 'string'],
+ 'JobPlanName' => ['type' => 'string'],
+ 'JobPlanCurrentStep' => ['type' => 'string'],
'JobPlanSteps' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'JobPlanStepId' => [
- 'type' => 'string',
- ],
- 'JobPlanStepSpec' => [
- 'type' => 'object',
- ],
- 'JobPlanStepType' => [
- 'type' => 'string',
- ],
- 'JobPlanStepName' => [
- 'type' => 'string',
- ],
+ 'JobPlanStepName' => ['type' => 'string'],
+ 'JobPlanStepType' => ['type' => 'string'],
+ 'JobPlanStepId' => ['type' => 'string'],
+ 'JobPlanStepSpec' => ['type' => 'object'],
],
],
],
@@ -62,12 +32,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'type' => 'string',
- ],
- 'Key' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
],
@@ -76,127 +42,49 @@
'ModelGalleryModel' => [
'type' => 'object',
'properties' => [
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'ModelId' => [
- 'type' => 'string',
- ],
- 'ModelName' => [
- 'type' => 'string',
- ],
- 'ModelDescription' => [
- 'type' => 'string',
- ],
- 'LatestVersionName' => [
- 'type' => 'string',
- ],
- 'GmtLatestVersionModified' => [
- 'type' => 'string',
- ],
- 'OrderNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Origin' => [
- 'type' => 'string',
- ],
- 'Domain' => [
- 'type' => 'string',
- ],
- 'Task' => [
- 'type' => 'string',
- ],
- 'ParameterSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ModelDoc' => [
- 'type' => 'string',
- ],
- 'ModelType' => [
- 'type' => 'string',
- ],
- 'Collection' => [
- 'type' => 'string',
- ],
- 'SearchWords' => [
- 'type' => 'string',
- ],
- 'ModelSeries' => [
- 'type' => 'string',
- ],
- 'Demonstrable' => [
- 'type' => 'boolean',
- ],
- 'Deployable' => [
- 'type' => 'boolean',
- ],
- 'SupportedInferenceResources' => [
- 'type' => 'string',
- ],
- 'Trainable' => [
- 'type' => 'boolean',
- ],
- 'SupportedTrainingResources' => [
- 'type' => 'string',
- ],
- 'Evaluable' => [
- 'type' => 'boolean',
- ],
- 'SupportedEvaluationResources' => [
- 'type' => 'string',
- ],
- 'Compressible' => [
- 'type' => 'boolean',
- ],
- 'SupportedCompressionResources' => [
- 'type' => 'string',
- ],
- 'Distillable' => [
- 'type' => 'boolean',
- ],
- 'SupportedDistillationResources' => [
- 'type' => 'string',
- ],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'ModelId' => ['type' => 'string'],
+ 'ModelName' => ['type' => 'string'],
+ 'ModelDescription' => ['type' => 'string'],
+ 'LatestVersionName' => ['type' => 'string'],
+ 'GmtLatestVersionModified' => ['type' => 'string'],
+ 'OrderNumber' => ['type' => 'integer', 'format' => 'int64'],
+ 'Origin' => ['type' => 'string'],
+ 'Domain' => ['type' => 'string'],
+ 'Task' => ['type' => 'string'],
+ 'ParameterSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'ModelDoc' => ['type' => 'string'],
+ 'ModelType' => ['type' => 'string'],
+ 'Collection' => ['type' => 'string'],
+ 'SearchWords' => ['type' => 'string'],
+ 'ModelSeries' => ['type' => 'string'],
+ 'Demonstrable' => ['type' => 'boolean'],
+ 'Deployable' => ['type' => 'boolean'],
+ 'SupportedInferenceResources' => ['type' => 'string'],
+ 'Trainable' => ['type' => 'boolean'],
+ 'SupportedTrainingResources' => ['type' => 'string'],
+ 'Evaluable' => ['type' => 'boolean'],
+ 'SupportedEvaluationResources' => ['type' => 'string'],
+ 'Compressible' => ['type' => 'boolean'],
+ 'SupportedCompressionResources' => ['type' => 'string'],
+ 'Distillable' => ['type' => 'boolean'],
+ 'SupportedDistillationResources' => ['type' => 'string'],
'Tags' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
- 'DeepThink' => [
- 'type' => 'boolean',
- ],
- 'FunctionCall' => [
- 'type' => 'boolean',
- ],
- 'ExtraInfo' => [
- 'type' => 'object',
- ],
- 'SupportedInferenceMethods' => [
- 'type' => 'object',
- ],
- 'SupportedTrainingMethods' => [
- 'type' => 'object',
- ],
- 'SupportedEvaluationMethods' => [
- 'type' => 'object',
- ],
- 'SupportedCompressionMethods' => [
- 'type' => 'object',
- ],
- 'SupportedDistillationMethods' => [
- 'type' => 'object',
- ],
+ 'DeepThink' => ['type' => 'boolean'],
+ 'FunctionCall' => ['type' => 'boolean'],
+ 'ExtraInfo' => ['type' => 'object'],
+ 'SupportedInferenceMethods' => ['type' => 'object'],
+ 'SupportedTrainingMethods' => ['type' => 'object'],
+ 'SupportedEvaluationMethods' => ['type' => 'object'],
+ 'SupportedCompressionMethods' => ['type' => 'object'],
+ 'SupportedDistillationMethods' => ['type' => 'object'],
],
],
],
@@ -204,215 +92,135 @@
'apis' => [
'ListModelGalleryModels' => [
'path' => '/api/v1/modelgallery/models',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Task',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Origin',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Collections',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelSeries',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Demonstrable',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Deployable',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedInferenceResource',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Trainable',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedTrainingResource',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Evaluable',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedEvaluationResource',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Compressible',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedCompressionResource',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Distillable',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedDistillationResource',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DeepThink',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'FunctionCall',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Tag',
@@ -425,14 +233,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Value' => ['type' => 'string', 'required' => false],
+ 'Key' => ['type' => 'string', 'required' => false],
],
],
],
@@ -448,18 +250,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Column' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Operator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Column' => ['type' => 'string', 'required' => false],
+ 'Operator' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
],
@@ -467,74 +260,26 @@
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'paimodelgallery.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'paimodelgallery.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'paimodelgallery.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'paimodelgallery.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'paimodelgallery.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'paimodelgallery.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'paimodelgallery.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'paimodelgallery.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'paimodelgallery.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'paimodelgallery.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'paimodelgallery.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'paimodelgallery.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'paimodelgallery.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'paimodelgallery.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'paimodelgallery.eu-central-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-shenzhen.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-shenzhen.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-wulanchabu.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-beijing.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-beijing.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-northeast-2.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-northeast-2.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-northeast-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-northeast-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-shanghai.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-shanghai.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-guangzhou.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-guangzhou.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-hongkong.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-hongkong.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-southeast-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-southeast-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-southeast-3.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-southeast-3.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-southeast-5.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-southeast-5.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-hangzhou.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-hangzhou.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paimodelgallery.us-west-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.us-west-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paimodelgallery.us-east-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.us-east-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paimodelgallery.eu-central-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.eu-central-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.eu-central-1.aliyuncs.com'],
],
];