summaryrefslogtreecommitdiff
path: root/data/aiworkspace
diff options
context:
space:
mode:
Diffstat (limited to 'data/aiworkspace')
-rw-r--r--data/aiworkspace/2021-02-04/api-docs.php9352
1 files changed, 3024 insertions, 6328 deletions
diff --git a/data/aiworkspace/2021-02-04/api-docs.php b/data/aiworkspace/2021-02-04/api-docs.php
index 1a8975b..03ffe2e 100644
--- a/data/aiworkspace/2021-02-04/api-docs.php
+++ b/data/aiworkspace/2021-02-04/api-docs.php
@@ -1,994 +1,442 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'AIWorkSpace',
- 'version' => '2021-02-04',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'AIWorkSpace', 'version' => '2021-02-04'],
'components' => [
'schemas' => [
'CodeSourceItem' => [
'type' => 'object',
'properties' => [
- 'CodeSourceId' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'CodeRepo' => [
- 'type' => 'string',
- ],
- 'CodeBranch' => [
- 'type' => 'string',
- ],
- 'CodeCommit' => [
- 'type' => 'string',
- ],
- 'CodeRepoUserName' => [
- 'type' => 'string',
- ],
- 'CodeRepoAccessToken' => [
- 'type' => 'string',
- ],
- 'Accessibility' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifyTime' => [
- 'type' => 'string',
- ],
- 'MountPath' => [
- 'type' => 'string',
- ],
+ 'CodeSourceId' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'CodeRepo' => ['type' => 'string'],
+ 'CodeBranch' => ['type' => 'string'],
+ 'CodeCommit' => ['type' => 'string'],
+ 'CodeRepoUserName' => ['type' => 'string'],
+ 'CodeRepoAccessToken' => ['type' => 'string'],
+ 'Accessibility' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifyTime' => ['type' => 'string'],
+ 'MountPath' => ['type' => 'string'],
+ 'CloneType' => ['type' => 'integer', 'format' => 'int32'],
],
],
'Collection' => [
'type' => 'object',
'properties' => [
- 'CollectionName' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
+ 'CollectionName' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
],
],
'Connection' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'type' => 'string',
- ],
- 'ConnectionType' => [
- 'type' => 'string',
- ],
- 'Accessibility' => [
- 'type' => 'string',
- ],
- 'Secrets' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'Creator' => [
- 'type' => 'string',
- ],
+ 'ConnectionType' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'Accessibility' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'Creator' => ['type' => 'string'],
'ResourceMeta' => [
'type' => 'object',
'properties' => [
- 'InstanceName' => [
- 'type' => 'string',
- ],
- 'Extra' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
+ 'InstanceName' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ 'Extra' => ['type' => 'string'],
],
],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'ConnectionName' => [
- 'type' => 'string',
- ],
- 'ConnectionId' => [
- 'type' => 'string',
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'ConnectionName' => ['type' => 'string'],
+ 'ConnectionId' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'Secrets' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
'Configs' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
'Models' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ToolCall' => [
- 'type' => 'boolean',
- ],
- 'Model' => [
- 'type' => 'string',
- ],
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'ModelType' => [
- 'type' => 'string',
- ],
+ 'Model' => ['type' => 'string'],
+ 'DisplayName' => ['type' => 'string'],
+ 'ModelType' => ['type' => 'string'],
+ 'ToolCall' => ['type' => 'boolean'],
],
],
],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
],
],
'Dataset' => [
'type' => 'object',
'properties' => [
- 'DatasetId' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'DataSourceType' => [
- 'type' => 'string',
- ],
- 'Uri' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'DataType' => [
- 'type' => 'string',
- ],
- 'Property' => [
- 'type' => 'string',
- ],
- 'SourceType' => [
- 'type' => 'string',
- ],
- 'SourceId' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'Options' => [
- 'type' => 'string',
- ],
- 'Accessibility' => [
- 'type' => 'string',
- ],
- 'ProviderType' => [
- 'type' => 'string',
- ],
- 'SourceDatasetId' => [
- 'type' => 'string',
- ],
- 'SourceDatasetVersion' => [
- 'type' => 'string',
- ],
- 'TagTemplateType' => [
- 'type' => 'string',
- ],
- 'LatestVersion' => [
- '$ref' => '#/components/schemas/DatasetVersion',
- ],
- 'MountAccess' => [
- 'type' => 'string',
- ],
- 'ImportInfo' => [
- 'type' => 'string',
- ],
- 'Edition' => [
- 'type' => 'string',
- ],
- 'Labels' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- ],
- ],
- 'MountAccessReadWriteRoleIdList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'IsShared' => [
- 'type' => 'boolean',
- ],
- 'SharedFrom' => [
- '$ref' => '#/components/schemas/DatasetShareRelationship',
- ],
+ 'DatasetId' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'DataSourceType' => ['type' => 'string'],
+ 'Uri' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'DataType' => ['type' => 'string'],
+ 'Property' => ['type' => 'string'],
+ 'SourceType' => ['type' => 'string'],
+ 'SourceId' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'Options' => ['type' => 'string'],
+ 'Accessibility' => ['type' => 'string'],
+ 'ProviderType' => ['type' => 'string'],
+ 'SourceDatasetId' => ['type' => 'string'],
+ 'SourceDatasetVersion' => ['type' => 'string'],
+ 'TagTemplateType' => ['type' => 'string'],
+ 'LatestVersion' => ['$ref' => '#/components/schemas/DatasetVersion'],
+ 'MountAccess' => ['type' => 'string'],
+ 'ImportInfo' => ['type' => 'string'],
+ 'Edition' => ['type' => 'string'],
+ 'IsShared' => ['type' => 'boolean'],
+ 'SharedFrom' => ['$ref' => '#/components/schemas/DatasetShareRelationship'],
'SharingConfig' => [
'type' => 'object',
'properties' => [
'SharedTo' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/DatasetShareRelationship',
- ],
+ 'items' => ['$ref' => '#/components/schemas/DatasetShareRelationship'],
],
],
],
+ 'Labels' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Label'],
+ ],
+ 'MountAccessReadWriteRoleIdList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'AccessibleRoleIdList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
],
],
'DatasetFileMeta' => [
'type' => 'object',
'properties' => [
- 'DatasetFileMetaId' => [
- 'type' => 'string',
- ],
- 'Uri' => [
- 'type' => 'string',
- ],
- 'FileName' => [
- 'type' => 'string',
- ],
- 'DownloadUrl' => [
- 'type' => 'string',
- ],
- 'Score' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FileFingerPrint' => [
- 'type' => 'string',
- ],
- 'FileUpdateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'Tags' => [
- 'type' => 'string',
- ],
- 'ThumbnailUrl' => [
- 'type' => 'string',
- ],
- 'MetaAttributes' => [
- 'type' => 'string',
- ],
- 'SemanticIndexJobId' => [
- 'type' => 'string',
- ],
- 'SemanticIndexUpdateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'FileCreateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'FileType' => [
- 'type' => 'string',
- ],
- 'ContentType' => [
- 'type' => 'string',
- ],
+ 'DatasetFileMetaId' => ['type' => 'string'],
+ 'Uri' => ['type' => 'string'],
+ 'FileName' => ['type' => 'string'],
+ 'DownloadUrl' => ['type' => 'string'],
+ 'Score' => ['type' => 'number', 'format' => 'float'],
+ 'DataSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'FileFingerPrint' => ['type' => 'string'],
+ 'FileUpdateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'Tags' => ['type' => 'string'],
+ 'ThumbnailUrl' => ['type' => 'string'],
+ 'MetaAttributes' => ['type' => 'string'],
+ 'SemanticIndexJobId' => ['type' => 'string'],
+ 'SemanticIndexUpdateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'FileCreateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'FileType' => ['type' => 'string'],
+ 'ContentType' => ['type' => 'string'],
'Status' => [
'type' => 'string',
- 'enum' => [
- 'ACTIVE',
- 'DELETED',
- ],
+ 'enum' => ['ACTIVE', 'DELETED'],
],
],
],
'DatasetFileMetaConentUpdate' => [
'type' => 'object',
'properties' => [
- 'FileName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Comment' => [
- 'type' => 'string',
- ],
- 'FileCreateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'FileUpdateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'FileType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ContentType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MetaAttributes' => [
- 'type' => 'string',
- ],
- 'Tags' => [
- 'type' => 'string',
- ],
- 'DatasetFileMetaId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SemanticIndexJobId' => [
- 'type' => 'string',
- ],
- 'SemanticIndexUpdateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'FileFingerPrint' => [
- 'type' => 'string',
- ],
+ 'FileName' => ['type' => 'string', 'required' => false],
+ 'Comment' => ['type' => 'string'],
+ 'FileCreateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'FileUpdateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'DataSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'FileType' => ['type' => 'string', 'required' => false],
+ 'ContentType' => ['type' => 'string', 'required' => false],
+ 'MetaAttributes' => ['type' => 'string'],
+ 'Tags' => ['type' => 'string'],
+ 'DatasetFileMetaId' => ['type' => 'string', 'required' => true],
+ 'SemanticIndexJobId' => ['type' => 'string'],
+ 'SemanticIndexUpdateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'FileFingerPrint' => ['type' => 'string'],
],
],
'DatasetFileMetaContentCreate' => [
'type' => 'object',
'properties' => [
- 'FileName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Uri' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Comment' => [
- 'type' => 'string',
- ],
- 'FileCreateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'FileUpdateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- 'required' => true,
- ],
- 'FileFingerPrint' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'FileType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ContentType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'MetaAttributes' => [
- 'type' => 'string',
- ],
- 'Tags' => [
- 'type' => 'string',
- 'deprecated' => false,
- ],
+ 'FileName' => ['type' => 'string', 'required' => false],
+ 'Uri' => ['type' => 'string', 'required' => true],
+ 'Comment' => ['type' => 'string'],
+ 'FileCreateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'FileUpdateTime' => ['type' => 'string', 'format' => 'iso8601', 'required' => true],
+ 'FileFingerPrint' => ['type' => 'string', 'required' => true],
+ 'DataSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'FileType' => ['type' => 'string', 'required' => true],
+ 'ContentType' => ['type' => 'string', 'required' => true],
+ 'MetaAttributes' => ['type' => 'string'],
+ 'Tags' => ['type' => 'string', 'deprecated' => false],
],
],
'DatasetFileMetaContentGet' => [
'type' => 'object',
'properties' => [
- 'FileName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Uri' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Comment' => [
- 'type' => 'string',
- ],
- 'FileCreateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'FileUpdateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- 'required' => false,
- ],
- 'FileFingerPrint' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'FileType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ContentType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MetaAttributes' => [
- 'type' => 'string',
- ],
- 'Tags' => [
- 'type' => 'string',
- ],
- 'DatasetFileMetaId' => [
- 'type' => 'string',
- ],
- 'FileDir' => [
- 'type' => 'string',
- ],
- 'TagUpdateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
- 'SemanticIndexJobId' => [
- 'type' => 'string',
- ],
- 'SemanticIndexUpdateTime' => [
- 'type' => 'string',
- 'format' => 'iso8601',
- ],
+ 'FileName' => ['type' => 'string', 'required' => false],
+ 'Uri' => ['type' => 'string', 'required' => false],
+ 'Comment' => ['type' => 'string'],
+ 'FileCreateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'FileUpdateTime' => ['type' => 'string', 'format' => 'iso8601', 'required' => false],
+ 'FileFingerPrint' => ['type' => 'string', 'required' => false],
+ 'DataSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'FileType' => ['type' => 'string', 'required' => false],
+ 'ContentType' => ['type' => 'string', 'required' => false],
+ 'MetaAttributes' => ['type' => 'string'],
+ 'Tags' => ['type' => 'string'],
+ 'DatasetFileMetaId' => ['type' => 'string'],
+ 'FileDir' => ['type' => 'string'],
+ 'TagUpdateTime' => ['type' => 'string', 'format' => 'iso8601'],
+ 'SemanticIndexJobId' => ['type' => 'string'],
+ 'SemanticIndexUpdateTime' => ['type' => 'string', 'format' => 'iso8601'],
'Status' => [
'type' => 'string',
- 'enum' => [
- 'ACTIVE',
- 'DELETED',
- ],
+ 'enum' => ['ACTIVE', 'DELETED'],
],
],
],
'DatasetFileMetaResponse' => [
'type' => 'object',
'properties' => [
- 'DatasetFileMetaId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Result' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Uri' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'DatasetFileMetaId' => ['type' => 'string', 'required' => true],
+ 'Result' => ['type' => 'string', 'required' => true],
+ 'Uri' => ['type' => 'string', 'required' => false],
],
],
'DatasetFileMetasStat' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Count' => ['type' => 'integer', 'format' => 'int32'],
],
],
'DatasetJob' => [
'type' => 'object',
'properties' => [
- 'DatasetJobId' => [
- 'type' => 'string',
- ],
- 'JobAction' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'FinishTime' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'JobMode' => [
- 'type' => 'string',
- ],
- 'JobSpec' => [
- 'type' => 'string',
- ],
+ 'DatasetJobId' => ['type' => 'string'],
+ 'JobAction' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'FinishTime' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'JobMode' => ['type' => 'string'],
+ 'JobSpec' => ['type' => 'string'],
'Logs' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'TotalFileCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'CompletedFileCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FailedFileCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DatasetVersion' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'TotalFileCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'CompletedFileCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'FailedFileCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'DatasetVersion' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
],
],
'DatasetJobConfig' => [
'type' => 'object',
'properties' => [
- 'DatasetJobConfigId' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'type' => 'string',
- ],
- 'ConfigType' => [
- 'type' => 'string',
- ],
- 'Config' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'DatasetVersion' => [
- 'type' => 'string',
- ],
+ 'DatasetJobConfigId' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'ModifyTime' => ['type' => 'string'],
+ 'ConfigType' => ['type' => 'string'],
+ 'Config' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'DatasetVersion' => ['type' => 'string'],
],
],
'DatasetLabel' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
'DatasetShareRelationship' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'SourceTenantId' => [
- 'type' => 'string',
- ],
- 'SourceWorkspaceId' => [
- 'type' => 'string',
- ],
- 'TenantId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'IsSecureMode' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'SharedAt' => [
- 'type' => 'string',
- ],
- 'ExpiresAt' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string'],
+ 'SourceTenantId' => ['type' => 'string'],
+ 'SourceWorkspaceId' => ['type' => 'string'],
+ 'TenantId' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ 'IsSecureMode' => ['type' => 'boolean', 'required' => false],
+ 'SharedAt' => ['type' => 'string'],
+ 'ExpiresAt' => ['type' => 'string'],
'AllowedMountAccessLevels' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Extra' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'Extra' => ['type' => 'string'],
],
],
'DatasetVersion' => [
'type' => 'object',
'properties' => [
- 'VersionName' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'Property' => [
- 'type' => 'string',
- ],
- 'DataSourceType' => [
- 'type' => 'string',
- ],
- 'Uri' => [
- 'type' => 'string',
- ],
+ 'VersionName' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'Property' => ['type' => 'string'],
+ 'DataSourceType' => ['type' => 'string'],
+ 'Uri' => ['type' => 'string'],
'Labels' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- ],
- ],
- 'Options' => [
- 'type' => 'string',
- ],
- 'SourceType' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'SourceId' => [
- 'type' => 'string',
- ],
- 'DataCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'MountAccess' => [
- 'type' => 'string',
- ],
- 'ImportInfo' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/Label'],
],
+ 'Options' => ['type' => 'string'],
+ 'SourceType' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'SourceId' => ['type' => 'string'],
+ 'DataCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'DataSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'MountAccess' => ['type' => 'string'],
+ 'ImportInfo' => ['type' => 'string'],
],
],
'Experiment' => [
'type' => 'object',
'properties' => [
- 'ExperimentId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'ArtifactUri' => [
- 'type' => 'string',
- ],
- 'TensorboardLogUri' => [
- 'type' => 'string',
- ],
+ 'ExperimentId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'ArtifactUri' => ['type' => 'string'],
+ 'TensorboardLogUri' => ['type' => 'string'],
'Labels' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/ExperimentLabel',
- ],
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Accessibility' => [
- 'type' => 'string',
- ],
- 'LatestRun' => [
- '$ref' => '#/components/schemas/Run',
+ 'items' => ['$ref' => '#/components/schemas/ExperimentLabel'],
],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Accessibility' => ['type' => 'string'],
+ 'LatestRun' => ['$ref' => '#/components/schemas/Run'],
],
],
'ExperimentLabel' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'ExperimentId' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'ExperimentId' => ['type' => 'string'],
],
],
'Label' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
'LabelInfo' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
'LineageEntity' => [
'type' => 'object',
'properties' => [
- 'Attributes' => [
- 'type' => 'object',
- ],
- 'EntityType' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'QualifiedName' => [
- 'type' => 'string',
- ],
+ 'Attributes' => ['type' => 'object'],
+ 'EntityType' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'QualifiedName' => ['type' => 'string'],
],
],
'LineageRelation' => [
'type' => 'object',
'properties' => [
- 'DestEntityQualifiedName' => [
- 'type' => 'string',
- ],
- 'RelationshipGuid' => [
- 'type' => 'string',
- ],
- 'SrcEntityQualifiedName' => [
- 'type' => 'string',
- ],
+ 'DestEntityQualifiedName' => ['type' => 'string'],
+ 'RelationshipGuid' => ['type' => 'string'],
+ 'SrcEntityQualifiedName' => ['type' => 'string'],
],
],
'Model' => [
'type' => 'object',
'properties' => [
- 'ModelId' => [
- 'type' => 'string',
- ],
- 'ModelName' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
- 'ModelDescription' => [
- 'type' => 'string',
- ],
- 'Accessibility' => [
- 'type' => 'string',
- ],
- 'LatestVersion' => [
- '$ref' => '#/components/schemas/ModelVersion',
- ],
- 'OrderNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Origin' => [
- 'type' => 'string',
- ],
- 'Domain' => [
- 'type' => 'string',
- ],
- 'Task' => [
- 'type' => 'string',
- ],
- 'ModelDoc' => [
- 'type' => 'string',
- ],
- 'Provider' => [
- 'type' => 'string',
- ],
- 'ModelType' => [
- 'type' => 'string',
- ],
+ 'ModelId' => ['type' => 'string'],
+ 'ModelName' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
+ 'ModelDescription' => ['type' => 'string'],
+ 'Accessibility' => ['type' => 'string'],
+ 'LatestVersion' => ['$ref' => '#/components/schemas/ModelVersion'],
+ 'OrderNumber' => ['type' => 'integer', 'format' => 'int64'],
+ 'Origin' => ['type' => 'string'],
+ 'Domain' => ['type' => 'string'],
+ 'Task' => ['type' => 'string'],
+ 'ModelDoc' => ['type' => 'string'],
+ 'Provider' => ['type' => 'string'],
+ 'ModelType' => ['type' => 'string'],
'Labels' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Label'],
],
'Tags' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- ],
- ],
- 'ExtraInfo' => [
- 'type' => 'object',
- ],
- 'ParameterSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'GmtLatestVersionModifiedTime' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/Label'],
],
+ 'ExtraInfo' => ['type' => 'object'],
+ 'ParameterSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'GmtLatestVersionModifiedTime' => ['type' => 'string'],
],
],
'ModelVersion' => [
'type' => 'object',
'properties' => [
- 'VersionName' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
- 'Uri' => [
- 'type' => 'string',
- ],
- 'VersionDescription' => [
- 'type' => 'string',
- ],
- 'FormatType' => [
- 'type' => 'string',
- ],
- 'FrameworkType' => [
- 'type' => 'string',
- ],
- 'Options' => [
- 'type' => 'string',
- ],
- 'SourceType' => [
- 'type' => 'string',
- ],
- 'SourceId' => [
- 'type' => 'string',
- ],
- 'ApprovalStatus' => [
- 'type' => 'string',
- ],
+ 'VersionName' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
+ 'Uri' => ['type' => 'string'],
+ 'VersionDescription' => ['type' => 'string'],
+ 'FormatType' => ['type' => 'string'],
+ 'FrameworkType' => ['type' => 'string'],
+ 'Options' => ['type' => 'string'],
+ 'SourceType' => ['type' => 'string'],
+ 'SourceId' => ['type' => 'string'],
+ 'ApprovalStatus' => ['type' => 'string'],
'Labels' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'type' => 'string',
- ],
- 'Key' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
],
- 'Metrics' => [
- 'type' => 'object',
- ],
- 'TrainingSpec' => [
- 'type' => 'object',
- ],
- 'InferenceSpec' => [
- 'type' => 'object',
- ],
- 'EvaluationSpec' => [
- 'type' => 'object',
- ],
- 'CompressionSpec' => [
- 'type' => 'object',
- ],
- 'ExtraInfo' => [
- 'type' => 'object',
- ],
- 'DistillationSpec' => [
- 'type' => 'object',
- ],
+ 'Metrics' => ['type' => 'object'],
+ 'TrainingSpec' => ['type' => 'object'],
+ 'InferenceSpec' => ['type' => 'object'],
+ 'EvaluationSpec' => ['type' => 'object'],
+ 'CompressionSpec' => ['type' => 'object'],
+ 'ExtraInfo' => ['type' => 'object'],
+ 'DistillationSpec' => ['type' => 'object'],
],
],
'ModulePermissions' => [
@@ -996,12 +444,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ModuleName' => [
- 'type' => 'string',
- ],
- 'PermissionType' => [
- 'type' => 'string',
- ],
+ 'ModuleName' => ['type' => 'string'],
+ 'PermissionType' => ['type' => 'string'],
'Permissions' => [
'type' => 'array',
'items' => [
@@ -1009,21 +453,15 @@
'properties' => [
'PermissionCodes' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'PermissionRules' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Accessibility' => [
- 'type' => 'string',
- ],
- 'EntityAccessType' => [
- 'type' => 'string',
- ],
+ 'Accessibility' => ['type' => 'string'],
+ 'EntityAccessType' => ['type' => 'string'],
],
],
],
@@ -1036,260 +474,152 @@
'Prompt' => [
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'ModifyTime' => [
- 'type' => 'string',
- ],
- 'PromptName' => [
- 'type' => 'string',
- ],
- 'FrameworkType' => [
- 'type' => 'string',
- ],
- 'FrameworkContent' => [
- 'type' => 'string',
- ],
- 'PromptId' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'Accessibility' => [
- 'type' => 'string',
- ],
+ 'CreateTime' => ['type' => 'string'],
+ 'ModifyTime' => ['type' => 'string'],
+ 'PromptName' => ['type' => 'string'],
+ 'FrameworkType' => ['type' => 'string'],
+ 'FrameworkContent' => ['type' => 'string'],
+ 'PromptId' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ 'Accessibility' => ['type' => 'string'],
],
],
'Relation' => [
'type' => 'object',
'properties' => [
- 'ErrMsg' => [
- 'type' => 'string',
- ],
- 'LineageRelation' => [
- '$ref' => '#/components/schemas/LineageRelation',
- ],
- 'Result' => [
- 'type' => 'boolean',
- ],
+ 'ErrMsg' => ['type' => 'string'],
+ 'LineageRelation' => ['$ref' => '#/components/schemas/LineageRelation'],
+ 'Result' => ['type' => 'boolean'],
],
],
'Relationship' => [
'type' => 'object',
'properties' => [
- 'Attributes' => [
- 'type' => 'object',
- ],
- 'DataChannel' => [
- 'type' => 'string',
- ],
- 'RelationshipGuid' => [
- 'type' => 'string',
- ],
- 'RelationshipType' => [
- 'type' => 'string',
- ],
+ 'Attributes' => ['type' => 'object'],
+ 'DataChannel' => ['type' => 'string'],
+ 'RelationshipGuid' => ['type' => 'string'],
+ 'RelationshipType' => ['type' => 'string'],
],
],
'Run' => [
'type' => 'object',
'properties' => [
- 'Accessibility' => [
- 'type' => 'string',
- ],
- 'SourceId' => [
- 'type' => 'string',
- ],
- 'SourceType' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
+ 'Accessibility' => ['type' => 'string'],
+ 'SourceId' => ['type' => 'string'],
+ 'SourceType' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
'Params' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/RunParam',
- ],
+ 'items' => ['$ref' => '#/components/schemas/RunParam'],
],
'Labels' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/RunLabel',
- ],
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/RunLabel'],
],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
'Metrics' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/RunMetric',
- ],
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
- 'ExperimentId' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'RunId' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/RunMetric'],
],
+ 'OwnerId' => ['type' => 'string'],
+ 'ExperimentId' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'RunId' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
'RunLabel' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'RunId' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'Key' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Value' => ['type' => 'string', 'required' => true],
+ 'RunId' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'Key' => ['type' => 'string', 'required' => true],
],
],
'RunMetric' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => true,
- ],
- 'Step' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Timestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Key' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Value' => ['type' => 'number', 'format' => 'float', 'required' => true],
+ 'Step' => ['type' => 'integer', 'format' => 'int64'],
+ 'Timestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'Key' => ['type' => 'string', 'required' => true],
],
],
'RunParam' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Key' => [
- 'type' => 'string',
- 'required' => true,
+ 'Value' => ['type' => 'string', 'required' => true],
+ 'Key' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ 'ServiceTemplate' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceTemplateId' => ['type' => 'string'],
+ 'ServiceTemplateName' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
+ 'OrderNumber' => ['type' => 'integer', 'format' => 'int64'],
+ 'Provider' => ['type' => 'string'],
+ 'ServiceTemplateDoc' => ['type' => 'string'],
+ 'ServiceTemplateDescription' => ['type' => 'string'],
+ 'InferenceSpec' => ['type' => 'object'],
+ 'Labels' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Label'],
],
],
],
'Trial' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'TrialId' => [
- 'type' => 'string',
- ],
- 'SourceType' => [
- 'type' => 'string',
- ],
- 'SourceId' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'ExperimentId' => [
- 'type' => 'string',
- ],
+ 'Name' => ['type' => 'string'],
+ 'TrialId' => ['type' => 'string'],
+ 'SourceType' => ['type' => 'string'],
+ 'SourceId' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'ExperimentId' => ['type' => 'string'],
'Labels' => [
'type' => 'array',
- 'items' => [
- 'type' => 'object',
- ],
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'Accessibility' => [
- 'type' => 'string',
+ 'items' => ['type' => 'object'],
],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'Accessibility' => ['type' => 'string'],
],
],
'TrialLabel' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'TrialId' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'TrialId' => ['type' => 'string'],
],
],
],
],
'apis' => [
- 'CreateExperiment' => [
- 'path' => '/api/v1/experiments',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AcceptDataworksEvent' => [
+ 'path' => '/api/v1/workspaces/action/acceptdataworksevent',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -1300,53 +630,24 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/LabelInfo',
- 'required' => false,
- ],
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ArtifactUri' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'PRIVATE',
- 'PUBLIC',
- ],
- ],
+ 'MessageId' => ['type' => 'string', 'required' => false],
+ 'Data' => ['type' => 'object', 'required' => false],
],
],
],
],
],
- 'UpdateExperiment' => [
- 'path' => '/api/v1/experiments/{ExperimentId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddImage' => [
+ 'path' => '/api/v1/images',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -1357,199 +658,79 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'ImageUri' => ['type' => 'string', 'required' => true],
+ 'Labels' => [
+ 'type' => 'array',
'required' => false,
- 'enum' => [
- 'PRIVATE',
- 'PUBLIC',
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ 'Size' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'ImageId' => ['type' => 'string', 'required' => false],
+ 'SourceType' => ['type' => 'string', 'required' => false],
+ 'SourceId' => ['type' => 'string', 'required' => false],
],
],
],
- [
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
],
],
- 'GetExperiment' => [
- 'path' => '/api/v1/experiments/{ExperimentId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddImageLabels' => [
+ 'path' => '/api/v1/images/{ImageId}/labels',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
+ 'name' => 'ImageId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'ListExperiment' => [
- 'path' => '/api/v1/experiments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Labels',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SortBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'OrderBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Options',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'match_name_exactly' => [
- 'type' => 'string',
- 'required' => false,
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
],
],
- 'DeleteExperiment' => [
- 'path' => '/api/v1/experiments/{ExperimentId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddMemberRole' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/members/{MemberId}/roles/{RoleName}',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1558,24 +739,26 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'SetExperimentLabels' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/labels',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ChangeResourceGroup' => [
+ 'path' => '/resourcegroups/action/changeresourcegroup',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1591,73 +774,62 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/LabelInfo',
- 'required' => false,
- ],
- ],
+ 'ResourceId' => ['type' => 'string', 'required' => false],
+ 'NewResourceGroupId' => ['type' => 'string', 'required' => false],
+ 'ResourceType' => ['type' => 'string', 'required' => false],
],
],
],
- [
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
],
],
- 'DeleteExperimentLabel' => [
- 'path' => '/api/v1/experiments/{ExperimentId}/labels/{Key}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateCodeSource' => [
+ 'path' => '/api/v1/codesources',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExperimentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Key',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'DisplayName' => ['type' => 'string', 'required' => true],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'CodeRepo' => ['type' => 'string', 'required' => false],
+ 'CodeRepoUserName' => ['type' => 'string', 'required' => false],
+ 'CodeRepoAccessToken' => ['type' => 'string', 'required' => false],
+ 'CodeBranch' => ['type' => 'string', 'required' => false],
+ 'MountPath' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ 'CodeCommit' => ['type' => 'string', 'required' => false],
+ 'CloneType' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
],
],
],
- 'CreateRun' => [
- 'path' => '/api/v1/runs',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateConnection' => [
+ 'path' => '/api/v1/connections',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -1668,36 +840,46 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceType' => [
- 'type' => 'string',
- 'required' => false,
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ 'Configs' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'additionalProperties' => ['type' => 'string'],
],
- 'SourceId' => [
- 'type' => 'string',
+ 'ConnectionName' => ['type' => 'string', 'required' => true],
+ 'ConnectionType' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'Secrets' => [
+ 'type' => 'object',
'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
- 'ExperimentId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Labels' => [
- 'type' => 'array',
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ 'ResourceMeta' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
+ 'properties' => [
+ 'InstanceName' => ['type' => 'string', 'required' => false],
+ 'InstanceId' => ['type' => 'string', 'required' => false],
+ 'Extra' => ['type' => 'string', 'required' => false],
],
],
- 'Params' => [
+ 'Models' => [
'type' => 'array',
'required' => false,
'items' => [
- '$ref' => '#/components/schemas/RunParam',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Model' => ['type' => 'string', 'required' => false],
+ 'DisplayName' => ['type' => 'string', 'required' => false],
+ 'ModelType' => ['type' => 'string', 'required' => false],
+ 'ToolCall' => ['type' => 'boolean', 'required' => false],
+ 'SupportReasoning' => ['type' => 'boolean', 'required' => false],
+ 'SupportResponseSchema' => ['type' => 'boolean', 'required' => false],
+ 'SupportVision' => ['type' => 'boolean', 'required' => false],
+ 'MaxModelLength' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
],
@@ -1705,30 +887,20 @@
],
],
],
- 'UpdateRun' => [
- 'path' => '/api/v1/runs/{RunId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDataset' => [
+ 'path' => '/api/v1/datasets',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'RunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -1736,285 +908,179 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
- 'type' => 'string',
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'Property' => ['type' => 'string', 'required' => true],
+ 'DataSourceType' => ['type' => 'string', 'required' => true],
+ 'Uri' => ['type' => 'string', 'required' => true],
+ 'DataType' => ['type' => 'string', 'required' => false],
+ 'Labels' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
+ ],
+ 'SourceType' => ['type' => 'string', 'required' => false],
+ 'SourceId' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ 'Options' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ 'ProviderType' => ['type' => 'string', 'required' => false],
+ 'Provider' => ['type' => 'string', 'required' => false],
+ 'UserId' => ['type' => 'string', 'required' => false],
+ 'SourceDatasetId' => ['type' => 'string', 'required' => false],
+ 'SourceDatasetVersion' => ['type' => 'string', 'required' => false],
+ 'VersionDescription' => ['type' => 'string', 'required' => false],
+ 'VersionLabels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
],
- 'Labels' => [
+ 'DataSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '999999999999'],
+ 'DataCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '999999999999'],
+ 'MountAccessReadWriteRoleIdList' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'Params' => [
+ 'ImportInfo' => ['type' => 'string', 'required' => false],
+ 'Edition' => ['type' => 'string', 'required' => false],
+ 'AccessibleRoleIdList' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/RunParam',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'GetRun' => [
- 'path' => '/api/v1/runs/{RunId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDatasetFileMetas' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'RunId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Verbose',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'DatasetVersion' => ['type' => 'string', 'required' => true],
+ 'DatasetFileMetas' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['$ref' => '#/components/schemas/DatasetFileMetaContentCreate', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'ListRuns' => [
- 'path' => '/api/v1/runs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDatasetJob' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ExperimentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SourceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Labels',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'GmtCreateTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'OrderBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SortBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Order',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'DatasetVersion' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'JobAction' => ['type' => 'string', 'required' => true],
+ 'JobMode' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'JobSpec' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'DeleteRun' => [
- 'path' => '/api/v1/runs/{RunId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'RunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'DeleteRunLabel' => [
- 'path' => '/api/v1/runs/{RunId}/labels/{Key}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDatasetJobConfig' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'RunId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Key',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'ConfigType' => ['type' => 'string', 'required' => true],
+ 'Config' => ['type' => 'string', 'required' => true],
+ 'DatasetVersion' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'LogRunMetrics' => [
- 'path' => '/api/v1/runs/{RunId}/metrics/action/log',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDatasetLabels' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/labels',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'RunId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -2024,93 +1090,35 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Metrics' => [
+ 'Labels' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/RunMetric',
- 'required' => false,
- ],
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
],
],
],
],
],
],
- 'ListRunMetrics' => [
- 'path' => '/api/v1/runs/{RunId}/metrics',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDatasetVersion' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/versions',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'RunId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Key',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'PageToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'AddImage' => [
- 'path' => '/api/v1/images',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -2118,95 +1126,48 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ImageUri' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Property' => ['type' => 'string', 'required' => true],
+ 'DataSourceType' => ['type' => 'string', 'required' => true],
+ 'Uri' => ['type' => 'string', 'required' => true],
'Labels' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'ImageId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceId' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
],
+ 'SourceType' => ['type' => 'string', 'required' => false],
+ 'SourceId' => ['type' => 'string', 'required' => false],
+ 'Options' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'DataSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'DataCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'ImportInfo' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'AddImageLabels' => [
- 'path' => '/api/v1/images/{ImageId}/labels',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateDatasetVersionLabels' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}/labels',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ImageId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'VersionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -2219,376 +1180,67 @@
'Labels' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
],
],
],
],
],
],
- 'GetImage' => [
- 'path' => '/api/v1/images/{ImageId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ImageId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'ListImageLabels' => [
- 'path' => '/api/v1/image/labels',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'LabelKeys',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'LabelFilter',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ImageId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'ListImages' => [
- 'path' => '/api/v1/images',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateExperiment' => [
+ 'path' => '/api/v1/experiments',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SortBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Labels',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Query',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Accessibility',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ImageUri',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
- ],
- ],
- ],
- ],
- 'RemoveImage' => [
- 'path' => '/api/v1/images/{ImageId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ImageId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'PublishImage' => [
- 'path' => '/api/v1/images/{ImageId}/publish',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ImageId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'RemoveImageLabels' => [
- 'path' => '/api/v1/images/{ImageId}/labels/{LabelKey}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ImageId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'LabelKey',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'properties' => [
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/LabelInfo', 'required' => false],
+ ],
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'ArtifactUri' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['PRIVATE', 'PUBLIC'],
+ ],
+ ],
],
],
],
],
'CreateImageBuild' => [
'path' => '/api/v1/imagebuilds',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -2598,136 +1250,67 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
'Resource' => [
'type' => 'object',
'required' => true,
'properties' => [
- 'EcsSpec' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'EcsSpec' => ['type' => 'string', 'required' => false],
'ResourceConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'CPU' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Memory' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'CPU' => ['type' => 'string', 'required' => false],
+ 'Memory' => ['type' => 'string', 'required' => false],
],
],
- 'ResourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ResourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'ResourceId' => ['type' => 'string', 'required' => false],
+ 'ResourceType' => ['type' => 'string', 'required' => false],
],
],
'UserVpc' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'VpcId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SwitchId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SecurityGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'VpcId' => ['type' => 'string', 'required' => false],
+ 'SwitchId' => ['type' => 'string', 'required' => false],
+ 'SecurityGroupId' => ['type' => 'string', 'required' => false],
'ExtendedCidrs' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'DefaultRoute' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'DefaultRoute' => ['type' => 'string', 'required' => false],
],
],
'TargetRegistry' => [
'type' => 'object',
'required' => true,
'properties' => [
- 'InstanceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Type' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'InstanceId' => ['type' => 'string', 'required' => false],
+ 'Type' => ['type' => 'string', 'required' => true],
],
],
- 'OverwriteImageTag' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'OverwriteImageTag' => ['type' => 'boolean', 'required' => false],
'BuildConfig' => [
'type' => 'object',
'required' => true,
'properties' => [
- 'Dockerfile' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'BuildType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'RegistryAuths' => [
- 'type' => 'object',
- 'required' => false,
- ],
+ 'Dockerfile' => ['type' => 'string', 'required' => true],
+ 'BuildType' => ['type' => 'string', 'required' => true],
+ 'RegistryAuths' => ['type' => 'object', 'required' => false],
],
],
- 'RegionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ImageBuildJobName' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'RegionId' => ['type' => 'string', 'required' => false],
+ 'ImageBuildJobName' => ['type' => 'string', 'required' => false],
'Image' => [
'type' => 'object',
'required' => true,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Uri' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'Uri' => ['type' => 'string', 'required' => true],
'Labels' => [
'type' => 'array',
'required' => false,
@@ -2735,14 +1318,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
],
@@ -2753,15 +1330,10 @@
],
],
],
- 'ListPermissions' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/permissions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateMember' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/members',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2772,203 +1344,228 @@
[
'name' => 'WorkspaceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Members' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'UserId' => ['type' => 'string', 'required' => true],
+ 'Roles' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'GetPermission' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/permissions/{PermissionCode}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateModel' => [
+ 'path' => '/api/v1/models',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'PermissionCode',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Accessibility',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Creator',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'ModelName' => ['type' => 'string', 'required' => true],
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
+ ],
+ 'Tag' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
+ ],
+ 'ModelDescription' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ 'Origin' => ['type' => 'string', 'required' => false],
+ 'Domain' => ['type' => 'string', 'required' => false],
+ 'Task' => ['type' => 'string', 'required' => false],
+ 'ModelDoc' => ['type' => 'string', 'required' => false],
+ 'OrderNumber' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'ModelType' => ['type' => 'string', 'required' => false],
+ 'ExtraInfo' => ['type' => 'object', 'required' => false],
+ 'ParameterSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'CreateModelLabels' => [
+ 'path' => '/api/v1/models/{ModelId}/labels',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Resource',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Option',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Labels',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'required' => false,
- ],
- ],
- [
- 'name' => 'CallerUid',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'CallerType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'properties' => [
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'DeleteWorkspaceResource' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/resources',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateModelVersion' => [
+ 'path' => '/api/v1/models/{ModelId}/versions',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ProductType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'GroupName',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'VersionName' => ['type' => 'string', 'required' => false],
+ 'Uri' => ['type' => 'string', 'required' => true],
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
+ ],
+ 'VersionDescription' => ['type' => 'string', 'required' => false],
+ 'FormatType' => ['type' => 'string', 'required' => false],
+ 'FrameworkType' => ['type' => 'string', 'required' => false],
+ 'Options' => ['type' => 'string', 'required' => false],
+ 'Metrics' => ['type' => 'object', 'required' => false],
+ 'TrainingSpec' => ['type' => 'object', 'required' => false],
+ 'InferenceSpec' => ['type' => 'object', 'required' => false],
+ 'SourceType' => ['type' => 'string', 'required' => false],
+ 'SourceId' => ['type' => 'string', 'required' => false],
+ 'ApprovalStatus' => ['type' => 'string', 'required' => false],
+ 'EvaluationSpec' => ['type' => 'object', 'required' => false],
+ 'CompressionSpec' => ['type' => 'object', 'required' => false],
+ 'ExtraInfo' => ['type' => 'object', 'required' => false],
+ 'DistillationSpec' => ['type' => 'object', 'required' => false],
+ ],
],
],
[
- 'name' => 'WorkspaceId',
+ 'name' => 'ModelId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'CreateModelVersionLabels' => [
+ 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}/labels',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Option',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ResourceType',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
+ ],
+ ],
],
],
[
- 'name' => 'Labels',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'VersionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateWorkspaceResource' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/resources',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateProductOrders' => [
+ 'path' => '/api/v1/productorders',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -2976,66 +1573,45 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'IsDefault' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'ProductType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'GroupName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ResourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Labels' => [
+ 'AutoPay' => ['type' => 'boolean', 'required' => false],
+ 'Products' => [
'type' => 'array',
'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
+ 'AutoRenew' => ['type' => 'boolean', 'required' => false],
+ 'ProductCode' => ['type' => 'string', 'required' => false],
+ 'ChargeType' => ['type' => 'string', 'required' => false],
+ 'OrderType' => ['type' => 'string', 'required' => false],
+ 'PricingCycle' => ['type' => 'string', 'required' => false],
+ 'Duration' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'InstanceProperties' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Code' => ['type' => 'string', 'required' => false],
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'ResourceIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'Spec' => [
- 'type' => 'object',
- 'required' => false,
- ],
],
],
],
],
],
- 'ListResources' => [
- 'path' => '/api/v1/resources',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateRun' => [
+ 'path' => '/api/v1/runs',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3044,128 +1620,82 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ProductTypes',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'GroupName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ResourceName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Option',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ResourceTypes',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'QuotaIds',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'SourceType' => ['type' => 'string', 'required' => false],
+ 'SourceId' => ['type' => 'string', 'required' => false],
+ 'ExperimentId' => ['type' => 'string', 'required' => true],
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
+ ],
+ 'Params' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/RunParam', 'required' => false],
+ ],
+ ],
],
],
+ ],
+ ],
+ 'CreateWorkspace' => [
+ 'path' => '/api/v1/workspaces',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Labels',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'VerboseFields',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'WorkspaceName' => ['type' => 'string', 'required' => true],
+ 'Description' => ['type' => 'string', 'required' => true],
+ 'DisplayName' => ['type' => 'string', 'required' => false],
+ 'EnvTypes' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => true],
+ ],
+ 'ResourceGroupId' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
'CreateWorkspaceResource' => [
'path' => '/api/v1/workspaces/{WorkspaceId}/resources',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -3182,26 +1712,11 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ProductType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EnvType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'IsDefault' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'ProductType' => ['type' => 'string', 'required' => false],
+ 'EnvType' => ['type' => 'string', 'required' => true],
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ 'IsDefault' => ['type' => 'boolean', 'required' => false],
'Quotas' => [
'type' => 'array',
'required' => false,
@@ -3209,25 +1724,13 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Id' => ['type' => 'string', 'required' => false],
],
],
],
- 'Spec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'GroupName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ResourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Spec' => ['type' => 'object', 'required' => false],
+ 'GroupName' => ['type' => 'string', 'required' => false],
+ 'ResourceType' => ['type' => 'string', 'required' => false],
'Labels' => [
'type' => 'array',
'required' => false,
@@ -3235,80 +1738,78 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'Option' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Option' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'AddMemberRole' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/members/{MemberId}/roles/{RoleName}',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateWorkspaceRole' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/roles',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'MemberId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'RoleName' => ['type' => 'string', 'required' => false],
+ 'RoleType' => ['type' => 'string', 'required' => false],
+ 'ModulePermissions' => ['$ref' => '#/components/schemas/ModulePermissions', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'DeleteCodeSource' => [
+ 'path' => '/api/v1/codesources/{CodeSourceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RoleName',
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'CodeSourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RemoveMemberRole' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/members/{MemberId}/roles/{RoleName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteConfig' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/configs/{ConfigKey}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3319,478 +1820,421 @@
[
'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'MemberId',
+ 'name' => 'ConfigKey',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'RoleName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'CategoryName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteMembers' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/members',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteConnection' => [
+ 'path' => '/api/v1/connections/{ConnectionId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'ConnectionId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'MemberIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetMember' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/member',
- 'methods' => [
- 'get',
+ 'DeleteDataset' => [
+ 'path' => '/api/v1/datasets/{DatasetId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DeleteDatasetFileMetas' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'UserId',
+ 'name' => 'DatasetVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MemberId',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'DatasetFileMetaIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListMembers' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/members',
- 'methods' => [
- 'get',
+ 'DeleteDatasetJob' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs/{DatasetJobId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'DatasetJobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DeleteDatasetJobConfig' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs/{DatasetJobConfigId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'DatasetJobConfigId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteDatasetLabels' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/labels',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Roles',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MemberName',
+ 'name' => 'LabelKeys',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateMember' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/members',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteDatasetVersion' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Members' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'UserId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Roles' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'VersionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateConfigs' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/configs',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteDatasetVersionLabels' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}/labels',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Configs' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ConfigKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ConfigValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CategoryName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'VersionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Keys',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetConfig' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/config',
- 'methods' => [
- 'get',
+ 'DeleteExperiment' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DeleteExperimentLabel' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/labels/{Key}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ExperimentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Key',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeleteMembers' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/members',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
'deprecated' => false,
'parameters' => [
[
'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CategoryName',
+ 'name' => 'MemberIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteModel' => [
+ 'path' => '/api/v1/models/{ModelId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ConfigKey',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListConfigs' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/configs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteModelLabels' => [
+ 'path' => '/api/v1/models/{ModelId}/labels',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'ModelId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CategoryName',
+ 'name' => 'LabelKeys',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteModelVersion' => [
+ 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ConfigKeys',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Labels',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'VersionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteConfig' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/configs/{ConfigKey}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteModelVersionLabels' => [
+ 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}/labels',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'ModelId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ConfigKey',
+ 'name' => 'VersionName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CategoryName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Labels',
+ 'name' => 'LabelKeys',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateConfig' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/config',
- 'methods' => [
- 'put',
+ 'DeleteRun' => [
+ 'path' => '/api/v1/runs/{RunId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RunId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DeleteRunLabel' => [
+ 'path' => '/api/v1/runs/{RunId}/labels/{Key}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3799,65 +2243,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'RunId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ConfigKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ConfigValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CategoryName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'Key',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListWorkspaces' => [
- 'path' => '/api/v1/workspaces',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteUserConfig' => [
+ 'path' => '/api/v1/userconfigs/{CategoryName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3866,130 +2266,107 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'ConfigKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'CategoryName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'SortBy',
+ 'name' => 'Scope',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteWorkspace' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'WorkspaceName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteWorkspaceResource' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/resources',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ModuleList',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Status',
+ 'name' => 'ProductType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Option',
+ 'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Fields',
+ 'name' => 'Option',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'WorkspaceIds',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Labels',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'UserId',
+ 'name' => 'ResourceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateWorkspace' => [
- 'path' => '/api/v1/workspaces',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteWorkspaceRoles' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/roles/action/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -3997,1096 +2374,852 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'WorkspaceName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DisplayName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EnvTypes' => [
+ 'RoleIds' => [
'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- 'ResourceGroupId' => [
- 'type' => 'string',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'GetWorkspace' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetCodeSource' => [
+ 'path' => '/api/v1/codesources/{CodeSourceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'CodeSourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteWorkspace' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetConfig' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/config',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'UpdateWorkspace' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'CategoryName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'WorkspaceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ConfigKey',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'DisplayName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetDefaultWorkspace' => [
- 'path' => '/api/v1/defaultWorkspaces',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetConnection' => [
+ 'path' => '/api/v1/connections/{ConnectionId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Verbose',
+ 'name' => 'ConnectionId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'EncryptOption',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateDefaultWorkspace' => [
- 'path' => '/api/v1/defaultWorkspaces',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetDataset' => [
+ 'path' => '/api/v1/datasets/{DatasetId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListWorkspaceUsers' => [
- 'path' => '/api/v1/workspaces/{WorkspaceId}/users',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetDatasetFileMeta' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas/{DatasetFileMetaId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'WorkspaceId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'UserName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'DatasetFileMetaId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'UserId',
+ 'name' => 'DatasetVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ListQuotas' => [
- 'path' => '/api/v1/quotas',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'Name',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetDatasetFileMetasStatistics' => [
'path' => '/api/v1/statistics/datasets/{DatasetId}/datasetfilemetas',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DatasetVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AggregateBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'StopDatasetJob' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs/{DatasetJobId}/action/stop',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDatasetJob' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs/{DatasetJobId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DatasetJobId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'DatasetVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'DatasetVersion',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetDatasetJob' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs/{DatasetJobId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDatasetJobConfig' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs/{DatasetJobConfigId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'DatasetJobId',
+ 'name' => 'DatasetJobConfigId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'DatasetVersion',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateDatasetFileMetas' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas',
- 'methods' => [
- 'post',
+ 'GetDatasetVersion' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'VersionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'GetDefaultWorkspace' => [
+ 'path' => '/api/v1/defaultWorkspaces',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetExperiment' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
+ 'name' => 'ExperimentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DatasetVersion' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DatasetFileMetas' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- '$ref' => '#/components/schemas/DatasetFileMetaContentCreate',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'UpdateDatasetJob' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs/{DatasetJobId}',
- 'methods' => [
- 'put',
+ 'GetImage' => [
+ 'path' => '/api/v1/images/{ImageId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ImageId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
],
+ ],
+ 'GetInstanceJob' => [
+ 'path' => '/api/v1/instancejobs/{InstanceJobId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'InstanceJobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetMember' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/member',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'DatasetJobId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'DatasetVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListDatasetJobs' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs',
- 'methods' => [
- 'get',
+ 'GetModel' => [
+ 'path' => '/api/v1/models/{ModelId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'GetModelVersion' => [
+ 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'VersionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetPermission' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/permissions/{PermissionCode}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'DatasetVersion',
+ 'name' => 'PermissionCode',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Accessibility',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'WorkspaceId',
+ 'name' => 'Creator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'JobAction',
+ 'name' => 'Resource',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Option',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Labels',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'style' => 'json',
+ 'schema' => ['type' => 'object', 'required' => false],
],
[
- 'name' => 'Status',
+ 'name' => 'CallerUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Order',
+ 'name' => 'CallerType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'SortBy',
+ 'name' => 'CallerAccessKeyId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'CallerSecurityToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
],
- 'DeleteDatasetJobConfig' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs/{DatasetJobConfigId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetRun' => [
+ 'path' => '/api/v1/runs/{RunId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
+ 'name' => 'RunId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'DatasetJobConfigId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
+ ],
+ ],
+ 'GetWorkspace' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Verbose',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DeleteDatasetJob' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs/{DatasetJobId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetWorkspaceRole' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/roles/{RoleId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'DatasetJobId',
+ 'name' => 'RoleId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateDatasetJobConfig' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs/{DatasetJobConfigId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListCodeSources' => [
+ 'path' => '/api/v1/codesources',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'DisplayName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DatasetJobConfigId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ConfigType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Config' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateDatasetFileMetas' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListConfigs' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/configs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'DatasetVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DatasetFileMetas' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- '$ref' => '#/components/schemas/DatasetFileMetaConentUpdate',
- 'required' => false,
- ],
- ],
- 'TagJobId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'CategoryName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ConfigKeys',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListDatasetJobConfigs' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs/',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListConnections' => [
+ 'path' => '/api/v1/connections',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'WorkspaceId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ConfigType',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Order',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ConnectionIds',
+ 'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ConnectionName',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ConnectionTypes',
+ 'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'DatasetVersion',
+ 'name' => 'EncryptOption',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Model',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ModelTypes',
'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
+ [
+ 'name' => 'ToolCall',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'Creator',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Accessibility',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
'ListDatasetFileMetas' => [
'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DatasetVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'QueryType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QueryText',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TopK',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '5000',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '5000'],
],
[
'name' => 'ScoreThreshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'deprecated' => true,
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'required' => false],
],
[
'name' => 'NextToken',
'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' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndFileUpdateTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'format' => 'iso8601_normal',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'format' => 'iso8601_normal', 'required' => false],
],
[
'name' => 'StartFileUpdateTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'format' => 'iso8601_normal',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'format' => 'iso8601_normal', 'required' => false],
],
[
'name' => 'QueryImage',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ThumbnailMode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DatasetFileMetaIds',
@@ -5095,10 +3228,7 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 20,
],
],
@@ -5109,10 +3239,7 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
@@ -5122,10 +3249,7 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
@@ -5135,27 +3259,18 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
'name' => 'QueryFileName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QueryFileDir',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'QueryFileTypeIncludeAny',
@@ -5164,10 +3279,7 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
@@ -5177,46 +3289,28 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
'name' => 'StartTagUpdateTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'format' => 'iso8601_normal',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'format' => 'iso8601_normal', 'required' => false],
],
[
'name' => 'EndTagUpdateTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'format' => 'iso8601_normal',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'format' => 'iso8601_normal', 'required' => false],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'QueryExpression',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
@@ -5224,2582 +3318,1369 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'ACTIVE',
- 'ALL',
- 'DELETED',
- ],
+ 'enum' => ['ACTIVE', 'ALL', 'DELETED'],
],
],
[
'name' => 'QueryVideo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetDatasetJobConfig' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs/{DatasetJobConfigId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDatasetJobConfigs' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs/',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'DatasetJobConfigId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'GetDatasetFileMeta' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas/{DatasetFileMetaId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ConfigType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DatasetFileMetaId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DatasetVersion',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'WorkspaceId',
+ 'name' => 'DatasetVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteDatasetFileMetas' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDatasetJobs' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DatasetVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DatasetFileMetaIds',
+ 'name' => 'JobAction',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateDatasetJobConfig' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ConfigType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Config' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DatasetVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateDatasetJob' => [
- 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'DatasetVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'JobAction' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'JobMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'JobSpec' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'WithLogs',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean'],
],
],
],
- 'CreateDataset' => [
- 'path' => '/api/v1/datasets',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListDatasetVersions' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/versions',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Property' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DataSourceType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Uri' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DataType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
- 'SourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ProviderType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Provider' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'UserId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceDatasetId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceDatasetVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'VersionDescription' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'VersionLabels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '999999999999',
- ],
- 'DataCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '999999999999',
- ],
- 'MountAccessReadWriteRoleIdList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'ImportInfo' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Edition' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'GetDataset' => [
- 'path' => '/api/v1/datasets/{DatasetId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
- ],
- ],
- 'UpdateDataset' => [
- 'path' => '/api/v1/datasets/{DatasetId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'LabelKeys',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Edition' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MountAccessReadWriteRoleIdList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'SharingConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SharedTo' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/DatasetShareRelationship',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'LabelValues',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'PublishDataset' => [
- 'path' => '/api/v1/datasets/{DatasetId}/publish',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Properties',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'SourceTypes',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListDatasets' => [
'path' => '/api/v1/datasets',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['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' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Properties',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DataSourceTypes',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DataTypes',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SourceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SourceTypes',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Label',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Provider',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SourceDatasetId',
'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' => 'ShareScope',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Edition',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Accessibility',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'DatasetIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteDataset' => [
- 'path' => '/api/v1/datasets/{DatasetId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListExperiment' => [
+ 'path' => '/api/v1/experiments',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateDatasetLabels' => [
- 'path' => '/api/v1/datasets/{DatasetId}/labels',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'OrderBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'PageToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'Options',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
+ 'match_name_exactly' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DeleteDatasetLabels' => [
- 'path' => '/api/v1/datasets/{DatasetId}/labels',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListFeatures' => [
+ 'path' => '/api/v1/features',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'LabelKeys',
+ 'name' => 'Names',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateDatasetVersion' => [
- 'path' => '/api/v1/datasets/{DatasetId}/versions',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListImageLabels' => [
+ 'path' => '/api/v1/image/labels',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'LabelKeys',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Property' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DataSourceType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Uri' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
- 'SourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'DataCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'ImportInfo' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'LabelFilter',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'GetDatasetVersion' => [
- 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ImageId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'VersionName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListDatasetVersions' => [
- 'path' => '/api/v1/datasets/{DatasetId}/versions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListImages' => [
+ 'path' => '/api/v1/images',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LabelKeys',
+ 'name' => 'Labels',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LabelValues',
+ 'name' => 'Verbose',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Properties',
+ 'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SourceTypes',
+ 'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SourceId',
+ 'name' => 'Accessibility',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SortBy',
+ 'name' => 'ImageUri',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateDatasetVersion' => [
- 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListMembers' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/members',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VersionName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DataSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'DataCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'DeleteDatasetVersion' => [
- 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Roles',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'MemberName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'VersionName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
],
- 'DeleteDatasetVersionLabels' => [
- 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}/labels',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListModelVersions' => [
+ 'path' => '/api/v1/models/{ModelId}/versions',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'VersionName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Keys',
+ 'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateDatasetVersionLabels' => [
- 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}/labels',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'DatasetId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'VersionName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'VersionName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'FormatType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Labels' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'name' => 'FrameworkType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateConnection' => [
- 'path' => '/api/v1/connections',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Configs' => [
- 'type' => 'object',
- 'required' => true,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'ConnectionName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ConnectionType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Secrets' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ResourceMeta' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'InstanceName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'InstanceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Extra' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'Models' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Model' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ModelType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ToolCall' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'SourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'GetConnection' => [
- 'path' => '/api/v1/connections/{ConnectionId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'SourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ConnectionId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Label',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EncryptOption',
+ 'name' => 'ApprovalStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateConnection' => [
- 'path' => '/api/v1/connections/{ConnectionId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListModels' => [
+ 'path' => '/api/v1/models',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ConnectionId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Configs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Secrets' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'Models' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Model' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ModelType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ToolCall' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'ListConnections' => [
- 'path' => '/api/v1/connections',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
'name' => 'WorkspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ModelName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'Label',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SortBy',
+ 'name' => 'Provider',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Order',
+ 'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ConnectionIds',
+ 'name' => 'Task',
'in' => 'query',
- 'style' => 'simple',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ConnectionName',
+ 'name' => 'Origin',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ConnectionTypes',
+ 'name' => 'Query',
'in' => 'query',
- 'style' => 'simple',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EncryptOption',
+ 'name' => 'ModelType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Model',
+ 'name' => 'Collections',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ModelTypes',
+ 'name' => 'Tag',
'in' => 'query',
- 'style' => 'simple',
+ 'style' => 'json',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
[
- 'name' => 'ToolCall',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Creator',
+ 'name' => 'Conditions',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Column' => ['type' => 'string', 'required' => false],
+ 'Operator' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'DeleteConnection' => [
- 'path' => '/api/v1/connections/{ConnectionId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPermissions' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/permissions',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ConnectionId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ValidateConnection' => [
- 'path' => '/api/v1/connections/validate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListProducts' => [
+ 'path' => '/api/v1/products',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Configs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'ConnectionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ConnectionType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Secrets' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'ValidateType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'ProductCodes',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateCodeSource' => [
- 'path' => '/api/v1/codesources',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ServiceCodes',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'DisplayName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeRepo' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeRepoUserName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeRepoAccessToken' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeBranch' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MountPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeCommit' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean'],
],
],
],
- 'DeleteCodeSource' => [
- 'path' => '/api/v1/codesources/{CodeSourceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListQuotas' => [
+ 'path' => '/api/v1/quotas',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'CodeSourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PublishCodeSource' => [
- 'path' => '/api/v1/codesources/{CodeSourceId}/publish',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListResources' => [
+ 'path' => '/api/v1/resources',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'CodeSourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'UpdateCodeSource' => [
- 'path' => '/api/v1/codesources/{CodeSourceId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
- ],
- 'consumes' => [],
- 'produces' => [],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'CodeSourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'DisplayName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeRepo' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeBranch' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeCommit' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeRepoUserName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CodeRepoAccessToken' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MountPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'ProductTypes',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ResourceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Option',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'QuotaIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'VerboseFields',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetCodeSource' => [
- 'path' => '/api/v1/codesources/{CodeSourceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListRunMetrics' => [
+ 'path' => '/api/v1/runs/{RunId}/metrics',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'CodeSourceId',
+ 'name' => 'RunId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Key',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'PageToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'ListCodeSources' => [
- 'path' => '/api/v1/codesources',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListRuns' => [
+ 'path' => '/api/v1/runs',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DisplayName',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ExperimentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Verbose',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'GmtCreateTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'OrderBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'PageToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'WorkspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateModel' => [
- 'path' => '/api/v1/models',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListUserConfigs' => [
+ 'path' => '/api/v1/userconfigs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ModelName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
- 'Tag' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
- 'ModelDescription' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Origin' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Domain' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Task' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ModelDoc' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'OrderNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'ModelType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExtraInfo' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'ParameterSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'ConfigKeys',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'CategoryNames',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateModel' => [
- 'path' => '/api/v1/models/{ModelId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListWorkspaceRoles' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/roles',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ModelName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ModelDescription' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Accessibility' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Origin' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Domain' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Task' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ModelDoc' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'OrderNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'ModelType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExtraInfo' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'ParameterSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'RoleIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'RoleType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'VerboseFields',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetModel' => [
- 'path' => '/api/v1/models/{ModelId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListWorkspaceUsers' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/users',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListModels' => [
- 'path' => '/api/v1/models',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListWorkspaces' => [
+ 'path' => '/api/v1/workspaces',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Order',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SortBy',
+ 'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'WorkspaceId',
+ 'name' => 'WorkspaceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ModelName',
+ 'name' => 'ModuleList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Label',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Provider',
+ 'name' => 'Option',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Domain',
+ 'name' => 'Verbose',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Task',
+ 'name' => 'Fields',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Origin',
+ 'name' => 'WorkspaceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Query',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ModelType',
+ 'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
+ ],
+ ],
+ 'LogRunMetrics' => [
+ 'path' => '/api/v1/runs/{RunId}/metrics/action/log',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Collections',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Tag',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'name' => 'RunId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Conditions',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Column' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Operator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'properties' => [
+ 'Metrics' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/RunMetric', 'required' => false],
],
],
],
],
],
],
- 'DeleteModel' => [
- 'path' => '/api/v1/models/{ModelId}',
- 'methods' => [
- 'delete',
+ 'PublishCodeSource' => [
+ 'path' => '/api/v1/codesources/{CodeSourceId}/publish',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'CodeSourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'PublishDataset' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/publish',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'PublishImage' => [
+ 'path' => '/api/v1/images/{ImageId}/publish',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'ImageId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateModelVersion' => [
- 'path' => '/api/v1/models/{ModelId}/versions',
- 'methods' => [
- 'post',
+ 'RemoveImage' => [
+ 'path' => '/api/v1/images/{ImageId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ImageId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'RemoveImageLabels' => [
+ 'path' => '/api/v1/images/{ImageId}/labels/{LabelKey}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ImageId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'LabelKey',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'RemoveMemberRole' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/members/{MemberId}/roles/{RoleName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'SetExperimentLabels' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}/labels',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
'deprecated' => false,
'parameters' => [
@@ -7811,111 +4692,32 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'VersionName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Uri' => [
- 'type' => 'string',
- 'required' => true,
- ],
'Labels' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
- 'VersionDescription' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'FormatType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'FrameworkType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Metrics' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'TrainingSpec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'InferenceSpec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'SourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ApprovalStatus' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EvaluationSpec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'CompressionSpec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'ExtraInfo' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'DistillationSpec' => [
- 'type' => 'object',
- 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/LabelInfo', 'required' => false],
],
],
],
],
[
- 'name' => 'ModelId',
+ 'name' => 'ExperimentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateModelVersion' => [
- 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'SetUserConfigs' => [
+ 'path' => '/api/v1/userconfigs',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -7926,306 +4728,274 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'VersionDescription' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Metrics' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'TrainingSpec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'InferenceSpec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ApprovalStatus' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EvaluationSpec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'CompressionSpec' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'ExtraInfo' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'DistillationSpec' => [
- 'type' => 'object',
+ 'Configs' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'ConfigKey' => ['type' => 'string', 'required' => true],
+ 'ConfigValue' => ['type' => 'string', 'required' => true],
+ 'CategoryName' => ['type' => 'string', 'required' => true],
+ 'Scope' => ['type' => 'string', 'required' => true],
+ ],
+ ],
],
],
],
],
- [
- 'name' => 'ModelId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'VersionName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
],
],
- 'GetModelVersion' => [
- 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopDatasetJob' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs/{DatasetJobId}/action/stop',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VersionName',
+ 'name' => 'DatasetJobId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'DatasetVersion' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ListModelVersions' => [
- 'path' => '/api/v1/models/{ModelId}/versions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateCodeSource' => [
+ 'path' => '/api/v1/codesources/{CodeSourceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => [],
+ 'produces' => [],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Order',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SortBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'VersionName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'CodeSourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'FormatType',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'DisplayName' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'CodeRepo' => ['type' => 'string', 'required' => false],
+ 'CodeBranch' => ['type' => 'string', 'required' => false],
+ 'CodeCommit' => ['type' => 'string', 'required' => false],
+ 'CodeRepoUserName' => ['type' => 'string', 'required' => false],
+ 'CodeRepoAccessToken' => ['type' => 'string', 'required' => false],
+ 'MountPath' => ['type' => 'string', 'required' => false],
+ 'CloneType' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'UpdateConfig' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/config',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'FrameworkType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'WorkspaceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'SourceType',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'ConfigKey' => ['type' => 'string', 'required' => false],
+ 'ConfigValue' => ['type' => 'string', 'required' => false],
+ 'CategoryName' => ['type' => 'string', 'required' => false],
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
],
],
+ ],
+ ],
+ 'UpdateConfigs' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/configs',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'SourceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Label',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ApprovalStatus',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Configs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'ConfigKey' => ['type' => 'string', 'required' => false],
+ 'ConfigValue' => ['type' => 'string', 'required' => false],
+ 'CategoryName' => ['type' => 'string', 'required' => false],
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'DeleteModelVersion' => [
- 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateConnection' => [
+ 'path' => '/api/v1/connections/{ConnectionId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'ConnectionId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VersionName',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Configs' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'Secrets' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'Models' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Model' => ['type' => 'string', 'required' => false],
+ 'DisplayName' => ['type' => 'string', 'required' => false],
+ 'ModelType' => ['type' => 'string', 'required' => false],
+ 'ToolCall' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'CreateModelLabels' => [
- 'path' => '/api/v1/models/{ModelId}/labels',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDataset' => [
+ 'path' => '/api/v1/datasets/{DatasetId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8235,82 +5005,100 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Labels' => [
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'Options' => ['type' => 'string', 'required' => false],
+ 'Edition' => ['type' => 'string', 'required' => false],
+ 'MountAccessReadWriteRoleIdList' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'SharingConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SharedTo' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/DatasetShareRelationship', 'required' => false],
+ ],
],
],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ 'AccessibleRoleIdList' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
],
- 'DeleteModelLabels' => [
- 'path' => '/api/v1/models/{ModelId}/labels',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDatasetFileMetas' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetfilemetas',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'LabelKeys',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'DatasetVersion' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ 'DatasetFileMetas' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['$ref' => '#/components/schemas/DatasetFileMetaConentUpdate', 'required' => false],
+ ],
+ 'TagJobId' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'CreateModelVersionLabels' => [
- 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}/labels',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDatasetJob' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobs/{DatasetJobId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'DatasetId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'DatasetJobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -8318,103 +5106,104 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Label',
- 'required' => false,
- ],
- ],
+ 'DatasetVersion' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
],
],
],
+ ],
+ ],
+ 'UpdateDatasetJobConfig' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/datasetjobconfigs/{DatasetJobConfigId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ModelId',
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VersionName',
+ 'name' => 'DatasetJobConfigId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
+ 'ConfigType' => ['type' => 'string', 'required' => false],
+ 'Config' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'DeleteModelVersionLabels' => [
- 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}/labels',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDatasetVersion' => [
+ 'path' => '/api/v1/datasets/{DatasetId}/versions/{VersionName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelId',
+ 'name' => 'DatasetId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'VersionName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'LabelKeys',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Options' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
+ 'DataSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'DataCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
],
],
- 'SetUserConfigs' => [
- 'path' => '/api/v1/userconfigs',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateDefaultWorkspace' => [
+ 'path' => '/api/v1/defaultWorkspaces',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -8425,46 +5214,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Configs' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ConfigKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ConfigValue' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'CategoryName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Scope' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
+ 'WorkspaceId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DeleteUserConfig' => [
- 'path' => '/api/v1/userconfigs/{CategoryName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateExperiment' => [
+ 'path' => '/api/v1/experiments/{ExperimentId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8473,134 +5232,136 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ConfigKey',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['PRIVATE', 'PUBLIC'],
+ ],
+ ],
],
],
[
- 'name' => 'CategoryName',
+ 'name' => 'ExperimentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Scope',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListUserConfigs' => [
- 'path' => '/api/v1/userconfigs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateModel' => [
+ 'path' => '/api/v1/models/{ModelId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ConfigKeys',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CategoryNames',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'ModelName' => ['type' => 'string', 'required' => false],
+ 'ModelDescription' => ['type' => 'string', 'required' => false],
+ 'Accessibility' => ['type' => 'string', 'required' => false],
+ 'Origin' => ['type' => 'string', 'required' => false],
+ 'Domain' => ['type' => 'string', 'required' => false],
+ 'Task' => ['type' => 'string', 'required' => false],
+ 'ModelDoc' => ['type' => 'string', 'required' => false],
+ 'OrderNumber' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'ModelType' => ['type' => 'string', 'required' => false],
+ 'ExtraInfo' => ['type' => 'object', 'required' => false],
+ 'ParameterSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
],
],
- 'ListProducts' => [
- 'path' => '/api/v1/products',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateModelVersion' => [
+ 'path' => '/api/v1/models/{ModelId}/versions/{VersionName}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ProductCodes',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'VersionDescription' => ['type' => 'string', 'required' => false],
+ 'Metrics' => ['type' => 'object', 'required' => false],
+ 'TrainingSpec' => ['type' => 'object', 'required' => false],
+ 'InferenceSpec' => ['type' => 'object', 'required' => false],
+ 'Options' => ['type' => 'string', 'required' => false],
+ 'SourceType' => ['type' => 'string', 'required' => false],
+ 'SourceId' => ['type' => 'string', 'required' => false],
+ 'ApprovalStatus' => ['type' => 'string', 'required' => false],
+ 'EvaluationSpec' => ['type' => 'object', 'required' => false],
+ 'CompressionSpec' => ['type' => 'object', 'required' => false],
+ 'ExtraInfo' => ['type' => 'object', 'required' => false],
+ 'DistillationSpec' => ['type' => 'object', 'required' => false],
+ ],
],
],
[
- 'name' => 'ServiceCodes',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'name' => 'ModelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Verbose',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'name' => 'VersionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateProductOrders' => [
- 'path' => '/api/v1/productorders',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateRun' => [
+ 'path' => '/api/v1/runs/{RunId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'RunId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -8608,94 +5369,39 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'AutoPay' => [
- 'type' => 'boolean',
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'Labels' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Label', 'required' => false],
],
- 'Products' => [
+ 'Params' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'AutoRenew' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'ProductCode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ChargeType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'OrderType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'PricingCycle' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Duration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'InstanceProperties' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Code' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'items' => ['$ref' => '#/components/schemas/RunParam', 'required' => false],
],
],
],
],
],
],
- 'AcceptDataworksEvent' => [
- 'path' => '/api/v1/workspaces/action/acceptdataworksevent',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateWorkspace' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -8703,27 +5409,17 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'MessageId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Data' => [
- 'type' => 'object',
- 'required' => false,
- ],
+ 'DisplayName' => ['type' => 'string', 'required' => false],
+ 'Description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ChangeResourceGroup' => [
- 'path' => '/resourcegroups/action/changeresourcegroup',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateWorkspaceResource' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/resources',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8732,6 +5428,11 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -8739,134 +5440,129 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'ResourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'NewResourceGroupId' => [
- 'type' => 'string',
+ 'IsDefault' => ['type' => 'boolean', 'required' => false],
+ 'ProductType' => ['type' => 'string', 'required' => false],
+ 'GroupName' => ['type' => 'string', 'required' => false],
+ 'ResourceType' => ['type' => 'string', 'required' => false],
+ 'Labels' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
- 'ResourceType' => [
- 'type' => 'string',
+ 'ResourceIds' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'Spec' => ['type' => 'object', 'required' => false],
],
],
],
],
],
- 'ListFeatures' => [
- 'path' => '/api/v1/features',
- 'methods' => [
- 'get',
+ 'UpdateWorkspaceRole' => [
+ 'path' => '/api/v1/workspaces/{WorkspaceId}/roles/{RoleId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'RoleName' => ['type' => 'string', 'required' => false],
+ 'ModulePermissions' => ['$ref' => '#/components/schemas/ModulePermissions', 'required' => false],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RoleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'ValidateConnection' => [
+ 'path' => '/api/v1/connections/validate',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Names',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Configs' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'ConnectionId' => ['type' => 'string', 'required' => false],
+ 'ConnectionType' => ['type' => 'string', 'required' => false],
+ 'Secrets' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'ValidateType' => ['type' => 'string', 'required' => false],
+ 'WorkspaceId' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'aiworkspace.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'aiworkspace.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'aiworkspace.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'aiworkspace.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'aiworkspace.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'aiworkspace.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'aiworkspace.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'aiworkspace.cn-guangzhou.aliyuncs.com ',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'aiworkspace.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'aiworkspace.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'aiworkspace.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'aiworkspace.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'aiworkspace.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'aiworkspace.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'aiworkspace.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'aiworkspace.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'aiworkspace.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'aiworkspace.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'aiworkspace.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'aiworkspace.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'aiworkspace.me-east-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'aiworkspace.cn-wulanchabu.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.cn-beijing.aliyuncs.com', 'endpoint' => 'aiworkspace.cn-beijing.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.cn-shanghai.aliyuncs.com', 'endpoint' => 'aiworkspace.cn-shanghai.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.cn-hongkong.aliyuncs.com', 'endpoint' => 'aiworkspace.cn-hongkong.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.cn-heyuan.aliyuncs.com', 'endpoint' => 'aiworkspace.cn-heyuan.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.cn-heyuan.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.cn-shenzhen.aliyuncs.com', 'endpoint' => 'aiworkspace.cn-shenzhen.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.ap-northeast-1.aliyuncs.com ', 'endpoint' => 'aiworkspace.ap-northeast-1.aliyuncs.com ', 'vpc' => 'aiworkspace-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.cn-guangzhou.aliyuncs.com ', 'endpoint' => 'aiworkspace.cn-guangzhou.aliyuncs.com ', 'vpc' => 'aiworkspace-vpc.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.ap-southeast-1.aliyuncs.com', 'endpoint' => 'aiworkspace.ap-southeast-1.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.ap-southeast-3.aliyuncs.com', 'endpoint' => 'aiworkspace.ap-southeast-3.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.ap-southeast-5.aliyuncs.com', 'endpoint' => 'aiworkspace.ap-southeast-5.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiworkspace.cn-hangzhou.aliyuncs.com', 'endpoint' => 'aiworkspace.cn-hangzhou.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiworkspace.us-east-1.aliyuncs.com', 'endpoint' => 'aiworkspace.us-east-1.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiworkspace.us-west-1.aliyuncs.com', 'endpoint' => 'aiworkspace.us-west-1.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiworkspace.eu-central-1.aliyuncs.com', 'endpoint' => 'aiworkspace.eu-central-1.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'aiworkspace.ap-south-1.aliyuncs.com', 'endpoint' => 'aiworkspace.ap-south-1.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.ap-south-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiworkspace.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'aiworkspace.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'aiworkspace-vpc.cn-shanghai-finance-1.aliyuncs.com'],
],
];