summaryrefslogtreecommitdiff
path: root/data/pds/2022-03-01
diff options
context:
space:
mode:
Diffstat (limited to 'data/pds/2022-03-01')
-rw-r--r--data/pds/2022-03-01/api-docs.php10951
1 files changed, 2243 insertions, 8708 deletions
diff --git a/data/pds/2022-03-01/api-docs.php b/data/pds/2022-03-01/api-docs.php
index 0435d50..407245c 100644
--- a/data/pds/2022-03-01/api-docs.php
+++ b/data/pds/2022-03-01/api-docs.php
@@ -1,2464 +1,351 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'PDS',
- 'product' => 'pds',
- 'version' => '2022-03-01',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'pds', 'version' => '2022-03-01'],
'components' => [
'schemas' => [
- 'AccountAccessTokenResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'access_token' => [
- 'type' => 'string',
- ],
- 'refresh_token' => [
- 'type' => 'string',
- ],
- 'expires_in' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'token_type' => [
- 'type' => 'string',
- ],
- 'user_id' => [
- 'type' => 'string',
- ],
- 'user_name' => [
- 'type' => 'string',
- ],
- 'avatar' => [
- 'type' => 'string',
- ],
- 'nick_name' => [
- 'type' => 'string',
- ],
- 'default_drive_id' => [
- 'type' => 'string',
- ],
- 'role' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'expire_time' => [
- 'type' => 'string',
- ],
- 'is_first_login' => [
- 'type' => 'boolean',
- ],
- 'device_id' => [
- 'type' => 'string',
- ],
- 'device_name' => [
- 'type' => 'string',
- ],
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'default_sbox_drive_id' => [
- 'type' => 'string',
- ],
- 'state' => [
- 'type' => 'string',
- ],
- 'exist_link' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LinkInfo',
- ],
- ],
- 'need_link' => [
- 'type' => 'boolean',
- ],
- 'user_data' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'pin_setup' => [
- 'type' => 'boolean',
- ],
- 'need_rp_verify' => [
- 'type' => 'boolean',
- ],
- 'path_status' => [
- 'type' => 'string',
- ],
- ],
- ],
'AccountLinkInfo' => [
'type' => 'object',
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'authentication_type' => [
- 'type' => 'string',
- ],
- 'identity' => [
- 'type' => 'string',
- ],
- 'extra' => [
- 'type' => 'string',
- ],
- 'user_id' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'display_name' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'last_login_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'Activity' => [
- 'type' => 'object',
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'activity_id' => [
- 'type' => 'string',
- ],
- 'user_id' => [
- 'type' => 'string',
- ],
- 'device' => [
- 'type' => 'string',
- ],
- 'event_type' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'latest_event_time' => [
- 'type' => 'string',
- ],
- 'resource_category' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'resource_list' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- ],
- ],
- 'total_resource_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'AddStoryFile' => [
- 'type' => 'object',
- 'properties' => [
- 'file_id' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
- 'error_code' => [
- 'type' => 'string',
- ],
- 'error_message' => [
- 'type' => 'string',
- ],
+ 'domain_id' => ['type' => 'string'],
+ 'authentication_type' => ['type' => 'string'],
+ 'identity' => ['type' => 'string'],
+ 'extra' => ['type' => 'string'],
+ 'user_id' => ['type' => 'string'],
+ 'created_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'display_name' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'last_login_time' => ['type' => 'integer', 'format' => 'int64'],
],
],
'Address' => [
'type' => 'object',
'properties' => [
- 'country' => [
- 'type' => 'string',
- ],
- 'province' => [
- 'type' => 'string',
- ],
- 'city' => [
- 'type' => 'string',
- ],
- 'district' => [
- 'type' => 'string',
- ],
- 'township' => [
- 'type' => 'string',
- ],
+ 'country' => ['type' => 'string'],
+ 'province' => ['type' => 'string'],
+ 'city' => ['type' => 'string'],
+ 'district' => ['type' => 'string'],
+ 'township' => ['type' => 'string'],
],
],
'AddressGroup' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'location' => [
- 'type' => 'string',
- ],
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'cover_url' => [
- 'type' => 'string',
- ],
- 'cover_file_id' => [
- 'type' => 'string',
- ],
- 'address_detail' => [
- '$ref' => '#/components/schemas/Address',
- ],
- ],
- ],
- 'Aggregation' => [
- 'type' => 'object',
- 'properties' => [
- 'field' => [
- 'type' => 'string',
- 'format' => 'byte',
- ],
- 'operation' => [
- 'type' => 'string',
- 'format' => 'byte',
- ],
- 'value' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'groups' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AggregationsGroup',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'AggregationsGroup' => [
- 'type' => 'object',
- 'properties' => [
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'value' => [
- 'type' => 'string',
- 'format' => 'byte',
- ],
- ],
- ],
- 'Album' => [
- 'type' => 'object',
- 'properties' => [
- 'album_id' => [
- 'type' => 'string',
- ],
- 'owner' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'user_tags' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'file_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'cover_file' => [
- '$ref' => '#/components/schemas/File',
- ],
- 'base_face_file' => [
- '$ref' => '#/components/schemas/File',
- ],
- 'base_face_group_id' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'location' => ['type' => 'string'],
+ 'count' => ['type' => 'integer', 'format' => 'int64'],
+ 'cover_url' => ['type' => 'string'],
+ 'cover_file_id' => ['type' => 'string'],
+ 'address_detail' => ['$ref' => '#/components/schemas/Address'],
],
],
- 'AlbumFile' => [
- 'type' => 'object',
- 'properties' => [
- 'album_id' => [
- 'type' => 'string',
- ],
- 'joined_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'content_type' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'transhed_at' => [
- 'type' => 'string',
- ],
- 'file_extension' => [
- 'type' => 'string',
- ],
- 'mime_type' => [
- 'type' => 'string',
- ],
- 'hidden' => [
- 'type' => 'boolean',
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'starred' => [
- 'type' => 'boolean',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'user_meta' => [
- 'type' => 'string',
- ],
- 'labels' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'upload_id' => [
- 'type' => 'string',
- ],
- 'parent_file_id' => [
- 'type' => 'string',
- ],
- 'crc64_hash' => [
- 'type' => 'string',
- ],
- 'content_hash' => [
- 'type' => 'string',
- ],
- 'content_hash_name' => [
- 'type' => 'string',
- ],
- 'download_url' => [
- 'type' => 'string',
- ],
- 'thumbnail' => [
- 'type' => 'string',
- ],
- 'category' => [
- 'type' => 'string',
- ],
- 'local_created_at' => [
- 'type' => 'string',
- ],
- 'local_modified_at' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
- 'investigation_info' => [
- '$ref' => '#/components/schemas/InvestigationInfo',
- ],
- 'thumbnail_urls' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'image_media_metadata' => [
- '$ref' => '#/components/schemas/ImageMediaMetadata',
- ],
- 'ex_fields_info' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- 'object_uri' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'App' => [
+ 'AddStoryFile' => [
'type' => 'object',
'properties' => [
- 'app_id' => [
- 'type' => 'string',
- ],
- 'app_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'redirect_uri' => [
- 'type' => 'string',
- ],
- 'scope' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'app_secret' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'logo' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'provider' => [
- 'type' => 'string',
- ],
- 'stage' => [
- 'type' => 'string',
- ],
+ 'file_id' => ['type' => 'string'],
+ 'revision_id' => ['type' => 'string'],
+ 'error_code' => ['type' => 'string'],
+ 'error_message' => ['type' => 'string'],
],
],
'AppAccessStrategy' => [
'type' => 'object',
'properties' => [
- 'effect' => [
- 'type' => 'string',
- ],
+ 'effect' => ['type' => 'string'],
'except_app_id_list' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'ArchiveFilesConfigResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'enabled' => [
- 'type' => 'boolean',
- ],
- 'version' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'AuditLog' => [
- 'type' => 'object',
- 'properties' => [
- 'log_id' => [
- 'type' => 'string',
- ],
- 'acted_at' => [
- 'type' => 'string',
- ],
- 'actor_id' => [
- 'type' => 'string',
- ],
- 'actor_type' => [
- 'type' => 'string',
- ],
- 'actor_name' => [
- 'type' => 'string',
- ],
- 'action_category' => [
- 'type' => 'string',
- ],
- 'action_type' => [
- 'type' => 'string',
- ],
- 'object_id' => [
- 'type' => 'string',
- ],
- 'object_name' => [
- 'type' => 'string',
- ],
- 'file_path_type' => [
- 'type' => 'string',
- ],
- 'detail' => [
- '$ref' => '#/components/schemas/AuditLogDetail',
- ],
- 'client_ip' => [
- 'type' => 'string',
- ],
- 'client_type' => [
- 'type' => 'string',
- ],
- 'client_version' => [
- 'type' => 'string',
- ],
- 'client_device' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'AuditLogDetail' => [
- 'type' => 'object',
- 'properties' => [
- 'file_log_detail' => [
- '$ref' => '#/components/schemas/FileLogDetail',
- ],
- 'user_log_detail' => [
- '$ref' => '#/components/schemas/UserLogDetail',
- ],
- 'drive_log_detail' => [
- '$ref' => '#/components/schemas/DriveLogDetail',
- ],
- ],
- ],
- 'BaseAlbumFileOperationResult' => [
- 'type' => 'object',
- 'properties' => [
- 'file' => [
- '$ref' => '#/components/schemas/CommonFileItem',
- ],
- 'is_succeed' => [
- 'type' => 'boolean',
- ],
- 'error_code' => [
- 'type' => 'string',
- ],
- 'error_message' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'BaseAssignmentResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'identity' => [
- '$ref' => '#/components/schemas/Identity',
- ],
- 'role_id' => [
- 'type' => 'string',
- ],
- 'manage_resource_type' => [
- 'type' => 'string',
- ],
- 'manage_resource_id' => [
- 'type' => 'string',
- ],
- 'associated_role_tag_id' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'disinherit_sub_group' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'BaseDomainResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'parent_domain_id' => [
- 'type' => 'string',
- ],
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'domain_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'init_drive_enable' => [
- 'type' => 'boolean',
- ],
- 'init_drive_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'size_quota' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'size_quota_used' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'status' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'used_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'published_app_access_strategy' => [
- '$ref' => '#/components/schemas/AppAccessStrategy',
- ],
- 'share_link_enabled' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'BaseDriveResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'drive_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'owner' => [
- 'type' => 'string',
- ],
- 'owner_type' => [
- 'type' => 'string',
- ],
- 'drive_type' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'used_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'total_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'store_id' => [
- 'type' => 'string',
- ],
- 'relative_path' => [
- 'type' => 'string',
- ],
- 'encrypt_mode' => [
- 'type' => 'string',
- ],
- 'encrypt_data_access' => [
- 'type' => 'boolean',
- ],
- 'action_list' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'permission' => [
- 'type' => 'object',
- 'additionalProperties' => [
- '$ref' => '#/components/schemas/IDPermission',
- ],
- ],
- 'is_handover' => [
- 'type' => 'boolean',
- ],
- 'category' => [
- 'type' => 'string',
- ],
- 'path_status' => [
- 'type' => 'string',
- ],
- 'delta_enabled' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'BaseFileListInheritPermissionResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'member' => [
- '$ref' => '#/components/schemas/FilePermissionMember',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'BaseFileUserPermissionResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'identity' => [
- '$ref' => '#/components/schemas/Identity',
- ],
- 'role_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'file_full_path' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'expire_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'disinherit_sub_group' => [
- 'type' => 'boolean',
- ],
- 'can_access' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'BaseGroupResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'group_id' => [
- 'type' => 'string',
- ],
- 'group_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'permission' => [
- 'type' => 'object',
- 'additionalProperties' => [
- '$ref' => '#/components/schemas/IDPermission',
- ],
- ],
- 'is_sync' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'BaseRoleMemberResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'identity' => [
- '$ref' => '#/components/schemas/Identity',
- ],
- 'identity_name' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'is_admin' => [
- 'type' => 'boolean',
- ],
- 'assignment_list' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/BaseAssignmentResponse',
- ],
- ],
- 'subdomain_id' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
],
],
'BaseUserResponse' => [
'type' => 'object',
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'user_id' => [
- 'type' => 'string',
- ],
- 'avatar' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'email' => [
- 'type' => 'string',
- ],
- 'nick_name' => [
- 'type' => 'string',
- ],
- 'phone' => [
- 'type' => 'string',
- ],
- 'phone_region' => [
- 'type' => 'string',
- ],
- 'role' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'user_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'default_drive_id' => [
- 'type' => 'string',
- ],
+ 'domain_id' => ['type' => 'string'],
+ 'user_id' => ['type' => 'string'],
+ 'avatar' => ['type' => 'string'],
+ 'created_at' => ['type' => 'string'],
+ 'updated_at' => ['type' => 'string'],
+ 'email' => ['type' => 'string'],
+ 'nick_name' => ['type' => 'string'],
+ 'phone' => ['type' => 'string'],
+ 'phone_region' => ['type' => 'string'],
+ 'role' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'user_name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'default_drive_id' => ['type' => 'string'],
+ 'deny_change_password_by_self' => ['type' => 'boolean'],
+ 'need_change_password_next_login' => ['type' => 'boolean'],
+ 'creator' => ['type' => 'string'],
+ 'expired_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'is_sync' => ['type' => 'boolean'],
+ 'default_location' => ['type' => 'string'],
+ 'last_login_time' => ['type' => 'integer', 'format' => 'int64'],
+ 'path_status' => ['type' => 'string'],
+ 'last_refresh_token_time' => ['type' => 'integer', 'format' => 'int64'],
'user_data' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- 'deny_change_password_by_self' => [
- 'type' => 'boolean',
- ],
- 'need_change_password_next_login' => [
- 'type' => 'boolean',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'expired_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'additionalProperties' => ['type' => 'any'],
],
'permission' => [
'type' => 'object',
- 'additionalProperties' => [
- '$ref' => '#/components/schemas/IDPermission',
- ],
- ],
- 'is_sync' => [
- 'type' => 'boolean',
- ],
- 'default_location' => [
- 'type' => 'string',
- ],
- 'last_login_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'path_status' => [
- 'type' => 'string',
+ 'additionalProperties' => ['$ref' => '#/components/schemas/IDPermission'],
],
],
],
'BenefitPkgDeliveryInfo' => [
'type' => 'object',
'properties' => [
- 'amount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'is_permanent' => [
- 'type' => 'boolean',
- ],
- 'expire_time' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'CNameStatus' => [
- 'type' => 'object',
- 'properties' => [
- 'bingding_state' => [
- 'type' => 'string',
- ],
- 'legal_state' => [
- 'type' => 'string',
- ],
- 'remark' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'CdnFileDownloadCallbackInfo' => [
- 'type' => 'object',
- 'required' => true,
- 'properties' => [
- 'bucket' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'object' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'httpHeader.range' => [
- 'type' => 'string',
- ],
- 'domain_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'user_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'token' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'expire' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- ],
- 'CertInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'cert_name' => [
- 'type' => 'string',
- ],
- 'cert_body' => [
- 'type' => 'string',
- ],
- 'cert_privatekey' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'ClearRecycleBinItem' => [
- 'type' => 'object',
- 'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'task_id' => [
- 'type' => 'string',
- ],
- 'async_task_id' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'CommonFileItem' => [
- 'type' => 'object',
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'CopyUserTagsDirective' => [
- 'type' => 'object',
- 'properties' => [
- 'directive' => [
- 'type' => 'string',
- ],
- 'keys' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'CssCreateOrderParam' => [
- 'type' => 'object',
- 'properties' => [
- 'buyerId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'childId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'userId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'payerId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'bid' => [
- 'type' => 'string',
- ],
- 'requestId' => [
- 'type' => 'string',
- ],
- 'token' => [
- 'type' => 'string',
- ],
- 'fromApp' => [
- 'type' => 'string',
- ],
- 'skipChannel' => [
- 'type' => 'boolean',
- ],
- 'createrNick' => [
- 'type' => 'string',
- ],
- 'memo' => [
- 'type' => 'string',
- ],
- 'agentId' => [
- 'type' => 'string',
- ],
- 'commodities' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/CssInstanceCommodity',
- ],
- ],
- 'promotionCode' => [
- 'type' => 'string',
- ],
- 'planGroupId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'planId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'planInstanceId' => [
- 'type' => 'string',
- ],
- 'cssAuthRequestParam' => [
- 'type' => 'any',
- ],
- 'language' => [
- 'type' => 'string',
- ],
- 'promotionInputParam' => [
- 'type' => 'any',
- ],
- 'orderOrigin' => [
- 'type' => 'string',
- ],
- 'marketType' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'umidToken' => [
- 'type' => 'string',
- ],
- 'cilentIp' => [
- 'type' => 'string',
- ],
- 'orderParams' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'autoPay' => [
- 'type' => 'boolean',
- ],
- 'autoUseCoupon' => [
- 'type' => 'boolean',
- ],
- 'transientAccess' => [
- 'type' => 'any',
- ],
- 'certificate' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'CssInstanceCommodity' => [
- 'type' => 'object',
- 'properties' => [
- 'planItemId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'commodityCode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'specCode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'duration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'pricingCycle' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'quantity' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'orderType' => [
- 'type' => 'string',
- ],
- 'chargeType' => [
- 'type' => 'string',
- ],
- 'refundSpecCode' => [
- 'type' => 'string',
- ],
- 'components' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/CssInstanceComponent',
- ],
- ],
- 'orderParams' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'instanceId' => [
- 'type' => 'string',
- ],
- 'activityId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'isFree' => [
- 'type' => 'boolean',
- ],
- 'isSyncToSubscription' => [
- 'type' => 'boolean',
- ],
- 'isPrePayPostCharge' => [
- 'type' => 'boolean',
- ],
- 'isRenewChange' => [
- 'type' => 'boolean',
- ],
- 'specifyStartDate' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'specUpgradeOriginSpecCodes' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'upgradeInquireFinancialValue' => [
- 'type' => 'boolean',
- ],
- 'aliyunProduceCode' => [
- 'type' => 'string',
- ],
- 'redeemOrderType' => [
- 'type' => 'string',
- ],
- 'redeemNoList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'CssInstanceComponent' => [
- 'type' => 'object',
- 'properties' => [
- 'componentCode' => [
- 'type' => 'string',
- ],
- 'componentName' => [
- 'type' => 'string',
- ],
- 'globalKey' => [
- 'type' => 'string',
- ],
- 'tag' => [
- 'type' => 'string',
- ],
- 'instanceProperty' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/CssInstanceProperty',
- ],
- ],
- 'moduleAttrStatus' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'CssInstanceProperty' => [
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'code' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
- 'unit' => [
- 'type' => 'string',
- ],
- 'globalKey' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'CssProduce' => [
- 'type' => 'object',
- 'properties' => [
- 'buyerId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'childId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'userId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'payerId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'bid' => [
- 'type' => 'string',
- ],
- 'requestId' => [
- 'type' => 'string',
- ],
- 'token' => [
- 'type' => 'string',
- ],
- 'fromApp' => [
- 'type' => 'string',
- ],
- 'skipChannel' => [
- 'type' => 'boolean',
- ],
- 'orderId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'purchases' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/CssPurchase',
- ],
- ],
- ],
- ],
- 'CssPurchase' => [
- 'type' => 'object',
- 'properties' => [
- 'commodityCode' => [
- 'type' => 'string',
- ],
- 'chargeType' => [
- 'type' => 'string',
- ],
- 'startDate' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'endDate' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'gmtCreate' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'instanceComponents' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/CssInstanceComponent',
- ],
- ],
- 'purchaseParams' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'instanceId' => [
- 'type' => 'string',
- ],
- 'orderType' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'CustomSideLinkConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'icon' => [
- 'type' => 'string',
- ],
- 'text' => [
- 'type' => 'string',
- ],
- 'link' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'DataBoxPrivileges' => [
- 'type' => 'object',
- 'properties' => [
- 'feature_id' => [
- 'type' => 'string',
- ],
- 'feature_attr_id' => [
- 'type' => 'string',
- ],
- 'quota' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'DataCName' => [
- 'type' => 'object',
- 'properties' => [
- 'location' => [
- 'type' => 'string',
- ],
- 'store_id' => [
- 'type' => 'string',
- ],
- 'cname' => [
- 'type' => 'string',
- ],
- 'cert_name' => [
- 'type' => 'string',
- ],
- 'cert_expire_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'cname_type' => [
- 'type' => 'string',
- ],
+ 'amount' => ['type' => 'integer', 'format' => 'int64'],
+ 'is_permanent' => ['type' => 'boolean'],
+ 'expire_time' => ['type' => 'string'],
+ 'created_at' => ['type' => 'string'],
],
],
'Domain' => [
'type' => 'object',
'properties' => [
- 'parent_domain_id' => [
- 'type' => 'string',
- ],
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'domain_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'init_drive_enable' => [
- 'type' => 'boolean',
- ],
- 'init_drive_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'size_quota' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'size_quota_used' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'user_count_quota' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'status' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'used_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'published_app_access_strategy' => [
- '$ref' => '#/components/schemas/AppAccessStrategy',
- ],
- 'sharable' => [
- 'type' => 'boolean',
- ],
- 'data_hash_name' => [
- 'type' => 'string',
- ],
- 'store_redundancy_type' => [
- 'type' => 'string',
- ],
- 'system_drive_config' => [
- '$ref' => '#/components/schemas/SystemDriveConfig',
- ],
- ],
- ],
- 'DomainAppConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'same_name_file_upload_mode' => [
- 'type' => 'string',
- ],
- 'web_client_download_mode' => [
- 'type' => 'string',
- ],
- 'single_file_upload_size_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'allow_upload_file_category_list' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'allow_upload_custom_file_ext_list' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'DomainBuildClientConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'copyright' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'DomainEndpoints' => [
- 'type' => 'object',
- 'properties' => [],
- ],
- 'DomainSeniorConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'home_page_bg_image_url' => [
- 'type' => 'string',
- ],
- 'home_page_slogan' => [
- 'type' => 'string',
- ],
- 'home_page_footer' => [
- 'type' => 'string',
- ],
- 'home_page_footer2' => [
- 'type' => 'string',
- ],
- 'csp_frame_ancestors' => [
- 'type' => 'string',
- ],
- 'referer_enable' => [
- 'type' => 'boolean',
- ],
- 'wx_txt_list' => [
- '$ref' => '#/components/schemas/WxTrustedDomainConfig',
- ],
- 'custom_login_appid' => [
- 'type' => 'string',
- ],
- 'custom_login_url' => [
- 'type' => 'string',
- ],
- 'custom_logout_url' => [
- 'type' => 'string',
- ],
- 'custom_side_link_list' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/CustomSideLinkConfig',
- ],
- ],
- 'client_download_enable' => [
- 'type' => 'boolean',
- ],
+ 'parent_domain_id' => ['type' => 'string'],
+ 'domain_id' => ['type' => 'string'],
+ 'domain_name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'init_drive_enable' => ['type' => 'boolean'],
+ 'init_drive_size' => ['type' => 'integer', 'format' => 'int64'],
+ 'updated_at' => ['type' => 'string'],
+ 'created_at' => ['type' => 'string'],
+ 'size_quota' => ['type' => 'integer', 'format' => 'int64'],
+ 'size_quota_used' => ['type' => 'integer', 'format' => 'int64'],
+ 'user_count_quota' => ['type' => 'integer', 'format' => 'int64'],
+ 'status' => ['type' => 'integer', 'format' => 'int64'],
+ 'used_size' => ['type' => 'integer', 'format' => 'int64'],
+ 'published_app_access_strategy' => ['$ref' => '#/components/schemas/AppAccessStrategy'],
+ 'sharable' => ['type' => 'boolean'],
+ 'data_hash_name' => ['type' => 'string'],
+ 'store_redundancy_type' => ['type' => 'string'],
],
],
'Drive' => [
'type' => 'object',
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'drive_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'owner' => [
- 'type' => 'string',
- ],
- 'owner_type' => [
- 'type' => 'string',
- ],
- 'drive_type' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'used_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'total_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'DriveLogDetail' => [
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'total_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'owner_id' => [
- 'type' => 'string',
- ],
- 'owner_name' => [
- 'type' => 'string',
- ],
- 'owner_type' => [
- 'type' => 'string',
- ],
- 'update_to' => [
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'total_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'owner_id' => [
- 'type' => 'string',
- ],
- 'owner_name' => [
- 'type' => 'string',
- ],
- 'owner_type' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'force_delete' => [
- 'type' => 'boolean',
- ],
- 'handover_owner_name' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'ExternalMultiFileRevisionConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'revision_merge_enabled' => [
- 'type' => 'boolean',
- ],
- 'revision_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'revision_recycle_period' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'domain_id' => ['type' => 'string'],
+ 'drive_id' => ['type' => 'string'],
+ 'drive_name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'owner' => ['type' => 'string'],
+ 'owner_type' => ['type' => 'string'],
+ 'drive_type' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'used_size' => ['type' => 'integer', 'format' => 'int64'],
+ 'total_size' => ['type' => 'integer', 'format' => 'int64'],
+ 'created_at' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
],
],
'FaceGroup' => [
'type' => 'object',
'properties' => [
- 'group_id' => [
- 'type' => 'string',
- ],
- 'group_name' => [
- 'type' => 'string',
- ],
- 'image_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'group_cover_url' => [
- 'type' => 'string',
- ],
- 'group_cover_file_id' => [
- 'type' => 'string',
- ],
- 'group_cover_width' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'group_cover_height' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'group_id' => ['type' => 'string'],
+ 'group_name' => ['type' => 'string'],
+ 'image_count' => ['type' => 'integer', 'format' => 'int64'],
+ 'created_at' => ['type' => 'string'],
+ 'updated_at' => ['type' => 'string'],
+ 'group_cover_url' => ['type' => 'string'],
+ 'group_cover_file_id' => ['type' => 'string'],
+ 'group_cover_width' => ['type' => 'integer', 'format' => 'int64'],
+ 'group_cover_height' => ['type' => 'integer', 'format' => 'int64'],
'group_cover_face_boundary' => [
'type' => 'object',
'properties' => [
- 'Width' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Height' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Top' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Left' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Width' => ['type' => 'integer', 'format' => 'int32'],
+ 'Height' => ['type' => 'integer', 'format' => 'int32'],
+ 'Top' => ['type' => 'integer', 'format' => 'int32'],
+ 'Left' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'remarks' => [
- 'type' => 'string',
+ 'remarks' => ['type' => 'string'],
+ 'remarks_array' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
'FaceThumbnail' => [
'type' => 'object',
'properties' => [
- 'face_id' => [
- 'type' => 'string',
- ],
- 'face_group_id' => [
- 'type' => 'string',
- ],
- 'face_thumbnail' => [
- 'type' => 'string',
- 'deprecated' => true,
- ],
+ 'face_id' => ['type' => 'string'],
+ 'face_group_id' => ['type' => 'string'],
+ 'face_thumbnail' => ['type' => 'string', 'deprecated' => true],
],
],
'File' => [
'type' => 'object',
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'content_type' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'trashed_at' => [
- 'type' => 'string',
- ],
- 'file_extension' => [
- 'type' => 'string',
- ],
- 'hidden' => [
- 'type' => 'boolean',
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'starred' => [
- 'type' => 'boolean',
- ],
- 'status' => [
- 'type' => 'string',
- ],
+ 'domain_id' => ['type' => 'string'],
+ 'drive_id' => ['type' => 'string'],
+ 'file_id' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'content_type' => ['type' => 'string'],
+ 'created_at' => ['type' => 'string'],
+ 'updated_at' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'trashed_at' => ['type' => 'string'],
+ 'file_extension' => ['type' => 'string'],
+ 'hidden' => ['type' => 'boolean'],
+ 'size' => ['type' => 'integer', 'format' => 'int64'],
+ 'starred' => ['type' => 'boolean'],
+ 'status' => ['type' => 'string'],
'labels' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'upload_id' => [
- 'type' => 'string',
- ],
- 'parent_file_id' => [
- 'type' => 'string',
- ],
- 'crc64_hash' => [
- 'type' => 'string',
- ],
- 'content_hash' => [
- 'type' => 'string',
- ],
- 'content_hash_name' => [
- 'type' => 'string',
- ],
- 'download_url' => [
- 'type' => 'string',
- ],
- 'thumbnail' => [
- 'type' => 'string',
- ],
- 'category' => [
- 'type' => 'string',
- ],
- 'local_created_at' => [
- 'type' => 'string',
- ],
- 'local_modified_at' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
+ ],
+ 'upload_id' => ['type' => 'string'],
+ 'parent_file_id' => ['type' => 'string'],
+ 'crc64_hash' => ['type' => 'string'],
+ 'content_hash' => ['type' => 'string'],
+ 'content_hash_name' => ['type' => 'string'],
+ 'download_url' => ['type' => 'string'],
+ 'thumbnail' => ['type' => 'string'],
+ 'category' => ['type' => 'string'],
+ 'local_created_at' => ['type' => 'string'],
+ 'local_modified_at' => ['type' => 'string'],
+ 'revision_id' => ['type' => 'string'],
'thumbnail_urls' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'image_media_metadata' => [
- '$ref' => '#/components/schemas/ImageMediaMetadata',
+ 'additionalProperties' => ['type' => 'string', 'required' => false],
],
+ 'image_media_metadata' => ['$ref' => '#/components/schemas/ImageMediaMetadata'],
'user_tags' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'video_media_metadata' => [
- '$ref' => '#/components/schemas/VideoMediaMetadata',
- ],
- 'id_path' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'name_path' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'video_media_metadata' => ['$ref' => '#/components/schemas/VideoMediaMetadata'],
+ 'id_path' => ['type' => 'string', 'required' => false],
+ 'name_path' => ['type' => 'string'],
'dir_size_info' => [
'type' => 'object',
'properties' => [
- 'dir_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'file_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'dir_count' => ['type' => 'integer', 'format' => 'int64'],
+ 'file_count' => ['type' => 'integer', 'format' => 'int64'],
],
],
'action_list' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'auto_delete_left_sec' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'FileDownloadCallbackInfo' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'bucket' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'object' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'httpHeader.range' => [
- 'type' => 'string',
- ],
- 'domain_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'user_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'FileIDInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'FileLogDetail' => [
- 'type' => 'object',
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'parent_path' => [
- 'type' => 'string',
- ],
- 'new_name' => [
- 'type' => 'string',
- ],
- 'to_parent_path_type' => [
- 'type' => 'string',
- ],
- 'to_parent_path' => [
- 'type' => 'string',
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'decompress_file_list' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'rev_version' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'revision_id' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'auto_delete_left_sec' => ['type' => 'integer', 'format' => 'int64'],
],
],
'FilePermissionMember' => [
'type' => 'object',
'properties' => [
- 'identity' => [
- '$ref' => '#/components/schemas/Identity',
- ],
- 'role_id' => [
- 'type' => 'string',
- ],
- 'expire_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'disinherit_sub_group' => [
- 'type' => 'boolean',
- ],
+ 'identity' => ['$ref' => '#/components/schemas/Identity'],
+ 'role_id' => ['type' => 'string'],
+ 'expire_time' => ['type' => 'integer', 'format' => 'int64'],
+ 'disinherit_sub_group' => ['type' => 'boolean'],
'action_list' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'FileStreamInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'content_hash' => [
- 'type' => 'string',
- ],
- 'content_hash_name' => [
- 'type' => 'string',
- ],
- 'proof_code' => [
- 'type' => 'string',
- ],
- 'proof_version' => [
- 'type' => 'string',
- ],
- 'pre_hash' => [
- 'type' => 'string',
- ],
- 'content_md5' => [
- 'type' => 'string',
- ],
- 'part_info_list' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UploadPartInfo',
- ],
- ],
- ],
- ],
- 'FileTaskResultResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'src_file' => [
- '$ref' => '#/components/schemas/FileIDInfo',
- ],
- 'rst_file' => [
- '$ref' => '#/components/schemas/FileIDInfo',
- ],
- 'err_code' => [
- 'type' => 'string',
- ],
- 'message' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'GetOfficeEditUrlOption' => [
- 'type' => 'object',
- 'properties' => [
- 'copy' => [
- 'type' => 'boolean',
- ],
- 'readonly' => [
- 'type' => 'boolean',
- ],
- 'print' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'GetOfficeEditUrlWatermark' => [
- 'type' => 'object',
- 'properties' => [
- 'type' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'value' => [
- 'type' => 'string',
- ],
- 'fillstyle' => [
- 'type' => 'string',
- ],
- 'font' => [
- 'type' => 'string',
- ],
- 'rotate' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'horizontal' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'vertical' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'GetOfficePreviewUrlOption' => [
- 'type' => 'object',
- 'properties' => [
- 'copy' => [
- 'type' => 'boolean',
- ],
- 'print' => [
- 'type' => 'boolean',
+ 'items' => ['type' => 'string'],
],
],
],
'Group' => [
'type' => 'object',
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'group_id' => [
- 'type' => 'string',
- ],
- 'group_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'HotDriveFile' => [
- 'type' => 'object',
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'category' => [
- 'type' => 'string',
- ],
- 'action_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'count_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'action_list' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'HotKnowledgeBaseFile' => [
- 'type' => 'object',
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
- 'knowledge_base_id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'category' => [
- 'type' => 'string',
- ],
- 'action_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'count_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'action_list' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'IDPermission' => [
- 'type' => 'object',
- 'properties' => [
- 'permission' => [
- '$ref' => '#/components/schemas/Permission',
- ],
- 'disinherit_sub_group' => [
- 'type' => 'boolean',
- ],
- 'expire_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'roles' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
+ 'domain_id' => ['type' => 'string'],
+ 'group_id' => ['type' => 'string'],
+ 'group_name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'created_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'updated_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'creator' => ['type' => 'string'],
+ 'is_sync' => ['type' => 'boolean'],
],
],
'Identity' => [
'type' => 'object',
'properties' => [
- 'identity_type' => [
- 'type' => 'string',
- ],
- 'identity_id' => [
- 'type' => 'string',
- ],
+ 'identity_type' => ['type' => 'string'],
+ 'identity_id' => ['type' => 'string'],
],
],
'IdentityToBenefitPkgMapping' => [
'type' => 'object',
'properties' => [
- 'identity_type' => [
- 'type' => 'string',
- ],
- 'identity_id' => [
- 'type' => 'string',
- ],
- 'benefit_pkg_owner_id' => [
- 'type' => 'string',
- ],
- 'benefit_pkg_id' => [
- 'type' => 'string',
- ],
- 'benefit_pkg_type' => [
- 'type' => 'string',
- ],
- 'benefit_pkg_name' => [
- 'type' => 'string',
- ],
- 'benefit_pkg_priority' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'benefit_pkg_computation_rule' => [
- 'type' => 'string',
- ],
+ 'identity_type' => ['type' => 'string'],
+ 'identity_id' => ['type' => 'string'],
+ 'benefit_pkg_owner_id' => ['type' => 'string'],
+ 'benefit_pkg_id' => ['type' => 'string'],
+ 'benefit_pkg_type' => ['type' => 'string'],
+ 'benefit_pkg_name' => ['type' => 'string'],
+ 'benefit_pkg_priority' => ['type' => 'integer', 'format' => 'int64'],
+ 'benefit_pkg_computation_rule' => ['type' => 'string'],
'delivery_info_list' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/BenefitPkgDeliveryInfo',
- ],
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/BenefitPkgDeliveryInfo'],
],
+ 'created_at' => ['type' => 'string'],
+ 'updated_at' => ['type' => 'string'],
],
],
'ImageMediaMetadata' => [
'type' => 'object',
'properties' => [
- 'time' => [
- 'type' => 'string',
- ],
- 'width' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'height' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'location' => [
- 'type' => 'string',
- ],
- 'country' => [
- 'type' => 'string',
- ],
- 'province' => [
- 'type' => 'string',
- ],
- 'city' => [
- 'type' => 'string',
- ],
- 'district' => [
- 'type' => 'string',
- ],
- 'township' => [
- 'type' => 'string',
- ],
- 'address_line' => [
- 'type' => 'string',
- ],
+ 'time' => ['type' => 'string'],
+ 'width' => ['type' => 'integer', 'format' => 'int64'],
+ 'height' => ['type' => 'integer', 'format' => 'int64'],
+ 'location' => ['type' => 'string'],
+ 'country' => ['type' => 'string'],
+ 'province' => ['type' => 'string'],
+ 'city' => ['type' => 'string'],
+ 'district' => ['type' => 'string'],
+ 'township' => ['type' => 'string'],
+ 'address_line' => ['type' => 'string'],
'image_tags' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/SystemTag',
- ],
+ 'items' => ['$ref' => '#/components/schemas/SystemTag'],
],
+ 'faces' => ['type' => 'string', 'deprecated' => true],
'faces_thumbnail' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/FaceThumbnail',
- ],
- ],
- 'exif' => [
- 'type' => 'string',
- ],
- 'image_quality' => [
- '$ref' => '#/components/schemas/ImageQuality',
+ 'items' => ['$ref' => '#/components/schemas/FaceThumbnail'],
],
+ 'exif' => ['type' => 'string'],
+ 'image_quality' => ['$ref' => '#/components/schemas/ImageQuality'],
],
],
'ImageProcess' => [
'type' => 'object',
'properties' => [
- 'image_thumbnail_process' => [
- 'type' => 'string',
- ],
- 'video_thumbnail_process' => [
- 'type' => 'string',
- ],
- 'office_thumbnail_process' => [
- 'type' => 'string',
- ],
+ 'image_thumbnail_process' => ['type' => 'string'],
+ 'video_thumbnail_process' => ['type' => 'string'],
+ 'office_thumbnail_process' => ['type' => 'string'],
],
],
'ImageQuality' => [
'type' => 'object',
'properties' => [
- 'overall_score' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
+ 'overall_score' => ['type' => 'number', 'format' => 'double'],
],
],
'ImageTag' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'cover_url' => [
- 'type' => 'string',
- ],
- 'cover_file_id' => [
- 'type' => 'string',
- ],
- 'cover_file_category' => [
- 'type' => 'string',
- ],
- 'cover_tag_confidence' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'cover_overall_score' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- ],
- ],
- 'Int64Range' => [
- 'type' => 'object',
- 'properties' => [
- 'from' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'to' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'name' => ['type' => 'string'],
+ 'count' => ['type' => 'integer', 'format' => 'int64'],
+ 'cover_url' => ['type' => 'string'],
+ 'cover_file_id' => ['type' => 'string'],
+ 'cover_file_category' => ['type' => 'string'],
+ 'cover_tag_confidence' => ['type' => 'number', 'format' => 'float'],
+ 'cover_overall_score' => ['type' => 'number', 'format' => 'float'],
],
],
'InvestigationInfo' => [
'type' => 'object',
'properties' => [
- 'status' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'suggestion' => [
- 'type' => 'string',
- ],
+ 'status' => ['type' => 'integer', 'format' => 'int64'],
+ 'suggestion' => ['type' => 'string'],
'video_detail' => [
'type' => 'object',
'properties' => [
@@ -2467,17 +354,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'rate' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'offset' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'label' => [
- 'type' => 'string',
- ],
+ 'rate' => ['type' => 'number', 'format' => 'double'],
+ 'offset' => ['type' => 'integer', 'format' => 'int64'],
+ 'label' => ['type' => 'string'],
],
],
],
@@ -2485,416 +364,53 @@
],
],
],
- 'JWTPayload' => [
- 'type' => 'object',
- 'properties' => [
- 'auto_create' => [
- 'type' => 'boolean',
- ],
- 'sub_type' => [
- 'type' => 'string',
- ],
- 'iss' => [
- 'type' => 'string',
- ],
- 'sub' => [
- 'type' => 'string',
- ],
- 'aud' => [
- 'type' => 'string',
- ],
- 'jti' => [
- 'type' => 'string',
- ],
- 'exp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'iat' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'nbf' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'KnowledgeBase' => [
- 'type' => 'object',
- 'properties' => [
- 'knowledge_base_id' => [
- 'type' => 'string',
- ],
- 'owner_type' => [
- 'type' => 'string',
- ],
- 'owner_id' => [
- 'type' => 'string',
- ],
- 'owner_name' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'cover_uri' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'file_filter' => [
- 'type' => 'string',
- ],
- 'link_rule_list' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/LinkRule',
- ],
- ],
- ],
- ],
- 'KnowledgeCategory' => [
- 'type' => 'object',
- 'properties' => [
- 'knowledge_base_id' => [
- 'type' => 'string',
- ],
- 'knowledge_base_name' => [
- 'type' => 'string',
- ],
- 'parent_knowledge_category_id' => [
- 'type' => 'string',
- ],
- 'knowledge_category_id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'keywords' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'owner' => [
- 'type' => 'string',
- ],
- 'owner_type' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
'KnowledgeFile' => [
'type' => 'object',
'properties' => [
- 'knowledge_base_id' => [
- 'type' => 'string',
- ],
- 'knowledge_category_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
- 'joined_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'creator_id' => [
- 'type' => 'string',
- ],
- 'file_image_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'file_created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'file_updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'file_creator_id' => [
- 'type' => 'string',
- ],
- 'file_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'file_category' => [
- 'type' => 'string',
- ],
- 'file_name' => [
- 'type' => 'string',
- ],
- 'file_name_path' => [
- 'type' => 'string',
- ],
- 'file_last_modifier_id' => [
- 'type' => 'string',
- ],
- 'file_last_modifier_type' => [
- 'type' => 'string',
- ],
- 'drive_name' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'KnowledgeFileItem' => [
- 'type' => 'object',
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'LinkInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'identity' => [
- 'type' => 'string',
- ],
- 'extra' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'LinkRule' => [
- 'type' => 'object',
- 'properties' => [
- 'src_file_id' => [
- 'type' => 'string',
- ],
- 'src_drive_id' => [
- 'type' => 'string',
- ],
- 'link_type' => [
- 'type' => 'string',
- ],
- 'src_file_name' => [
- 'type' => 'string',
- ],
- 'src_drive_name' => [
- 'type' => 'string',
- ],
- 'src_valid' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'LocationDateCluster' => [
- 'type' => 'object',
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'cluster_id' => [
- 'type' => 'string',
- ],
- 'title' => [
- 'type' => 'string',
- ],
- 'level' => [
- 'type' => 'string',
- 'enum' => [
- 'country',
- 'province',
- 'city',
- 'district',
- 'township',
- ],
- ],
- 'address' => [
- '$ref' => '#/components/schemas/Address',
- ],
- 'start_time' => [
- 'type' => 'string',
- ],
- 'end_time' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'custom_labels' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'MediaPlayInfoTemplate' => [
- 'type' => 'object',
- 'properties' => [
- 'template_id' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'url' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'Membership' => [
- 'type' => 'object',
- 'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'group_id' => [
- 'type' => 'string',
- ],
- 'sub_group_id' => [
- 'type' => 'string',
- ],
- 'user_id' => [
- 'type' => 'string',
- ],
- 'member_type' => [
- 'type' => 'string',
- ],
- 'member_role' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'NameCheckResult' => [
- 'type' => 'object',
- 'properties' => [
- 'exist_file_id' => [
- 'type' => 'string',
- ],
- 'exist_file_type' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'OfficeEditConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'enabled' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'OfficePreviewConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'enabled' => [
- 'type' => 'boolean',
- ],
+ 'knowledge_base_id' => ['type' => 'string'],
+ 'knowledge_category_id' => ['type' => 'string'],
+ 'drive_id' => ['type' => 'string'],
+ 'file_id' => ['type' => 'string'],
+ 'revision_id' => ['type' => 'string'],
+ 'joined_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'creator_id' => ['type' => 'string'],
+ 'file_image_time' => ['type' => 'integer', 'format' => 'int64'],
+ 'file_created_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'file_updated_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'file_creator_id' => ['type' => 'string'],
+ 'file_size' => ['type' => 'integer', 'format' => 'int64'],
+ 'file_category' => ['type' => 'string'],
+ 'file_name' => ['type' => 'string'],
+ 'file_name_path' => ['type' => 'string'],
+ 'file_last_modifier_id' => ['type' => 'string'],
+ 'file_last_modifier_type' => ['type' => 'string'],
+ 'drive_name' => ['type' => 'string'],
],
],
'Permission' => [
'type' => 'object',
'properties' => [
- 'collection' => [
- 'type' => 'string',
- ],
- 'resource_type' => [
- 'type' => 'string',
- ],
- 'resource' => [
- 'type' => 'string',
- ],
- 'identity_type' => [
- 'type' => 'string',
- ],
- 'identity_id' => [
- 'type' => 'string',
- ],
+ 'collection' => ['type' => 'string'],
+ 'resource_type' => ['type' => 'string'],
+ 'resource' => ['type' => 'string'],
+ 'identity_type' => ['type' => 'string'],
+ 'identity_id' => ['type' => 'string'],
'action_list' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'action' => [
- 'type' => 'string',
- ],
+ 'action' => ['type' => 'string'],
],
],
],
- 'effect' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'condition' => [
- '$ref' => '#/components/schemas/PermissionCondition',
- ],
+ 'effect' => ['type' => 'string'],
+ 'created_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'updated_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'condition' => ['$ref' => '#/components/schemas/PermissionCondition'],
'user_tags' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2906,9 +422,7 @@
'properties' => [
'client_ip' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2917,9 +431,7 @@
'properties' => [
'client_ip' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2928,9 +440,7 @@
'properties' => [
'vpc_id' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2939,820 +449,218 @@
'properties' => [
'vpc_id' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'bool_equals' => [
- 'type' => 'object',
- 'properties' => [
- 'is_share_link' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'bool_not_equals' => [
- 'type' => 'object',
- 'properties' => [
- 'is_share_link' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- ],
- ],
- 'PersonalRightsInfoResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'spu_id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'title' => [
- 'type' => 'string',
- ],
- 'icon' => [
- 'type' => 'string',
- ],
- 'expires_time' => [
- 'type' => 'string',
- ],
- 'is_expires' => [
- 'type' => 'boolean',
- ],
- 'privileges' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/DataBoxPrivileges',
- ],
- ],
- 'history_latest_rights' => [
- '$ref' => '#/components/schemas/PersonalRightsInfoResponse',
- ],
- 'other_rights' => [
- '$ref' => '#/components/schemas/PersonalRightsInfoResponse',
- ],
- ],
- ],
- 'PersonalSpaceInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'used_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'total_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'ReceivedMsg' => [
- 'type' => 'object',
- 'properties' => [
- 'msg_id' => [
- 'type' => 'string',
- ],
- 'msg_category' => [
- 'type' => 'string',
- ],
- 'msg_sub_category' => [
- 'type' => 'string',
- ],
- 'msg_content' => [
- 'type' => 'object',
- 'properties' => [
- 'msg_data' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
- 'msg_type' => [
- 'type' => 'string',
- ],
- 'has_read' => [
- 'type' => 'boolean',
- ],
- 'read_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'publish_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'RecentActedFile' => [
- 'type' => 'object',
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'drive_name' => [
- 'type' => 'string',
- ],
- 'drive_owner_id' => [
- 'type' => 'string',
- ],
- 'drive_owner_type' => [
- 'type' => 'string',
- ],
- 'drive_is_handover' => [
- 'type' => 'boolean',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'file_name' => [
- 'type' => 'string',
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'category' => [
- 'type' => 'string',
- ],
- 'thumbnail' => [
- 'type' => 'string',
- ],
- 'trashed' => [
- 'type' => 'boolean',
- ],
- 'deleted' => [
- 'type' => 'boolean',
- ],
- 'action_list' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'RecycleBinConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'auto_delete_enabled' => [
- 'type' => 'boolean',
- ],
- 'auto_delete_keep_second' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'delete_trash_normal_file_disabled' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'RefundNoticeParam' => [
- 'type' => 'object',
- 'properties' => [
- 'refundType' => [
- 'type' => 'string',
- ],
- 'orderIds' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- 'instanceId' => [
- 'type' => 'string',
- ],
- 'commodityCode' => [
- 'type' => 'string',
- ],
- 'aliyunProduceCode' => [
- 'type' => 'string',
- ],
- 'aliuid' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'newExpireTime' => [
- 'type' => 'any',
- ],
- 'refundParamMap' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
],
],
'Revision' => [
'type' => 'object',
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
- 'revision_name' => [
- 'type' => 'string',
- ],
- 'revision_version' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'file_extension' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'keep_forever' => [
- 'type' => 'boolean',
- ],
- 'revision_description' => [
- 'type' => 'string',
- ],
- 'is_latest_version' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'crc64_hash' => [
- 'type' => 'string',
- ],
- 'content_hash' => [
- 'type' => 'string',
- ],
- 'content_hash_name' => [
- 'type' => 'string',
- ],
- 'thumbnail' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'url' => [
- 'type' => 'string',
- ],
- 'download_url' => [
- 'type' => 'string',
- ],
- 'creator_id' => [
- 'type' => 'string',
- ],
- 'creator_name' => [
- 'type' => 'string',
- ],
+ 'domain_id' => ['type' => 'string'],
+ 'drive_id' => ['type' => 'string'],
+ 'file_id' => ['type' => 'string'],
+ 'revision_id' => ['type' => 'string'],
+ 'revision_name' => ['type' => 'string'],
+ 'revision_version' => ['type' => 'integer', 'format' => 'int64'],
+ 'size' => ['type' => 'integer', 'format' => 'int64'],
+ 'file_extension' => ['type' => 'string'],
+ 'created_at' => ['type' => 'string'],
+ 'updated_at' => ['type' => 'string'],
+ 'keep_forever' => ['type' => 'boolean'],
+ 'revision_description' => ['type' => 'string'],
+ 'is_latest_version' => ['type' => 'boolean', 'required' => false],
+ 'crc64_hash' => ['type' => 'string'],
+ 'content_hash' => ['type' => 'string'],
+ 'content_hash_name' => ['type' => 'string'],
+ 'thumbnail' => ['type' => 'string', 'required' => false],
+ 'url' => ['type' => 'string'],
+ 'download_url' => ['type' => 'string'],
+ 'creator_type' => ['type' => 'string'],
+ 'creator_id' => ['type' => 'string'],
+ 'creator_name' => ['type' => 'string'],
],
],
'Role' => [
'type' => 'object',
'properties' => [
- 'role_id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'manage_resource_type' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'role_id' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'manage_resource_type' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'created_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'updated_at' => ['type' => 'integer', 'format' => 'int64'],
'permissions' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Permission',
- ],
- ],
- 'status' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'SearchFromThirdPartyItem' => [
- 'type' => 'object',
- 'properties' => [
- 'authentication_type' => [
- 'type' => 'string',
- ],
- 'identity' => [
- 'type' => 'string',
- ],
- 'extra' => [
- 'type' => 'string',
- ],
- 'others' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Permission'],
],
+ 'status' => ['type' => 'string'],
],
],
'ShareLink' => [
'type' => 'object',
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- ],
- 'share_pwd' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
+ 'share_id' => ['type' => 'string'],
+ 'share_pwd' => ['type' => 'string'],
+ 'drive_id' => ['type' => 'string'],
'file_id_list' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'expiration' => [
- 'type' => 'string',
- ],
- 'expired' => [
- 'type' => 'boolean',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'share_name' => [
- 'type' => 'string',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'preview_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'save_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'download_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'report_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'video_preview_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'access_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'disable_preview' => [
- 'type' => 'boolean',
- ],
- 'disable_save' => [
- 'type' => 'boolean',
- ],
- 'disable_download' => [
- 'type' => 'boolean',
- ],
- 'preview_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'save_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'download_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'share_all_files' => [
- 'type' => 'boolean',
- ],
- 'save_download_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'office_editable' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'ShareLinkConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'enable_share_link_office_edit' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'ShareLinkDetail' => [
- 'type' => 'object',
- 'properties' => [
- 'enable_office_editable' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'SimpleQuery' => [
- 'type' => 'object',
- 'properties' => [
- 'field' => [
- 'type' => 'string',
- 'format' => 'byte',
- ],
- 'operation' => [
- 'type' => 'string',
- 'format' => 'byte',
- ],
- 'sub_queries' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/SimpleQuery',
- ],
- ],
- 'value' => [
- 'type' => 'string',
- 'format' => 'byte',
- ],
- ],
- ],
- 'SimpleStreamInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'crc64_hash' => [
- 'type' => 'string',
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'content_hash' => [
- 'type' => 'string',
- ],
- 'content_hash_name' => [
- 'type' => 'string',
- ],
- 'download_url' => [
- 'type' => 'string',
- ],
- 'url' => [
- 'type' => 'string',
- ],
- 'thumbnail' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
+ ],
+ 'expiration' => ['type' => 'string'],
+ 'expired' => ['type' => 'boolean'],
+ 'created_at' => ['type' => 'string'],
+ 'updated_at' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'share_name' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'preview_count' => ['type' => 'integer', 'format' => 'int64'],
+ 'save_count' => ['type' => 'integer', 'format' => 'int64'],
+ 'download_count' => ['type' => 'integer', 'format' => 'int64'],
+ 'report_count' => ['type' => 'integer', 'format' => 'int64'],
+ 'video_preview_count' => ['type' => 'integer', 'format' => 'int64'],
+ 'access_count' => ['type' => 'integer', 'format' => 'int64'],
+ 'disable_preview' => ['type' => 'boolean'],
+ 'disable_save' => ['type' => 'boolean'],
+ 'disable_download' => ['type' => 'boolean'],
+ 'preview_limit' => ['type' => 'integer', 'format' => 'int64'],
+ 'save_limit' => ['type' => 'integer', 'format' => 'int64'],
+ 'download_limit' => ['type' => 'integer', 'format' => 'int64'],
+ 'require_login' => ['type' => 'boolean'],
+ 'share_all_files' => ['type' => 'boolean'],
+ 'share_msg' => ['type' => 'string'],
+ 'save_download_limit' => ['type' => 'integer', 'format' => 'int64'],
+ 'office_editable' => ['type' => 'boolean'],
],
],
'Story' => [
'type' => 'object',
'properties' => [
- 'story_id' => [
- 'type' => 'string',
- ],
- 'story_type' => [
- 'type' => 'string',
- ],
- 'story_sub_type' => [
- 'type' => 'string',
- ],
- 'story_name' => [
- 'type' => 'string',
- ],
- 'story_start_time' => [
- 'type' => 'string',
- ],
- 'story_end_time' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
+ 'story_id' => ['type' => 'string'],
+ 'story_type' => ['type' => 'string'],
+ 'story_sub_type' => ['type' => 'string'],
+ 'story_name' => ['type' => 'string'],
+ 'story_start_time' => ['type' => 'string'],
+ 'story_end_time' => ['type' => 'string'],
+ 'created_at' => ['type' => 'string'],
+ 'updated_at' => ['type' => 'string'],
'face_group_ids' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'cover_file_id' => [
- 'type' => 'string',
- ],
- 'cover_file_thumbnail_url' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'cover_file_id' => ['type' => 'string'],
+ 'cover_file_thumbnail_url' => ['type' => 'string'],
'story_file_list' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/File',
- ],
+ 'items' => ['$ref' => '#/components/schemas/File'],
],
+ 'custom_id' => ['type' => 'string'],
'custom_labels' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- ],
- ],
- 'SystemDriveConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'resource_parent_file_id_map' => [
- 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any'],
],
],
],
'SystemTag' => [
'type' => 'object',
'properties' => [
- 'confidence' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'parent_name' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'tag_level' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'centric_score' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- ],
- ],
- 'TimeRange' => [
- 'type' => 'object',
- 'properties' => [
- 'start' => [
- 'type' => 'string',
- ],
- 'end' => [
- 'type' => 'string',
- ],
+ 'confidence' => ['type' => 'number', 'format' => 'float'],
+ 'parent_name' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'tag_level' => ['type' => 'integer', 'format' => 'int32'],
+ 'source' => ['type' => 'string'],
+ 'centric_score' => ['type' => 'number', 'format' => 'float'],
],
],
'Token' => [
'type' => 'object',
'properties' => [
- 'access_token' => [
- 'type' => 'string',
- ],
- 'refresh_token' => [
- 'type' => 'string',
- ],
- 'expires_in' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'token_type' => [
- 'type' => 'string',
- ],
- 'user_id' => [
- 'type' => 'string',
- ],
- 'user_name' => [
- 'type' => 'string',
- ],
- 'avatar' => [
- 'type' => 'string',
- ],
- 'nick_name' => [
- 'type' => 'string',
- ],
- 'default_drive_id' => [
- 'type' => 'string',
- ],
- 'role' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'expire_time' => [
- 'type' => 'string',
- ],
- 'is_first_login' => [
- 'type' => 'boolean',
- ],
- 'device_name' => [
- 'type' => 'string',
- ],
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'default_sbox_drive_id' => [
- 'type' => 'string',
- ],
+ 'access_token' => ['type' => 'string'],
+ 'refresh_token' => ['type' => 'string'],
+ 'expires_in' => ['type' => 'integer', 'format' => 'int64'],
+ 'token_type' => ['type' => 'string'],
+ 'user_id' => ['type' => 'string'],
+ 'user_name' => ['type' => 'string'],
+ 'avatar' => ['type' => 'string'],
+ 'nick_name' => ['type' => 'string'],
+ 'default_drive_id' => ['type' => 'string'],
+ 'role' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'expire_time' => ['type' => 'string'],
+ 'is_first_login' => ['type' => 'boolean'],
+ 'device_id' => ['type' => 'string'],
+ 'device_name' => ['type' => 'string'],
+ 'domain_id' => ['type' => 'string'],
+ 'default_sbox_drive_id' => ['type' => 'string'],
'user_data' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'pin_setup' => [
- 'type' => 'boolean',
- ],
- 'need_rp_verify' => [
- 'type' => 'boolean',
- ],
- 'state' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'pin_setup' => ['type' => 'boolean'],
+ 'need_rp_verify' => ['type' => 'boolean'],
+ 'state' => ['type' => 'string'],
'exist_link' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/LinkInfo',
- ],
- ],
- 'need_link' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'UncompressConfigResponse' => [
- 'type' => 'object',
- 'properties' => [
- 'enabled' => [
- 'type' => 'boolean',
- ],
- 'version' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/LinkInfo'],
],
+ 'need_link' => ['type' => 'boolean'],
],
],
'UncompressedFileInfo' => [
'type' => 'object',
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'is_folder' => [
- 'type' => 'boolean',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'drive_id' => ['type' => 'string'],
+ 'file_id' => ['type' => 'string'],
+ 'is_folder' => ['type' => 'boolean'],
+ 'name' => ['type' => 'string'],
+ 'size' => ['type' => 'integer', 'format' => 'int64'],
+ 'updated_at' => ['type' => 'integer', 'format' => 'int64'],
'items' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UncompressedFileInfo',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UncompressedFileInfo'],
],
],
],
'UploadFormInfo' => [
'type' => 'object',
'properties' => [
- 'bucket_name' => [
- 'type' => 'string',
- ],
- 'oss_end_point' => [
- 'type' => 'string',
- ],
- 'object_key' => [
- 'type' => 'string',
- ],
- 'oss_access_key_id' => [
- 'type' => 'string',
- ],
- 'oss_security_token' => [
- 'type' => 'string',
- ],
- 'policy' => [
- 'type' => 'string',
- ],
- 'signature' => [
- 'type' => 'string',
- ],
- 'endpoint' => [
- 'type' => 'string',
- ],
+ 'endpoint' => ['type' => 'string'],
'form_data' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
'UploadPartInfo' => [
'type' => 'object',
'properties' => [
- 'part_number' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- 'part_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'upload_url' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'internal_upload_url' => [
- 'type' => 'string',
- ],
- 'etag' => [
- 'type' => 'string',
- ],
+ 'part_number' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'part_size' => ['type' => 'integer', 'format' => 'int64'],
+ 'upload_url' => ['type' => 'string', 'required' => true],
+ 'internal_upload_url' => ['type' => 'string'],
+ 'etag' => ['type' => 'string'],
'parallel_sha1_ctx' => [
'type' => 'object',
'properties' => [
'h' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- 'part_offset' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'items' => ['type' => 'integer', 'format' => 'int64'],
],
+ 'part_offset' => ['type' => 'integer', 'format' => 'int64'],
],
],
+ 'upload_form_info' => ['$ref' => '#/components/schemas/UploadFormInfo'],
'parallel_sha256_ctx' => [
'type' => 'object',
'properties' => [
'h' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- 'part_offset' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'items' => ['type' => 'integer', 'format' => 'int64'],
],
+ 'part_offset' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -3760,290 +668,130 @@
'User' => [
'type' => 'object',
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'user_id' => [
- 'type' => 'string',
- ],
- 'avatar' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updated_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'email' => [
- 'type' => 'string',
- ],
- 'nick_name' => [
- 'type' => 'string',
- ],
- 'phone' => [
- 'type' => 'string',
- ],
- 'role' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'user_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'default_drive_id' => [
- 'type' => 'string',
- ],
+ 'domain_id' => ['type' => 'string'],
+ 'user_id' => ['type' => 'string'],
+ 'avatar' => ['type' => 'string'],
+ 'created_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'updated_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'email' => ['type' => 'string'],
+ 'nick_name' => ['type' => 'string'],
+ 'phone' => ['type' => 'string'],
+ 'role' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'user_name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'default_drive_id' => ['type' => 'string'],
+ 'creator' => ['type' => 'string'],
+ 'last_login_time' => ['type' => 'integer', 'format' => 'int64'],
+ 'last_refresh_token_time' => ['type' => 'integer', 'format' => 'int64'],
'user_data' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'creator' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
'UserExtraItem' => [
'type' => 'object',
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'user_id' => [
- 'type' => 'string',
- ],
- 'avatar' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'email' => [
- 'type' => 'string',
- ],
- 'nick_name' => [
- 'type' => 'string',
- ],
- 'phone' => [
- 'type' => 'string',
- ],
- 'phone_region' => [
- 'type' => 'string',
- ],
- 'role' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'user_name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'default_drive_id' => [
- 'type' => 'string',
- ],
+ 'domain_id' => ['type' => 'string'],
+ 'user_id' => ['type' => 'string'],
+ 'avatar' => ['type' => 'string'],
+ 'created_at' => ['type' => 'string'],
+ 'updated_at' => ['type' => 'string'],
+ 'email' => ['type' => 'string'],
+ 'nick_name' => ['type' => 'string'],
+ 'phone' => ['type' => 'string'],
+ 'phone_region' => ['type' => 'string'],
+ 'role' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'user_name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'default_drive_id' => ['type' => 'string'],
+ 'deny_change_password_by_self' => ['type' => 'boolean'],
+ 'need_change_password_next_login' => ['type' => 'boolean'],
+ 'creator' => ['type' => 'string'],
+ 'expired_at' => ['type' => 'integer', 'format' => 'int64'],
+ 'is_sync' => ['type' => 'boolean'],
+ 'default_location' => ['type' => 'string'],
+ 'last_login_time' => ['type' => 'integer', 'format' => 'int64'],
+ 'path_status' => ['type' => 'string'],
+ 'default_drive' => ['$ref' => '#/components/schemas/BaseDriveResponse'],
+ 'last_refresh_token_time' => ['type' => 'integer', 'format' => 'int64'],
'user_data' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- 'deny_change_password_by_self' => [
- 'type' => 'boolean',
- ],
- 'need_change_password_next_login' => [
- 'type' => 'boolean',
- ],
- 'creator' => [
- 'type' => 'string',
- ],
- 'expired_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'additionalProperties' => ['type' => 'any'],
],
'permission' => [
'type' => 'object',
- 'additionalProperties' => [
- '$ref' => '#/components/schemas/IDPermission',
- ],
- ],
- 'is_sync' => [
- 'type' => 'boolean',
- ],
- 'default_location' => [
- 'type' => 'string',
- ],
- 'last_login_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'path_status' => [
- 'type' => 'string',
- ],
- 'default_drive' => [
- '$ref' => '#/components/schemas/BaseDriveResponse',
+ 'additionalProperties' => ['$ref' => '#/components/schemas/IDPermission'],
],
'parent_group' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/BaseDriveResponse',
- ],
+ 'items' => ['$ref' => '#/components/schemas/BaseDriveResponse'],
],
'account' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AccountLinkInfo',
- ],
- ],
- ],
- ],
- 'UserLogDetail' => [
- 'type' => 'object',
- 'properties' => [
- 'phone' => [
- 'type' => 'string',
- ],
- 'email' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'role_id' => [
- 'type' => 'string',
- ],
- 'expired_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'update_to' => [
- 'type' => 'object',
- 'properties' => [
- 'phone' => [
- 'type' => 'string',
- ],
- 'email' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'role_id' => [
- 'type' => 'string',
- ],
- 'expired_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
+ 'items' => ['$ref' => '#/components/schemas/AccountLinkInfo'],
],
],
],
'UserTag' => [
'type' => 'object',
'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'key' => ['type' => 'string', 'required' => true],
+ 'value' => ['type' => 'string', 'required' => true],
],
],
'VideoMediaAudioStream' => [
'type' => 'object',
'properties' => [
- 'duration' => [
- 'type' => 'string',
- ],
- 'bit_rate' => [
- 'type' => 'string',
- ],
- 'code_name' => [
- 'type' => 'string',
- ],
+ 'duration' => ['type' => 'string'],
+ 'bit_rate' => ['type' => 'string'],
+ 'code_name' => ['type' => 'string'],
],
],
'VideoMediaMetadata' => [
'type' => 'object',
'properties' => [
- 'width' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'height' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'time' => ['type' => 'string'],
+ 'width' => ['type' => 'integer', 'format' => 'int64'],
+ 'height' => ['type' => 'integer', 'format' => 'int64'],
+ 'location' => ['type' => 'string'],
+ 'country' => ['type' => 'string'],
+ 'province' => ['type' => 'string'],
+ 'city' => ['type' => 'string'],
+ 'district' => ['type' => 'string'],
+ 'township' => ['type' => 'string'],
+ 'address_line' => ['type' => 'string'],
'video_media_video_stream' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/VideoMediaVideoStream',
- ],
+ 'items' => ['$ref' => '#/components/schemas/VideoMediaVideoStream'],
],
'video_media_audio_stream' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/VideoMediaAudioStream',
- ],
+ 'items' => ['$ref' => '#/components/schemas/VideoMediaAudioStream'],
],
],
],
'VideoMediaVideoStream' => [
'type' => 'object',
'properties' => [
- 'duration' => [
- 'type' => 'string',
- ],
- 'bitrate' => [
- 'type' => 'string',
- ],
- 'code_name' => [
- 'type' => 'string',
- ],
- 'frame_count' => [
- 'type' => 'string',
- ],
+ 'duration' => ['type' => 'string'],
+ 'bitrate' => ['type' => 'string'],
+ 'code_name' => ['type' => 'string'],
+ 'frame_count' => ['type' => 'string'],
],
],
'VideoPreviewPlayInfo' => [
'type' => 'object',
'properties' => [
- 'category' => [
- 'type' => 'string',
- ],
+ 'category' => ['type' => 'string'],
'meta' => [
'type' => 'object',
'properties' => [
- 'duration' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'width' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'height' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'duration' => ['type' => 'number', 'format' => 'double'],
+ 'width' => ['type' => 'integer', 'format' => 'int64'],
+ 'height' => ['type' => 'integer', 'format' => 'int64'],
],
],
'live_transcoding_task_list' => [
@@ -4051,18 +799,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'template_id' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'url' => [
- 'type' => 'string',
- ],
- 'keep_original_resolution' => [
- 'type' => 'boolean',
- ],
+ 'template_id' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'url' => ['type' => 'string'],
+ 'keep_original_resolution' => ['type' => 'boolean'],
+ 'preview_url' => ['type' => 'string'],
],
],
],
@@ -4071,15 +812,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'template_id' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'url' => [
- 'type' => 'string',
- ],
+ 'template_id' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'url' => ['type' => 'string'],
+ 'preview_url' => ['type' => 'string'],
],
],
],
@@ -4088,42 +824,26 @@
'items' => [
'type' => 'object',
'properties' => [
- 'template_id' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'keep_original_resolution' => [
- 'type' => 'boolean',
- ],
- 'url' => [
- 'type' => 'string',
- ],
+ 'template_id' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'keep_original_resolution' => ['type' => 'boolean'],
+ 'url' => ['type' => 'string'],
],
],
],
'live_transcoding_subtitle_task_list' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/VideoPreviewSubtitleInfo',
- ],
+ 'items' => ['$ref' => '#/components/schemas/VideoPreviewSubtitleInfo'],
],
'quick_video_subtitle_list' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/VideoPreviewSubtitleInfo',
- ],
+ 'items' => ['$ref' => '#/components/schemas/VideoPreviewSubtitleInfo'],
],
'offline_video_transcoding_subtitle_list' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/VideoPreviewSubtitleInfo',
- ],
- ],
- 'master_url' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/VideoPreviewSubtitleInfo'],
],
+ 'master_url' => ['type' => 'string'],
],
],
'VideoPreviewPlayMeta' => [
@@ -4132,18 +852,9 @@
'meta' => [
'type' => 'object',
'properties' => [
- 'duration' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'width' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'height' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'duration' => ['type' => 'number', 'format' => 'double'],
+ 'width' => ['type' => 'integer', 'format' => 'int64'],
+ 'height' => ['type' => 'integer', 'format' => 'int64'],
],
],
'live_transcoding_task_list' => [
@@ -4151,32 +862,20 @@
'items' => [
'type' => 'object',
'properties' => [
- 'template_id' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'keep_original_resolution' => [
- 'type' => 'boolean',
- ],
+ 'template_id' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'keep_original_resolution' => ['type' => 'boolean'],
],
],
],
- 'category' => [
- 'type' => 'string',
- ],
+ 'category' => ['type' => 'string'],
'quick_video_list' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'template_id' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
+ 'template_id' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
],
],
],
@@ -4185,15 +884,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'template_id' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'keep_original_resolution' => [
- 'type' => 'string',
- ],
+ 'template_id' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'keep_original_resolution' => ['type' => 'string'],
],
],
],
@@ -4202,229 +895,36 @@
'VideoPreviewSubtitleInfo' => [
'type' => 'object',
'properties' => [
- 'language' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'url' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'View' => [
- 'type' => 'object',
- 'properties' => [
- 'view_id' => [
- 'type' => 'string',
- ],
- 'category' => [
- 'type' => 'string',
- ],
- 'owner' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'file_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ex_fields_info' => [
- 'type' => 'object',
- ],
- ],
- ],
- 'ViewFile' => [
- 'type' => 'object',
- 'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- ],
- 'drive_id' => [
- 'type' => 'string',
- ],
- 'file_id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'content_type' => [
- 'type' => 'string',
- ],
- 'created_at' => [
- 'type' => 'string',
- ],
- 'updated_at' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'trashed_at' => [
- 'type' => 'string',
- ],
- 'file_extension' => [
- 'type' => 'string',
- ],
- 'hidden' => [
- 'type' => 'boolean',
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'starred' => [
- 'type' => 'boolean',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'labels' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'upload_id' => [
- 'type' => 'string',
- ],
- 'parent_file_id' => [
- 'type' => 'string',
- ],
- 'crc64_hash' => [
- 'type' => 'string',
- ],
- 'content_hash' => [
- 'type' => 'string',
- ],
- 'content_hash_name' => [
- 'type' => 'string',
- ],
- 'download_url' => [
- 'type' => 'string',
- ],
- 'thumbnail' => [
- 'type' => 'string',
- ],
- 'category' => [
- 'type' => 'string',
- ],
- 'local_created_at' => [
- 'type' => 'string',
- ],
- 'local_modified_at' => [
- 'type' => 'string',
- ],
- 'revision_id' => [
- 'type' => 'string',
- ],
- 'investigation_info' => [
- 'type' => 'object',
- 'properties' => [
- 'status' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'suggestion' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'thumbnail_urls' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'view_id' => [
- 'type' => 'string',
- ],
- 'joined_at' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'file_revision_id' => [
- 'type' => 'string',
- ],
- 'fields' => [
- 'type' => 'object',
- ],
- ],
- ],
- 'WatermarkEnableConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'enable_doc_preview' => [
- 'type' => 'boolean',
- ],
- 'display_access_user_name' => [
- 'type' => 'boolean',
- ],
- 'display_shareLink_creator_name' => [
- 'type' => 'boolean',
- ],
- 'display_custom_text' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'WxTrustedDomainConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'content' => [
- 'type' => 'string',
- ],
- 'show' => [
- 'type' => 'boolean',
- ],
+ 'language' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'url' => ['type' => 'string'],
],
],
],
],
'apis' => [
- 'CreateDomain' => [
- 'path' => '/v2/domain/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddGroupMember' => [
+ 'path' => '/v2/group/add_member',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'domain_id',
+ 'in' => 'host',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -4432,70 +932,36 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'parent_domain_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'domain_name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'init_drive_enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'init_drive_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'user_count_quota' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'size_quota' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'store_redundancy_type' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [],
- ],
+ 'group_id' => ['type' => 'string', 'required' => true],
+ 'member_type' => ['type' => 'string', 'required' => true],
+ 'member_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetDomain' => [
- 'path' => '/v2/domain/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddStoryFiles' => [
+ 'path' => '/v2/image/add_story_files',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'domain_id',
+ 'in' => 'host',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -4503,46 +969,48 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'get_quota_used' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'fields' => [
- 'type' => 'string',
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'story_id' => ['type' => 'string', 'required' => true],
+ 'files' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'revision_id' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 100,
],
],
],
],
],
],
- 'UpdateDomain' => [
- 'path' => '/v2/domain/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ArchiveFiles' => [
+ 'path' => '/v2/file/archive_files',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'domain_id',
+ 'in' => 'host',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -4550,121 +1018,41 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
+ 'share_id' => ['type' => 'string', 'required' => false],
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'file_ids' => [
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => true],
],
- 'domain_name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'init_drive_enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'init_drive_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'user_count_quota' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'size_quota' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'published_app_access_strategy' => [
- '$ref' => '#/components/schemas/AppAccessStrategy',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'ListDomains' => [
- 'path' => '/v2/domain/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AssignRole' => [
+ 'path' => '/v2/role/assign',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'parent_domain_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'service_code' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- 'SearchDomains' => [
- 'path' => '/v2/domain/search',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'domain_id',
+ 'in' => 'host',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -4672,51 +1060,37 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'order_by' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'identity' => ['$ref' => '#/components/schemas/Identity', 'required' => true],
+ 'role_id' => ['type' => 'string', 'required' => true],
+ 'manage_resource_type' => ['type' => 'string', 'required' => true],
+ 'manage_resource_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'DeleteDomain' => [
- 'path' => '/v2/domain/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'AuditLogExport' => [
+ 'path' => '/v2/audit_log/export',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'domain_id',
+ 'in' => 'host',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -4724,10 +1098,10 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'domain_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'query' => ['type' => 'string', 'required' => false],
+ 'order_by' => ['type' => 'string', 'required' => false],
+ 'file_name' => ['type' => 'string', 'required' => false],
+ 'language' => ['type' => 'string', 'required' => false],
],
],
],
@@ -4735,48 +1109,31 @@
],
'Authorize' => [
'path' => '/v2/oauth/authorize',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'Anonymous' => [],
],
],
- 'consumes' => [
- 'application/x-www-form-urlencoded',
- ],
- 'produces' => [
- 'application/octet-stream',
- ],
+ 'consumes' => ['application/x-www-form-urlencoded'],
+ 'produces' => ['application/octet-stream'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'client_id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'redirect_uri',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'scope',
@@ -4785,164 +1142,109 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
'name' => 'response_type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'state',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'login_type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'hide_consent',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'Token' => [
- 'path' => '/v2/oauth/token',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'Batch' => [
+ 'path' => '/v2/batch',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'Anonymous' => [],
+ 'BearerToken' => [],
+ ],
+ [
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/x-www-form-urlencoded',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'grant_type',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'code',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'redirect_uri',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'client_id',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'client_secret',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'refresh_token',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'assertion',
- 'in' => 'formData',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'resource' => ['type' => 'string', 'required' => true],
+ 'requests' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'id' => ['type' => 'string', 'required' => true],
+ 'method' => ['type' => 'string', 'required' => true],
+ 'url' => ['type' => 'string', 'required' => true],
+ 'body' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ 'headers' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'GetLinkInfoByUserId' => [
- 'path' => '/v2/account/get_link_info_by_user_id',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CancelAssignRole' => [
+ 'path' => '/v2/role/cancel_assign',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -4952,23 +1254,19 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'user_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'identity' => ['$ref' => '#/components/schemas/Identity', 'required' => true],
+ 'role_id' => ['type' => 'string', 'required' => true],
+ 'manage_resource_type' => ['type' => 'string', 'required' => true],
+ 'manage_resource_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'LinkAccount' => [
- 'path' => '/v2/account/link',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CancelShareLink' => [
+ 'path' => '/v2/share_link/cancel',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'BearerToken' => [],
@@ -4977,21 +1275,14 @@
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5001,58 +1292,32 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'user_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'identity' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'extra' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'share_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetLinkInfo' => [
- 'path' => '/v2/account/get_link_info',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ClearRecyclebin' => [
+ 'path' => '/v2/recyclebin/clear',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5062,31 +1327,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'identity' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'extra' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'UnLinkAccount' => [
- 'path' => '/v2/account/unlink',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CompleteFile' => [
+ 'path' => '/v2/file/complete',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5095,21 +1345,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5119,58 +1362,35 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'user_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'identity' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'extra' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'upload_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'crc64_hash' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateGroup' => [
- 'path' => '/v2/group/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CopyFile' => [
+ 'path' => '/v2/file/copy',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5180,58 +1400,37 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'group_name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'is_root' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'parent_group_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'share_id' => ['type' => 'string', 'required' => false],
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'to_drive_id' => ['type' => 'string', 'required' => false],
+ 'to_parent_file_id' => ['type' => 'string', 'required' => true],
+ 'auto_rename' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'UpdateGroup' => [
- 'path' => '/v2/group/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateCustomizedStory' => [
+ 'path' => '/v2/image/create_customized_story',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5241,56 +1440,56 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'group_id' => [
- 'type' => 'string',
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'story_type' => ['type' => 'string', 'required' => true],
+ 'story_sub_type' => ['type' => 'string', 'required' => true],
+ 'story_name' => ['type' => 'string', 'required' => true],
+ 'story_cover' => [
+ 'type' => 'object',
'required' => true,
+ 'properties' => [
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'revision_id' => ['type' => 'string', 'required' => false],
+ ],
],
- 'group_name' => [
- 'type' => 'string',
- 'required' => false,
+ 'story_files' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'revision_id' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'minItems' => 1,
],
- 'description' => [
- 'type' => 'string',
+ 'custom_labels' => [
+ 'type' => 'object',
+ 'deprecated' => true,
'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
],
],
],
- 'GetGroup' => [
- 'path' => '/v2/group/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDomain' => [
+ 'path' => '/v2/domain/create',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'domain_id',
- 'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -5298,23 +1497,27 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'group_id' => [
+ 'parent_domain_id' => ['type' => 'string', 'required' => false],
+ 'domain_name' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'init_drive_enable' => ['type' => 'boolean', 'required' => false],
+ 'init_drive_size' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'user_count_quota' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'size_quota' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'store_redundancy_type' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => [],
],
],
],
],
],
],
- 'ListGroup' => [
- 'path' => '/v2/group/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDrive' => [
+ 'path' => '/v2/drive/create',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5323,21 +1526,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5347,51 +1543,51 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'drive_name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 1024],
+ 'owner' => ['type' => 'string', 'required' => true],
+ 'owner_type' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['user', 'group'],
+ ],
+ 'description' => ['type' => 'string', 'required' => false, 'maxLength' => 1024],
+ 'drive_type' => [
+ 'type' => 'string',
'required' => false,
+ 'enum' => [],
],
- 'marker' => [
+ 'status' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['enabled', 'disabled'],
],
+ 'total_size' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'default' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'DeleteGroup' => [
- 'path' => '/v2/group/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateFile' => [
+ 'path' => '/v2/file/create',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5401,46 +1597,91 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'group_id' => [
+ 'name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 1024],
+ 'type' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['file', 'folder'],
+ ],
+ 'parent_file_id' => ['type' => 'string', 'required' => true],
+ 'drive_id' => ['type' => 'string', 'required' => false, 'pattern' => '^[0-9]*$'],
+ 'share_id' => ['type' => 'string', 'required' => false],
+ 'size' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'content_type' => ['type' => 'string', 'required' => false],
+ 'part_info_list' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'part_number' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'parallel_sha1_ctx' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'h' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ 'part_offset' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ 'content_md5' => ['type' => 'string', 'deprecated' => false, 'required' => false],
+ 'content_type' => ['type' => 'string', 'deprecated' => false],
+ ],
+ ],
+ ],
+ 'user_tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/UserTag', 'required' => false],
+ ],
+ 'hidden' => ['type' => 'boolean', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false, 'maxLength' => 1024],
+ 'content_hash' => ['type' => 'string', 'required' => false],
+ 'content_hash_name' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['sha1'],
+ ],
+ 'pre_hash' => ['type' => 'string', 'required' => false],
+ 'check_name_mode' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['ignore', 'auto_rename', 'refuse'],
],
+ 'file_id' => ['type' => 'string', 'required' => false],
+ 'local_created_at' => ['type' => 'string', 'required' => false],
+ 'local_modified_at' => ['type' => 'string', 'required' => false],
+ 'parallel_upload' => ['type' => 'boolean', 'required' => false],
+ 'upload_type' => ['type' => 'string'],
],
],
],
],
],
- 'AddGroupMember' => [
- 'path' => '/v2/group/add_member',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateGroup' => [
+ 'path' => '/v2/group/create',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5450,31 +1691,19 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'group_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'member_type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'member_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'group_name' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'is_root' => ['type' => 'boolean', 'required' => false],
+ 'parent_group_id' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'RemoveGroupMember' => [
- 'path' => '/v2/group/remove_member',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateIdentityToBenefitPkgMapping' => [
+ 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/create',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -5483,21 +1712,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5507,54 +1729,40 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'group_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'member_type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'member_id' => [
+ 'identity_type' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['user'],
],
+ 'identity_id' => ['type' => 'string', 'required' => true],
+ 'benefit_pkg_id' => ['type' => 'string', 'required' => true],
+ 'amount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'expire_time' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'ListGroupMember' => [
- 'path' => '/v2/group/list_member',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateShareLink' => [
+ 'path' => '/v2/share_link/create',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5564,37 +1772,41 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'group_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'member_type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'share_all_files' => ['type' => 'boolean', 'required' => false],
+ 'file_id_list' => [
+ 'type' => 'array',
'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'user_id' => ['type' => 'string', 'required' => false],
+ 'share_pwd' => ['type' => 'string', 'required' => false],
+ 'expiration' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'share_name' => ['type' => 'string', 'required' => false],
+ 'disable_preview' => ['type' => 'boolean', 'required' => false],
+ 'disable_save' => ['type' => 'boolean', 'required' => false],
+ 'disable_download' => ['type' => 'boolean', 'required' => false],
+ 'preview_limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'save_limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'download_limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'require_login' => ['type' => 'boolean', 'required' => false],
+ 'office_editable' => ['type' => 'boolean', 'required' => false],
+ 'creatable' => ['type' => 'boolean', 'required' => false],
+ 'creatable_file_id_list' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'CreateUser' => [
- 'path' => '/v2/user/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'CreateSimilarImageClusterTask' => [
+ 'path' => '/v2/image/create_similar_image_cluster_task',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5603,21 +1815,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5627,95 +1832,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'user_id' => [
- 'type' => 'string',
- 'required' => true,
- 'minLength' => 1,
- 'maxLength' => 1024,
- ],
- 'nick_name' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 128,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'enabled',
- 'disabled',
- ],
- ],
- 'role' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'user',
- 'admin',
- 'superadmin',
- 'subdomain_admin',
- 'subdomain_super_admin',
- ],
- ],
- 'avatar' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'phone' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'email' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'user_data' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- 'group_info_list' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'group_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'user_name' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 128,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 1024,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'ImportUser' => [
- 'path' => '/v2/user/import',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateStory' => [
+ 'path' => '/v2/image/create_story',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5724,21 +1850,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5748,52 +1867,35 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'authentication_type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'identity' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'authentication_display_name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'extra' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'nick_name' => [
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'story_id' => ['type' => 'string', 'required' => false],
+ 'story_type' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['TimeMemory', 'PeopleMemory', 'TagMemory', 'TravelMemory'],
],
- 'auto_create_drive' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'drive_total_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'parent_group_id' => [
- 'type' => 'string',
+ 'story_sub_type' => ['type' => 'string', 'required' => false],
+ 'story_name' => ['type' => 'string', 'required' => false],
+ 'story_start_time' => ['type' => 'string', 'required' => false],
+ 'story_end_time' => ['type' => 'string', 'required' => false],
+ 'min_image_count' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1'],
+ 'max_image_count' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100'],
+ 'custom_labels' => [
+ 'type' => 'object',
+ 'deprecated' => true,
'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'address' => ['$ref' => '#/components/schemas/Address', 'required' => false],
],
],
],
],
],
- 'UpdateUser' => [
- 'path' => '/v2/user/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateUser' => [
+ 'path' => '/v2/user/create',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -5802,21 +1904,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5826,61 +1921,25 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'user_id' => [
- 'type' => 'string',
- 'required' => true,
- 'minLength' => 1,
- 'maxLength' => 1024,
- ],
- 'nick_name' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 128,
- ],
+ 'user_id' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 1024],
+ 'nick_name' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 128],
'status' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'enabled',
- 'disabled',
- ],
+ 'enum' => ['enabled', 'disabled'],
],
'role' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'user',
- 'admin',
- 'superadmin',
- 'subdomain_admin',
- 'subdomain_super_admin',
- ],
- ],
- 'avatar' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 1024,
- ],
- 'phone' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'email' => [
- 'type' => 'string',
- 'required' => false,
+ 'enum' => ['user', 'admin', 'superadmin', 'subdomain_admin', 'subdomain_super_admin'],
],
+ 'avatar' => ['type' => 'string', 'required' => false],
+ 'phone' => ['type' => 'string', 'required' => false],
+ 'email' => ['type' => 'string', 'required' => false],
'user_data' => [
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'any'],
],
'group_info_list' => [
'type' => 'array',
@@ -5889,49 +1948,34 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'group_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'group_id' => ['type' => 'string', 'required' => false],
],
],
],
+ 'user_name' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 128],
+ 'description' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 1024],
],
],
],
],
],
- 'GetUser' => [
- 'path' => '/v2/user/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CsiGetFileInfo' => [
+ 'path' => '/v2/csi/get_file_info',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5941,48 +1985,28 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'user_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'url_expire_sec' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '14400'],
],
],
],
],
],
- 'ListUser' => [
- 'path' => '/v2/user/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteDomain' => [
+ 'path' => '/v2/domain/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'domain_id',
- 'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -5990,51 +2014,32 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'domain_id' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'SearchUser' => [
- 'path' => '/v2/user/search',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteDrive' => [
+ 'path' => '/v2/drive/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6044,62 +2049,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'nick_name' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 128,
- ],
- 'nick_name_for_fuzzy' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 128,
- ],
- 'user_name' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 128,
- ],
- 'phone' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'email' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'role' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'DeleteUser' => [
- 'path' => '/v2/user/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteFile' => [
+ 'path' => '/v2/file/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -6108,21 +2067,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6130,49 +2082,35 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'properties' => [
- 'user_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true, 'pattern' => '^[0-9]*$'],
+ 'file_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'CreateDrive' => [
- 'path' => '/v2/drive/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteGroup' => [
+ 'path' => '/v2/group/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6182,64 +2120,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_name' => [
- 'type' => 'string',
- 'required' => true,
- 'minLength' => 1,
- 'maxLength' => 1024,
- ],
- 'owner' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'owner_type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'user',
- 'group',
- ],
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 1024,
- ],
- 'drive_type' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [],
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'enabled',
- 'disabled',
- ],
- ],
- 'total_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'default' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'group_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'UpdateDrive' => [
- 'path' => '/v2/drive/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteRevision' => [
+ 'path' => '/v2/file/revision/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -6248,21 +2138,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6272,50 +2155,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'drive_name' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 128,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 1024,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'enabled',
- 'disabled',
- ],
- ],
- 'total_size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'owner' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'revision_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetDrive' => [
- 'path' => '/v2/drive/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteStory' => [
+ 'path' => '/v2/image/delete_story',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -6324,21 +2175,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6348,23 +2192,17 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'story_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'ListDrive' => [
- 'path' => '/v2/drive/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteUser' => [
+ 'path' => '/v2/user/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -6373,21 +2211,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6395,68 +2226,31 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'properties' => [
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'exclusiveMinimum' => true,
- 'maximum' => '100',
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'owner' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'owner_type' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'user',
- 'group',
- ],
- ],
+ 'user_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetDefaultDrive' => [
- 'path' => '/v2/drive/get_default_drive',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeltaGetLastCursor' => [
+ 'path' => '/v2/file/get_last_cursor',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
- ],
- [
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6466,23 +2260,17 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'user_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'sync_root_id' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListMyDrives' => [
- 'path' => '/v2/drive/list_my_drives',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DownloadFile' => [
+ 'path' => '/v2/file/download',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6491,78 +2279,67 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/x-www-form-urlencoded'],
+ 'produces' => ['application/octet-stream'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'exclusiveMinimum' => true,
- 'maximum' => '100',
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'share_id',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'drive_id',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'file_id',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'image_thumbnail_process',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'video_thumbnail_process',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'office_thumbnail_process',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'SearchDrive' => [
- 'path' => '/v2/drive/search',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'FileAddPermission' => [
+ 'path' => '/v2/file/add_permission',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6572,70 +2349,38 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'exclusiveMinimum' => true,
- 'maximum' => '100',
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'owner' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'owner_type' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'user',
- 'group',
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'member_list' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['$ref' => '#/components/schemas/FilePermissionMember', 'required' => false],
],
],
],
],
],
],
- 'DeleteDrive' => [
- 'path' => '/v2/drive/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'FileDeleteUserTags' => [
+ 'path' => '/v2/file/delete_usertags',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6645,46 +2390,40 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'key_list' => [
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => true, 'pattern' => '^[^#]+$'],
+ 'minItems' => 1,
+ 'maxItems' => 1000,
],
],
],
],
],
],
- 'CreateFile' => [
- 'path' => '/v2/file/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'FileListPermission' => [
+ 'path' => '/v2/file/list_permission',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6694,191 +2433,33 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- 'minLength' => 1,
- 'maxLength' => 1024,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'file',
- 'folder',
- ],
- ],
- 'parent_file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- 'pattern' => '^[0-9]*$',
- ],
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'size' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'content_type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'part_info_list' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'part_number' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'parallel_sha1_ctx' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'h' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- 'part_offset' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- 'content_md5' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- ],
- ],
- ],
- ],
- 'user_tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/UserTag',
- 'required' => false,
- ],
- ],
- 'hidden' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 1024,
- ],
- 'content_hash' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'content_hash_name' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'sha1',
- ],
- ],
- 'pre_hash' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'check_name_mode' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'ignore',
- 'auto_rename',
- 'refuse',
- ],
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'local_created_at' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'local_modified_at' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'image_media_metadata' => [
- '$ref' => '#/components/schemas/ImageMediaMetadata',
- 'required' => false,
- ],
- 'video_media_metadata' => [
- '$ref' => '#/components/schemas/VideoMediaMetadata',
- 'required' => false,
- ],
- 'parallel_upload' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'custom_updated_at' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'custom_created_at' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'DeleteFile' => [
- 'path' => '/v2/file/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'FilePutUserTags' => [
+ 'path' => '/v2/file/put_usertags',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6888,51 +2469,47 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^[0-9]*$',
- ],
- 'file_id' => [
- 'type' => 'string',
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'user_tags' => [
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => true, 'pattern' => '^[^#]+$'],
+ 'value' => ['type' => 'string', 'required' => false, 'pattern' => '^[^#]+$'],
+ ],
+ ],
+ 'minItems' => 1,
+ 'maxItems' => 1000,
],
],
],
],
],
],
- 'UpdateFile' => [
- 'path' => '/v2/file/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'FileRemovePermission' => [
+ 'path' => '/v2/file/remove_permission',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6940,70 +2517,31 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 1,
- 'maxLength' => 102,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 1024,
- ],
- 'labels' => [
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'member_list' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 100,
- ],
- 'check_name_mode' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'ignore',
- 'auto_rename',
- 'refuse',
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'identity' => ['$ref' => '#/components/schemas/Identity', 'required' => true],
+ 'role_id' => ['type' => 'string', 'required' => true],
+ ],
],
],
- 'local_modified_at' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'hidden' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'starred' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
],
],
],
],
],
- 'SearchFile' => [
- 'path' => '/v2/file/search',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetAsyncTask' => [
+ 'path' => '/v2/async_task/get',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7012,21 +2550,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7036,75 +2567,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'query' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 4096,
- ],
- 'order_by' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'name',
- 'type',
- 'created_at',
- 'updated_at',
- 'size',
- 'image_time',
- 'last_access_at',
- 'custom_type',
- 'custom_field_1',
- 'custom_field_2',
- 'image_overall_score',
- ],
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'return_total_count' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'recursive' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'thumbnail_processes' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- '$ref' => '#/components/schemas/ImageProcess',
- ],
- ],
- 'fields' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'async_task_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'ListFile' => [
- 'path' => '/v2/file/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDefaultDrive' => [
+ 'path' => '/v2/drive/get_default_drive',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7113,21 +2585,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7137,117 +2602,26 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'parent_file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'uploading',
- 'available',
- ],
- ],
- 'order_by' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'order_direction' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'ASC',
- 'DESC',
- ],
- ],
- 'category' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'image',
- 'video',
- 'audio',
- 'doc',
- 'app',
- 'zip',
- 'others',
- ],
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'file',
- 'folder',
- ],
- ],
- 'fields' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'thumbnail_processes' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- '$ref' => '#/components/schemas/ImageProcess',
- ],
- ],
+ 'user_id' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetFile' => [
- 'path' => '/v2/file/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDomain' => [
+ 'path' => '/v2/domain/get',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'domain_id',
- 'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -7255,132 +2629,32 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'url_expire_sec' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '10',
- 'maximum' => '14400',
- ],
- 'fields' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'thumbnail_processes' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- '$ref' => '#/components/schemas/ImageProcess',
- ],
- ],
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'domain_id' => ['type' => 'string', 'required' => true],
+ 'get_quota_used' => ['type' => 'boolean', 'required' => false],
+ 'fields' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DownloadFile' => [
- 'path' => '/v2/file/download',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetDomainQuota' => [
+ 'path' => '/v2/domain/get_quota',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
- ],
- 'consumes' => [
- 'application/x-www-form-urlencoded',
- ],
- 'produces' => [
- 'application/octet-stream',
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'domain_id',
- 'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'share_id',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'drive_id',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'file_id',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'image_thumbnail_process',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'video_thumbnail_process',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'office_thumbnail_process',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'parameters' => [],
],
- 'GetUploadUrl' => [
- 'path' => '/v2/file/get_upload_url',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDownloadUrl' => [
+ 'path' => '/v2/file/get_download_url',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7389,21 +2663,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7413,121 +2680,37 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'upload_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'part_info_list' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'part_number' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'parallel_sha1_ctx' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'h' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- 'part_offset' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- 'content_md5' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'content_type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'parallel_sha256_ctx' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'h' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- 'part_offset' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'share_id' => ['type' => 'string', 'required' => false],
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'file_name' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 1024],
+ 'expire_sec' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '115200'],
+ 'response_content_type' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListUploadedParts' => [
- 'path' => '/v2/file/list_uploaded_parts',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDrive' => [
+ 'path' => '/v2/drive/get',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7537,45 +2720,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'part_number_marker' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'upload_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'CompleteFile' => [
- 'path' => '/v2/file/complete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetFile' => [
+ 'path' => '/v2/file/get',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7584,21 +2738,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7608,35 +2755,25 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'upload_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'crc64_hash' => [
- 'type' => 'string',
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'url_expire_sec' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '14400'],
+ 'fields' => ['type' => 'string', 'required' => false],
+ 'thumbnail_processes' => [
+ 'type' => 'object',
'required' => false,
+ 'additionalProperties' => ['$ref' => '#/components/schemas/ImageProcess'],
],
+ 'share_id' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'MoveFile' => [
- 'path' => '/v2/file/move',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetGroup' => [
+ 'path' => '/v2/group/get',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7645,21 +2782,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7669,40 +2799,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'to_parent_file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'check_name_mode' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'ignore',
- 'auto_rename',
- 'refuse',
- ],
- ],
+ 'group_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'CopyFile' => [
- 'path' => '/v2/file/copy',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetIdentityToBenefitPkgMapping' => [
+ 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/get',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -7711,21 +2817,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7735,66 +2834,38 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'to_drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'to_parent_file_id' => [
+ 'identity_type' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['user'],
],
- 'auto_rename' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'identity_id' => ['type' => 'string', 'required' => true],
+ 'benefit_pkg_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetDownloadUrl' => [
- 'path' => '/v2/file/get_download_url',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetLinkInfo' => [
+ 'path' => '/v2/account/get_link_info',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7804,48 +2875,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_name' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 1,
- 'maxLength' => 1024,
- ],
- 'expire_sec' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '115200',
- ],
- 'response_content_type' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'type' => ['type' => 'string', 'required' => true],
+ 'identity' => ['type' => 'string', 'required' => true],
+ 'extra' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'FilePutUserTags' => [
- 'path' => '/v2/file/put_usertags',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetLinkInfoByUserId' => [
+ 'path' => '/v2/account/get_link_info_by_user_id',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'BearerToken' => [],
@@ -7854,21 +2895,14 @@
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7878,49 +2912,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'user_tags' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => true,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^[^#]+$',
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- 'pattern' => '^[^#]+$',
- ],
- ],
- ],
- 'minItems' => 1,
- 'maxItems' => 1000,
- ],
+ 'user_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'FileDeleteUserTags' => [
- 'path' => '/v2/file/delete_usertags',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetRevision' => [
+ 'path' => '/v2/file/revision/get',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'BearerToken' => [],
@@ -7929,21 +2930,14 @@
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7953,39 +2947,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'key_list' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^[^#]+$',
- ],
- 'minItems' => 1,
- 'maxItems' => 1000,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'revision_id' => ['type' => 'string', 'required' => true],
+ 'url_expire_sec' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'fields' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'VideoDRMLicense' => [
- 'path' => '/v2/file/video_drm_license',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetShareLink' => [
+ 'path' => '/v2/share_link/get',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7994,21 +2969,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8018,50 +2986,29 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drmType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'licenseRequest' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'share_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'DeleteRevision' => [
- 'path' => '/v2/file/revision/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetShareLinkByAnonymous' => [
+ 'path' => '/v2/share_link/get_by_anonymous',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
- ],
- [
- 'BearerToken' => [],
+ 'Anonymous' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8071,54 +3018,29 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'revision_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'share_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'UpdateRevision' => [
- 'path' => '/v2/file/revision/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetShareLinkToken' => [
+ 'path' => '/v2/share_link/get_share_token',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
- ],
- [
- 'BearerToken' => [],
+ 'Anonymous' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8128,39 +3050,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'revision_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'keep_forever' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'revision_description' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'share_id' => ['type' => 'string', 'required' => true],
+ 'share_pwd' => ['type' => 'string', 'required' => false],
+ 'expire_sec' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'RestoreRevision' => [
- 'path' => '/v2/file/revision/restore',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetStory' => [
+ 'path' => '/v2/image/get_story',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8169,21 +3070,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8193,31 +3087,23 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'revision_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'story_id' => ['type' => 'string', 'required' => true],
+ 'cover_image_thumbnail_process' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'cover_video_thumbnail_process' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'image_url_process' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'image_thumbnail_process' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'video_thumbnail_process' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'url_expire_sec' => ['type' => 'integer', 'format' => 'int64', 'deprecated' => true, 'required' => false, 'minimum' => '10', 'maximum' => '86400'],
],
],
],
],
],
- 'ListRevision' => [
- 'path' => '/v2/file/revision/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetTaskStatus' => [
+ 'path' => '/v2/image/get_task_status',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8226,21 +3112,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8250,65 +3129,33 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '200',
- ],
- 'fields' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'task_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetRevision' => [
- 'path' => '/v2/file/revision/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetUploadUrl' => [
+ 'path' => '/v2/file/get_upload_url',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8318,60 +3165,72 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'revision_id' => [
- 'type' => 'string',
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'share_id' => ['type' => 'string', 'required' => false],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'upload_id' => ['type' => 'string', 'required' => true],
+ 'part_info_list' => [
+ 'type' => 'array',
'required' => true,
- ],
- 'url_expire_sec' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'fields' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'part_number' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'parallel_sha1_ctx' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'h' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ 'part_offset' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ 'content_md5' => ['type' => 'string', 'required' => false],
+ 'content_type' => ['type' => 'string', 'required' => false],
+ 'parallel_sha256_ctx' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'h' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ 'part_offset' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
],
- 'ScanFile' => [
- 'path' => '/v2/file/scan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetUser' => [
+ 'path' => '/v2/user/get',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
+ 'AK' => [],
+ ],
+ [
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8381,58 +3240,32 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'fields' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'user_id' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListDelta' => [
- 'path' => '/v2/file/list_delta',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetVideoPreviewPlayInfo' => [
+ 'path' => '/v2/file/get_video_preview_play_info',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'BearerToken' => [],
],
+ [
+ 'AK' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8442,56 +3275,40 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'sync_root_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'cursor' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'share_id' => ['type' => 'string', 'required' => false],
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'category' => ['type' => 'string', 'required' => true],
+ 'template_id' => ['type' => 'string', 'required' => false],
+ 'get_without_url' => ['type' => 'boolean', 'required' => false],
+ 'url_expire_sec' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 're_transcode' => ['type' => 'boolean', 'required' => false],
+ 'get_master_url' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'DeltaGetLastCursor' => [
- 'path' => '/v2/file/get_last_cursor',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetVideoPreviewPlayMeta' => [
+ 'path' => '/v2/file/get_video_preview_play_meta',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
+ 'AK' => [],
+ ],
+ [
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -8501,47 +3318,35 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'sync_root_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'share_id' => ['type' => 'string', 'required' => false],
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'category' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'ListReceivedFile' => [
- 'path' => '/v2/file/list_received_file',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GroupUpdateName' => [
+ 'path' => '/v2/group/update_name',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'BearerToken' => [],
],
+ [
+ 'AK' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8549,50 +3354,34 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
'properties' => [
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'group_id' => ['type' => 'string', 'required' => true],
+ 'name' => ['type' => 'string'],
],
],
],
],
],
- 'ListMyGroupDrive' => [
- 'path' => '/v2/drive/list_my_group_drive',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ImportUser' => [
+ 'path' => '/v2/user/import',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
+ 'AK' => [],
+ ],
+ [
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8602,55 +3391,36 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'drive_name' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'authentication_type' => ['type' => 'string', 'required' => true],
+ 'identity' => ['type' => 'string', 'required' => true],
+ 'authentication_display_name' => ['type' => 'string', 'required' => false],
+ 'extra' => ['type' => 'string', 'required' => false],
+ 'nick_name' => ['type' => 'string', 'required' => true],
+ 'auto_create_drive' => ['type' => 'boolean', 'required' => false],
+ 'drive_total_size' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'parent_group_id' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'FileRemovePermission' => [
- 'path' => '/v2/file/remove_permission',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'InvestigateFile' => [
+ 'path' => '/v2/csi/investigate_file',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
- 'BearerToken' => [],
- ],
- [
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8658,31 +3428,17 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'member_list' => [
+ 'drive_file_ids' => [
'type' => 'array',
'required' => true,
'items' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'properties' => [
- 'identity' => [
- '$ref' => '#/components/schemas/Identity',
- 'required' => true,
- ],
- 'role_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
],
],
],
@@ -8691,14 +3447,10 @@
],
],
],
- 'FileAddPermission' => [
- 'path' => '/v2/file/add_permission',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'LinkAccount' => [
+ 'path' => '/v2/account/link',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'BearerToken' => [],
@@ -8707,21 +3459,14 @@
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8731,58 +3476,35 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'member_list' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- '$ref' => '#/components/schemas/FilePermissionMember',
- 'required' => false,
- ],
- ],
+ 'user_id' => ['type' => 'string', 'required' => true],
+ 'type' => ['type' => 'string', 'required' => true],
+ 'identity' => ['type' => 'string', 'required' => true],
+ 'extra' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'FileListPermission' => [
- 'path' => '/v2/file/list_permission',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListAddressGroups' => [
+ 'path' => '/v2/image/list_address_groups',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -8792,14 +3514,11 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'image_thumbnail_process' => ['type' => 'string', 'required' => false],
+ 'video_thumbnail_process' => ['type' => 'string', 'required' => false],
],
],
],
@@ -8807,12 +3526,8 @@
],
'ListAssignment' => [
'path' => '/v2/role/list_assignment',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8821,21 +3536,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -8845,59 +3553,32 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'manage_resource_type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'manage_resource_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'manage_resource_type' => ['type' => 'string', 'required' => true],
+ 'manage_resource_id' => ['type' => 'string', 'required' => true],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'AssignRole' => [
- 'path' => '/v2/role/assign',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDelta' => [
+ 'path' => '/v2/file/list_delta',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
- ],
- [
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -8907,60 +3588,29 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'identity' => [
- '$ref' => '#/components/schemas/Identity',
- 'required' => true,
- ],
- 'role_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'manage_resource_type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'manage_resource_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'sync_root_id' => ['type' => 'string', 'required' => false],
+ 'cursor' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'CancelAssignRole' => [
- 'path' => '/v2/role/cancel_assign',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDomains' => [
+ 'path' => '/v2/domain/list',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'domain_id',
- 'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -8968,58 +3618,35 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'identity' => [
- '$ref' => '#/components/schemas/Identity',
- 'required' => true,
- ],
- 'role_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'manage_resource_type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'manage_resource_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'parent_domain_id' => ['type' => 'string', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'service_code' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateShareLink' => [
- 'path' => '/v2/share_link/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDrive' => [
+ 'path' => '/v2/drive/list',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9029,125 +3656,39 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'share_all_files' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'file_id_list' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'user_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'share_pwd' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'expiration' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'share_name' => [
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'exclusiveMinimum' => true, 'maximum' => '100'],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'owner' => ['type' => 'string', 'required' => false],
+ 'owner_type' => [
'type' => 'string',
'required' => false,
- ],
- 'disable_preview' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'disable_save' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'disable_download' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'preview_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'save_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'download_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'require_login' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'office_editable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'creatable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'creatable_file_id_list' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'enum' => ['user', 'group'],
],
],
],
],
],
],
- 'UpdateShareLink' => [
- 'path' => '/v2/share_link/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListFacegroups' => [
+ 'path' => '/v2/image/list_facegroups',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9157,122 +3698,36 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'share_pwd' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'expiration' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'share_name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'preview_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'save_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'download_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'report_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'video_preview_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'disable_preview' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'disable_save' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'disable_download' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'preview_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'save_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'download_limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'office_editable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'remarks' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 128],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'return_total_count' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'SearchShareLink' => [
- 'path' => '/v2/share_link/search',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListFile' => [
+ 'path' => '/v2/file/list',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9282,75 +3737,63 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'marker' => [
+ 'share_id' => ['type' => 'string', 'required' => false],
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'parent_file_id' => ['type' => 'string', 'required' => true],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'status' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['uploading', 'available'],
],
- 'return_total_count' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'order_by' => [
+ 'order_by' => ['type' => 'string', 'required' => false],
+ 'order_direction' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['ASC', 'DESC'],
],
- 'order_direction' => [
+ 'category' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['image', 'video', 'audio', 'doc', 'app', 'zip', 'others'],
],
- 'creators' => [
- 'type' => 'array',
+ 'type' => [
+ 'type' => 'string',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'enum' => ['file', 'folder'],
],
- 'query' => [
- 'type' => 'string',
+ 'fields' => ['type' => 'string', 'required' => false],
+ 'thumbnail_processes' => [
+ 'type' => 'object',
'required' => false,
+ 'additionalProperties' => ['$ref' => '#/components/schemas/ImageProcess'],
],
],
],
],
],
],
- 'CancelShareLink' => [
- 'path' => '/v2/share_link/cancel',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListGroup' => [
+ 'path' => '/v2/group/list',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9360,46 +3803,33 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListShareLink' => [
- 'path' => '/v2/share_link/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListGroupMember' => [
+ 'path' => '/v2/group/list_member',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -9409,44 +3839,19 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'creator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'order_by' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'order_direction' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'include_cancelled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'group_id' => ['type' => 'string', 'required' => true],
+ 'member_type' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetShareLink' => [
- 'path' => '/v2/share_link/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListIdentityToBenefitPkgMapping' => [
+ 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/list',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -9455,21 +3860,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9479,43 +3877,38 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
+ 'identity_type' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['user'],
],
+ 'identity_id' => ['type' => 'string', 'required' => true],
+ 'include_expired' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'GetShareLinkByAnonymous' => [
- 'path' => '/v2/share_link/get_by_anonymous',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListMyDrives' => [
+ 'path' => '/v2/drive/list_my_drives',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'Anonymous' => [],
+ 'AK' => [],
+ ],
+ [
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9525,43 +3918,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'exclusiveMinimum' => true, 'maximum' => '100'],
+ 'marker' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetShareLinkToken' => [
- 'path' => '/v2/share_link/get_share_token',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListMyGroupDrive' => [
+ 'path' => '/v2/drive/list_my_group_drive',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'Anonymous' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -9571,55 +3951,31 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'share_pwd' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'expire_sec' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'drive_name' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'TrashFile' => [
- 'path' => '/v2/recyclebin/trash',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListReceivedFile' => [
+ 'path' => '/v2/file/list_received_file',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
- ],
- [
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9629,31 +3985,17 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'custom_trashed_at' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ClearRecyclebin' => [
- 'path' => '/v2/recyclebin/clear',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListRecyclebin' => [
+ 'path' => '/v2/recyclebin/list',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9662,21 +4004,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9686,23 +4021,24 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'fields' => ['type' => 'string', 'required' => false],
+ 'thumbnail_processes' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['$ref' => '#/components/schemas/ImageProcess'],
],
],
],
],
],
],
- 'ListRecyclebin' => [
- 'path' => '/v2/recyclebin/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListRevision' => [
+ 'path' => '/v2/file/revision/list',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9711,21 +4047,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9735,66 +4064,36 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'fields' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'thumbnail_processes' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- '$ref' => '#/components/schemas/ImageProcess',
- ],
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '200'],
+ 'fields' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'RestoreFile' => [
- 'path' => '/v2/recyclebin/restore',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListShareLink' => [
+ 'path' => '/v2/share_link/list',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9804,27 +4103,21 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'creator' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'order_by' => ['type' => 'string', 'required' => false],
+ 'order_direction' => ['type' => 'string', 'required' => false],
+ 'include_cancelled' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'UpdateFacegroup' => [
- 'path' => '/v2/image/update_facegroup_info',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListTags' => [
+ 'path' => '/v2/image/list_tags',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -9833,21 +4126,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9857,67 +4143,34 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'group_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'group_name' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 1,
- 'maxLength' => 128,
- ],
- 'group_cover_face_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'remarks' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 1,
- 'maxLength' => 128,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'image_thumbnail_process' => ['type' => 'string', 'required' => false],
+ 'video_thumbnail_process' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListTags' => [
- 'path' => '/v2/image/list_tags',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'ListUploadedParts' => [
+ 'path' => '/v2/file/list_uploaded_parts',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9927,31 +4180,21 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'image_thumbnail_process' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'video_thumbnail_process' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'part_number_marker' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'upload_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'share_id' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListAddressGroups' => [
- 'path' => '/v2/image/list_address_groups',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListUser' => [
+ 'path' => '/v2/user/list',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9960,21 +4203,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9984,40 +4220,17 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'image_thumbnail_process' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'video_thumbnail_process' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'ListFacegroups' => [
- 'path' => '/v2/image/list_facegroups',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'MoveFile' => [
+ 'path' => '/v2/file/move',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10026,21 +4239,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10050,65 +4256,36 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'remarks' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 1,
- 'maxLength' => 128,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'marker' => [
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'to_parent_file_id' => ['type' => 'string', 'required' => true],
+ 'check_name_mode' => [
'type' => 'string',
'required' => false,
- ],
- 'return_total_count' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'enum' => ['ignore', 'auto_rename', 'refuse'],
],
],
],
],
],
],
- 'SearchAddressGroups' => [
- 'path' => '/v2/image/search_address_groups',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'PunishFile' => [
+ 'path' => '/v2/csi/business/punish_file',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'body',
@@ -10118,40 +4295,10 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'tl_geo_point' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'br_geo_point' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'address_level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'address_names' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'minItems' => 1,
- 'maxItems' => 10,
- ],
- 'image_thumbnail_process' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'video_thumbnail_process' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'action_code' => ['type' => 'string', 'required' => true],
+ 'punish_reason' => ['type' => 'string', 'required' => false],
],
],
],
@@ -10159,12 +4306,8 @@
],
'RemoveFaceGroupFile' => [
'path' => '/v2/albums/unassign_facegroup_item',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'BearerToken' => [],
@@ -10173,21 +4316,14 @@
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10197,31 +4333,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'face_group_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'face_group_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'CreateStory' => [
- 'path' => '/v2/image/create_story',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RemoveGroupMember' => [
+ 'path' => '/v2/group/remove_member',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10230,21 +4353,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10254,77 +4370,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'story_type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'TimeMemory',
- 'PeopleMemory',
- 'TagMemory',
- 'TravelMemory',
- ],
- ],
- 'story_sub_type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'story_name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'story_start_time' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'story_end_time' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'min_image_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- ],
- 'max_image_count' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- ],
- 'custom_labels' => [
- 'type' => 'object',
- 'deprecated' => true,
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'address' => [
- '$ref' => '#/components/schemas/Address',
- 'required' => false,
- ],
+ 'group_id' => ['type' => 'string', 'required' => true],
+ 'member_type' => ['type' => 'string', 'required' => true],
+ 'member_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'CreateCustomizedStory' => [
- 'path' => '/v2/image/create_customized_story',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RemoveStoryFiles' => [
+ 'path' => '/v2/image/remove_story_files',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10333,21 +4390,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10357,76 +4407,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_sub_type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_cover' => [
- 'type' => 'object',
- 'required' => true,
- 'properties' => [
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'revision_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'story_files' => [
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'story_id' => ['type' => 'string', 'required' => true],
+ 'files' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'revision_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'revision_id' => ['type' => 'string', 'required' => false],
],
],
- 'minItems' => 1,
- ],
- 'custom_labels' => [
- 'type' => 'object',
- 'deprecated' => true,
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'maxItems' => 100,
],
],
],
],
],
],
- 'SearchStories' => [
- 'path' => '/v2/image/find_stories',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RestoreFile' => [
+ 'path' => '/v2/recyclebin/restore',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10435,21 +4439,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10459,139 +4456,17 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'story_type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'story_name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'story_start_time_range' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'start' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'end' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'story_end_time_range' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'start' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'end' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'create_time_range' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'start' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'end' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'face_group_ids' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'custom_labels' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'with_empty_stories' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'marker' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'sort' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'CreateTime',
- 'StoryName',
- 'StoryStartTime',
- 'StoryEndTime',
- ],
- ],
- 'order' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'asc',
- 'desc',
- ],
- ],
- 'cover_image_thumbnail_process' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'cover_video_thumbnail_process' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'url_expire_sec' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'deprecated' => true,
- 'required' => false,
- 'minimum' => '10',
- 'maximum' => '86400',
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetStory' => [
- 'path' => '/v2/image/get_story',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RestoreRevision' => [
+ 'path' => '/v2/file/revision/restore',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10600,21 +4475,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10624,83 +4492,31 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'cover_image_thumbnail_process' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'cover_video_thumbnail_process' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'image_url_process' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'image_thumbnail_process' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'video_thumbnail_process' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'url_expire_sec' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'deprecated' => true,
- 'required' => false,
- 'minimum' => '10',
- 'maximum' => '86400',
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'revision_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'UpdateStory' => [
- 'path' => '/v2/image/update_story',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ScanFile' => [
+ 'path' => '/v2/file/scan',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
- ],
- [
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10710,53 +4526,19 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'custom_labels' => [
- 'type' => 'object',
- 'deprecated' => true,
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'cover' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'file_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'revision_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'fields' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DeleteStory' => [
- 'path' => '/v2/image/delete_story',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SearchAddressGroups' => [
+ 'path' => '/v2/image/search_address_groups',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10765,21 +4547,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10789,27 +4564,58 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_id' => [
- 'type' => 'string',
- 'required' => true,
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'tl_geo_point' => ['type' => 'string', 'required' => false],
+ 'br_geo_point' => ['type' => 'string', 'required' => false],
+ 'address_level' => ['type' => 'string', 'required' => false],
+ 'address_names' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'minItems' => 1,
+ 'maxItems' => 10,
],
+ 'image_thumbnail_process' => ['type' => 'string', 'required' => false],
+ 'video_thumbnail_process' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'AddStoryFiles' => [
- 'path' => '/v2/image/add_story_files',
- 'methods' => [
- 'post',
+ 'SearchDomains' => [
+ 'path' => '/v2/domain/search',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ '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' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'order_by' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
+ ],
+ 'SearchDrive' => [
+ 'path' => '/v2/drive/search',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10818,21 +4624,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10842,46 +4641,24 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_id' => [
+ 'drive_name' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'exclusiveMinimum' => true, 'maximum' => '100'],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'owner' => ['type' => 'string', 'required' => false],
+ 'owner_type' => [
'type' => 'string',
- 'required' => true,
- ],
- 'files' => [
- 'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'revision_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 100,
+ 'enum' => ['user', 'group'],
],
],
],
],
],
],
- 'RemoveStoryFiles' => [
- 'path' => '/v2/image/remove_story_files',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SearchFile' => [
+ 'path' => '/v2/file/search',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10890,21 +4667,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10914,69 +4684,48 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'story_id' => [
+ 'drive_id' => ['type' => 'string', 'required' => false],
+ 'query' => ['type' => 'string', 'required' => true, 'maxLength' => 4096],
+ 'order_by' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['name', 'type', 'created_at', 'updated_at', 'size', 'image_time', 'last_access_at', 'custom_type', 'custom_field_1', 'custom_field_2', 'image_overall_score'],
],
- 'files' => [
- 'type' => 'array',
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'return_total_count' => ['type' => 'boolean', 'required' => false],
+ 'recursive' => ['type' => 'boolean', 'required' => false],
+ 'thumbnail_processes' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'revision_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 100,
+ 'additionalProperties' => ['$ref' => '#/components/schemas/ImageProcess'],
],
+ 'fields' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateSimilarImageClusterTask' => [
- 'path' => '/v2/image/create_similar_image_cluster_task',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SearchShareLink' => [
+ 'path' => '/v2/share_link/search',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10986,23 +4735,26 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'return_total_count' => ['type' => 'boolean', 'required' => false],
+ 'order_by' => ['type' => 'string', 'required' => false],
+ 'order_direction' => ['type' => 'string', 'required' => false],
+ 'creators' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'query' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetTaskStatus' => [
- 'path' => '/v2/image/get_task_status',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SearchSimilarImageClusters' => [
+ 'path' => '/v2/image/query_similar_image_clusters',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11011,21 +4763,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11035,27 +4780,24 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'task_id' => [
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '100'],
+ 'order' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['desc', 'asc'],
],
+ 'image_thumbnail_process' => ['type' => 'string', 'deprecated' => true, 'required' => false],
],
],
],
],
],
- 'SearchSimilarImageClusters' => [
- 'path' => '/v2/image/query_similar_image_clusters',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SearchStories' => [
+ 'path' => '/v2/image/find_stories',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11064,21 +4806,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11088,70 +4823,81 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'story_id' => ['type' => 'string', 'required' => false],
+ 'story_type' => ['type' => 'string', 'required' => false],
+ 'story_name' => ['type' => 'string', 'required' => false],
+ 'story_start_time_range' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'start' => ['type' => 'string', 'required' => false],
+ 'end' => ['type' => 'string', 'required' => false],
+ ],
],
- 'marker' => [
- 'type' => 'string',
+ 'story_end_time_range' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'start' => ['type' => 'string', 'required' => false],
+ 'end' => ['type' => 'string', 'required' => false],
+ ],
],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'create_time_range' => [
+ 'type' => 'object',
'required' => false,
- 'minimum' => '0',
- 'maximum' => '100',
+ 'properties' => [
+ 'start' => ['type' => 'string', 'required' => false],
+ 'end' => ['type' => 'string', 'required' => false],
+ ],
],
- 'order' => [
+ 'face_group_ids' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'custom_labels' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'with_empty_stories' => ['type' => 'boolean', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'sort' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'desc',
- 'asc',
- ],
+ 'enum' => ['CreateTime', 'StoryName', 'StoryStartTime', 'StoryEndTime'],
],
- 'image_thumbnail_process' => [
+ 'order' => [
'type' => 'string',
- 'deprecated' => true,
'required' => false,
+ 'enum' => ['asc', 'desc'],
],
+ 'cover_image_thumbnail_process' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'cover_video_thumbnail_process' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'url_expire_sec' => ['type' => 'integer', 'format' => 'int64', 'deprecated' => true, 'required' => false, 'minimum' => '10', 'maximum' => '86400'],
],
],
],
],
],
- 'GetAsyncTask' => [
- 'path' => '/v2/async_task/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SearchUser' => [
+ 'path' => '/v2/user/search',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11161,23 +4907,79 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'async_task_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'nick_name' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 128],
+ 'nick_name_for_fuzzy' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 128],
+ 'user_name' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 128],
+ 'phone' => ['type' => 'string', 'required' => false],
+ 'email' => ['type' => 'string', 'required' => false],
+ 'status' => ['type' => 'string', 'required' => false],
+ 'role' => ['type' => 'string', 'required' => false],
+ 'marker' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'GetVideoPreviewPlayMeta' => [
- 'path' => '/v2/file/get_video_preview_play_meta',
- 'methods' => [
- 'post',
+ 'Token' => [
+ 'path' => '/v2/oauth/token',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'Anonymous' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/x-www-form-urlencoded'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'domain_id',
+ 'in' => 'host',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'grant_type',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'code',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'redirect_uri',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'client_id',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'client_secret',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'refresh_token',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'assertion',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'TrashFile' => [
+ 'path' => '/v2/recyclebin/trash',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11186,21 +4988,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11210,58 +5005,33 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'category' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetVideoPreviewPlayInfo' => [
- 'path' => '/v2/file/get_video_preview_play_info',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UnLinkAccount' => [
+ 'path' => '/v2/account/unlink',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
[
- 'AK' => [],
+ 'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11271,57 +5041,53 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'share_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'drive_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'category' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'template_id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'get_without_url' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'url_expire_sec' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 're_transcode' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'get_master_url' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'user_id' => ['type' => 'string', 'required' => true],
+ 'type' => ['type' => 'string', 'required' => true],
+ 'identity' => ['type' => 'string', 'required' => true],
+ 'extra' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateIdentityToBenefitPkgMapping' => [
- 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/create',
- 'methods' => [
- 'post',
+ 'UpdateDomain' => [
+ 'path' => '/v2/domain/update',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
- 'http',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'domain_id' => ['type' => 'string', 'required' => true],
+ 'domain_name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'init_drive_enable' => ['type' => 'boolean', 'required' => false],
+ 'init_drive_size' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'user_count_quota' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'size_quota' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'published_app_access_strategy' => ['$ref' => '#/components/schemas/AppAccessStrategy', 'required' => false],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateDrive' => [
+ 'path' => '/v2/drive/update',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11330,21 +5096,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11354,45 +5113,25 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'identity_type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'user',
- ],
- ],
- 'identity_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'benefit_pkg_id' => [
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'drive_name' => ['type' => 'string', 'required' => false, 'maxLength' => 128],
+ 'description' => ['type' => 'string', 'required' => false, 'maxLength' => 1024],
+ 'status' => [
'type' => 'string',
- 'required' => true,
- ],
- 'amount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'expire_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
'required' => false,
+ 'enum' => ['enabled', 'disabled'],
],
+ 'total_size' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'owner' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'UpdateIdentityToBenefitPkgMapping' => [
- 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'UpdateFacegroup' => [
+ 'path' => '/v2/image/update_facegroup_info',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11401,21 +5140,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11425,45 +5157,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'identity_type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'user',
- ],
- ],
- 'identity_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'benefit_pkg_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'amount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'expire_time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'group_id' => ['type' => 'string', 'required' => true],
+ 'group_name' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 128],
+ 'group_cover_face_id' => ['type' => 'string', 'required' => false],
+ 'remarks' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 128],
],
],
],
],
],
- 'GetIdentityToBenefitPkgMapping' => [
- 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'UpdateFile' => [
+ 'path' => '/v2/file/update',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11472,21 +5179,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11496,58 +5196,49 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'identity_type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'user',
- ],
- ],
- 'identity_id' => [
- 'type' => 'string',
- 'required' => true,
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'name' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 102],
+ 'description' => ['type' => 'string', 'required' => false, 'maxLength' => 1024],
+ 'labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 100,
],
- 'benefit_pkg_id' => [
+ 'check_name_mode' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['ignore', 'auto_rename', 'refuse'],
],
+ 'local_modified_at' => ['type' => 'string', 'required' => false],
+ 'hidden' => ['type' => 'boolean', 'required' => false],
+ 'starred' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'ListIdentityToBenefitPkgMapping' => [
- 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'UpdateGroup' => [
+ 'path' => '/v2/group/update',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'BearerToken' => [],
],
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11557,55 +5248,34 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'identity_type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'user',
- ],
- ],
- 'identity_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'include_expired' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'group_id' => ['type' => 'string', 'required' => true],
+ 'group_name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'InvestigateFile' => [
- 'path' => '/v2/csi/investigate_file',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateIdentityToBenefitPkgMapping' => [
+ 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/update',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11615,58 +5285,40 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_file_ids' => [
- 'type' => 'array',
+ 'identity_type' => [
+ 'type' => 'string',
'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'enum' => ['user'],
],
+ 'identity_id' => ['type' => 'string', 'required' => true],
+ 'benefit_pkg_id' => ['type' => 'string', 'required' => true],
+ 'amount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'expire_time' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'CsiGetFileInfo' => [
- 'path' => '/v2/csi/get_file_info',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'UpdateRevision' => [
+ 'path' => '/v2/file/revision/update',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11676,34 +5328,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'url_expire_sec' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '10',
- 'maximum' => '14400',
- ],
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'file_id' => ['type' => 'string', 'required' => true],
+ 'revision_id' => ['type' => 'string', 'required' => true],
+ 'keep_forever' => ['type' => 'boolean', 'required' => false],
+ 'revision_description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'Batch' => [
- 'path' => '/v2/batch',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateShareLink' => [
+ 'path' => '/v2/share_link/update',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'BearerToken' => [],
@@ -11712,21 +5350,14 @@
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11736,59 +5367,33 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'resource' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'requests' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'method' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'url' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'body' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- 'headers' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
+ 'share_id' => ['type' => 'string', 'required' => true],
+ 'share_pwd' => ['type' => 'string', 'required' => false],
+ 'expiration' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'share_name' => ['type' => 'string', 'required' => false],
+ 'status' => ['type' => 'string', 'required' => false],
+ 'preview_count' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'save_count' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'download_count' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'report_count' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'video_preview_count' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'disable_preview' => ['type' => 'boolean', 'required' => false],
+ 'disable_save' => ['type' => 'boolean', 'required' => false],
+ 'disable_download' => ['type' => 'boolean', 'required' => false],
+ 'preview_limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'save_limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'download_limit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'office_editable' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'AuditLogExport' => [
- 'path' => '/v2/audit_log/export',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateStory' => [
+ 'path' => '/v2/image/update_story',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11797,21 +5402,14 @@
'BearerToken' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11821,81 +5419,48 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'query' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'order_by' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'file_name' => [
- 'type' => 'string',
+ 'drive_id' => ['type' => 'string', 'required' => true],
+ 'story_id' => ['type' => 'string', 'required' => true],
+ 'story_name' => ['type' => 'string', 'required' => false],
+ 'custom_labels' => [
+ 'type' => 'object',
+ 'deprecated' => true,
'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
- 'language' => [
- 'type' => 'string',
+ 'cover' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'file_id' => ['type' => 'string', 'required' => false],
+ 'revision_id' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
],
],
- 'GetDomainQuota' => [
- 'path' => '/v2/domain/get_quota',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateUser' => [
+ 'path' => '/v2/user/update',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [],
- ],
- 'GroupUpdateName' => [
- 'path' => '/v2/group/update_name',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
'BearerToken' => [],
],
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11903,48 +5468,65 @@
'style' => 'json',
'schema' => [
'type' => 'object',
+ 'required' => false,
'properties' => [
- 'group_id' => [
+ 'user_id' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 1024],
+ 'nick_name' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 128],
+ 'status' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['enabled', 'disabled'],
],
- 'name' => [
+ 'role' => [
'type' => 'string',
+ 'required' => false,
+ 'enum' => ['user', 'admin', 'superadmin', 'subdomain_admin', 'subdomain_super_admin'],
+ ],
+ 'avatar' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 1024],
+ 'phone' => ['type' => 'string', 'required' => false],
+ 'email' => ['type' => 'string', 'required' => false],
+ 'user_data' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'group_info_list' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'group_id' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
],
],
- 'PunishFile' => [
- 'path' => '/v2/csi/business/punish_file',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'VideoDRMLicense' => [
+ 'path' => '/v2/file/video_drm_license',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'domain_id',
'in' => 'host',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11954,22 +5536,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'drive_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'file_id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'action_code' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'punish_reason' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'drmType' => ['type' => 'string', 'required' => true],
+ 'licenseRequest' => ['type' => 'string', 'required' => false],
],
],
],
@@ -11977,49 +5545,16 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'cn-shenzhen.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cn-beijing.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cn-zhangjiakou.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'cn-hangzhou.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'cn-shanghai.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'ap-southeast-1.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'cn-guangzhou.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'cn-hongkong.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'us-west-1.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'eu-central-1.admin.aliyunpds.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'ap-southeast-5.admin.aliyunpds.com',
- ],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-zhangjiakou.admin.aliyunpds.com', 'endpoint' => 'cn-zhangjiakou.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-shenzhen.admin.aliyunpds.com', 'endpoint' => 'cn-shenzhen.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-shanghai.admin.aliyunpds.com', 'endpoint' => 'cn-shanghai.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-hongkong.admin.aliyunpds.com', 'endpoint' => 'cn-hongkong.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-hangzhou.admin.aliyunpds.com', 'endpoint' => 'cn-hangzhou.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-guangzhou.admin.aliyunpds.com', 'endpoint' => 'cn-guangzhou.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-beijing.admin.aliyunpds.com', 'endpoint' => 'cn-beijing.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ap-southeast-5.admin.aliyunpds.com', 'endpoint' => 'ap-southeast-5.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ap-southeast-1.admin.aliyunpds.com', 'endpoint' => 'ap-southeast-1.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'eu-central-1.admin.aliyunpds.com', 'endpoint' => 'eu-central-1.admin.aliyunpds.com', 'vpc' => ''],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'us-west-1.admin.aliyunpds.com', 'endpoint' => 'us-west-1.admin.aliyunpds.com', 'vpc' => ''],
],
];