'1.0', 'info' => ['style' => 'ROA', 'product' => 'pds', 'version' => '2022-03-01'], 'components' => [ 'schemas' => [ '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'], ], ], 'Address' => [ 'type' => 'object', 'properties' => [ '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'], ], ], 'AddStoryFile' => [ 'type' => 'object', 'properties' => [ 'file_id' => ['type' => 'string'], 'revision_id' => ['type' => 'string'], 'error_code' => ['type' => 'string'], 'error_message' => ['type' => 'string'], ], ], 'AppAccessStrategy' => [ 'type' => 'object', 'properties' => [ 'effect' => ['type' => 'string'], 'except_app_id_list' => [ 'type' => 'array', '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'], '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'], ], 'permission' => [ 'type' => 'object', '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'], ], ], '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'], ], ], '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'], ], ], '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_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'], ], ], '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], ], ], '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'], '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'], 'thumbnail_urls' => [ 'type' => 'object', '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'], 'dir_size_info' => [ 'type' => 'object', 'properties' => [ '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'], ], ], 'FilePermissionMember' => [ 'type' => 'object', 'properties' => [ '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'], ], ], ], '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'], 'is_sync' => ['type' => 'boolean'], ], ], 'Identity' => [ 'type' => 'object', 'properties' => [ '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'], 'delivery_info_list' => [ 'type' => 'array', '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'], 'image_tags' => [ 'type' => 'array', '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'], ], ], 'ImageProcess' => [ 'type' => 'object', 'properties' => [ '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'], ], ], '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'], ], ], 'InvestigationInfo' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'integer', 'format' => 'int64'], 'suggestion' => ['type' => 'string'], 'video_detail' => [ 'type' => 'object', 'properties' => [ 'block_frames' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'rate' => ['type' => 'number', 'format' => 'double'], 'offset' => ['type' => 'integer', 'format' => 'int64'], 'label' => ['type' => 'string'], ], ], ], ], ], ], ], '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'], ], ], 'Permission' => [ 'type' => 'object', 'properties' => [ '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'], ], ], ], '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'], ], ], ], 'PermissionCondition' => [ 'type' => 'object', 'properties' => [ 'ip_equals' => [ 'type' => 'object', 'properties' => [ 'client_ip' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'ip_not_equals' => [ 'type' => 'object', 'properties' => [ 'client_ip' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'string_like' => [ 'type' => 'object', 'properties' => [ 'vpc_id' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'string_not_like' => [ 'type' => 'object', 'properties' => [ 'vpc_id' => [ 'type' => 'array', 'items' => ['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_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'], 'permissions' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Permission'], ], 'status' => ['type' => 'string'], ], ], 'ShareLink' => [ 'type' => 'object', 'properties' => [ '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'], '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'], 'face_group_ids' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'cover_file_id' => ['type' => 'string'], 'cover_file_thumbnail_url' => ['type' => 'string'], 'story_file_list' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/File'], ], 'custom_id' => ['type' => 'string'], 'custom_labels' => [ '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'], '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_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'], 'exist_link' => [ 'type' => 'array', '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'], 'items' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/UncompressedFileInfo'], ], ], ], 'UploadFormInfo' => [ 'type' => 'object', 'properties' => [ 'endpoint' => ['type' => 'string'], 'form_data' => [ 'type' => 'object', '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'], 'parallel_sha1_ctx' => [ 'type' => 'object', 'properties' => [ 'h' => [ 'type' => 'array', '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'], ], ], ], ], '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'], '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'], ], ], ], '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'], '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'], ], 'permission' => [ 'type' => 'object', 'additionalProperties' => ['$ref' => '#/components/schemas/IDPermission'], ], 'parent_group' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/BaseDriveResponse'], ], 'account' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/AccountLinkInfo'], ], ], ], 'UserTag' => [ 'type' => 'object', 'properties' => [ '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'], ], ], 'VideoMediaMetadata' => [ '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'], 'video_media_video_stream' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/VideoMediaVideoStream'], ], 'video_media_audio_stream' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/VideoMediaAudioStream'], ], ], ], 'VideoMediaVideoStream' => [ 'type' => 'object', 'properties' => [ 'duration' => ['type' => 'string'], 'bitrate' => ['type' => 'string'], 'code_name' => ['type' => 'string'], 'frame_count' => ['type' => 'string'], ], ], 'VideoPreviewPlayInfo' => [ 'type' => 'object', 'properties' => [ 'category' => ['type' => 'string'], 'meta' => [ 'type' => 'object', 'properties' => [ 'duration' => ['type' => 'number', 'format' => 'double'], 'width' => ['type' => 'integer', 'format' => 'int64'], 'height' => ['type' => 'integer', 'format' => 'int64'], ], ], 'live_transcoding_task_list' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'template_id' => ['type' => 'string'], 'status' => ['type' => 'string'], 'url' => ['type' => 'string'], 'keep_original_resolution' => ['type' => 'boolean'], 'preview_url' => ['type' => 'string'], ], ], ], 'quick_video_list' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'template_id' => ['type' => 'string'], 'status' => ['type' => 'string'], 'url' => ['type' => 'string'], 'preview_url' => ['type' => 'string'], ], ], ], 'offline_video_transcoding_list' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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'], ], 'quick_video_subtitle_list' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/VideoPreviewSubtitleInfo'], ], 'offline_video_transcoding_subtitle_list' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/VideoPreviewSubtitleInfo'], ], 'master_url' => ['type' => 'string'], ], ], 'VideoPreviewPlayMeta' => [ 'type' => 'object', 'properties' => [ 'meta' => [ 'type' => 'object', 'properties' => [ 'duration' => ['type' => 'number', 'format' => 'double'], 'width' => ['type' => 'integer', 'format' => 'int64'], 'height' => ['type' => 'integer', 'format' => 'int64'], ], ], 'live_transcoding_task_list' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'template_id' => ['type' => 'string'], 'status' => ['type' => 'string'], 'keep_original_resolution' => ['type' => 'boolean'], ], ], ], 'category' => ['type' => 'string'], 'quick_video_list' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'template_id' => ['type' => 'string'], 'status' => ['type' => 'string'], ], ], ], 'offline_video_transcoding_list' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'template_id' => ['type' => 'string'], 'status' => ['type' => 'string'], 'keep_original_resolution' => ['type' => 'string'], ], ], ], ], ], 'VideoPreviewSubtitleInfo' => [ 'type' => 'object', 'properties' => [ 'language' => ['type' => 'string'], 'status' => ['type' => 'string'], 'url' => ['type' => 'string'], ], ], ], ], 'apis' => [ 'AddGroupMember' => [ 'path' => '/v2/group/add_member', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'group_id' => ['type' => 'string', 'required' => true], 'member_type' => ['type' => 'string', 'required' => true], 'member_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'AddStoryFiles' => [ 'path' => '/v2/image/add_story_files', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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, ], ], ], ], ], ], 'ArchiveFiles' => [ 'path' => '/v2/file/archive_files', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'share_id' => ['type' => 'string', 'required' => false], 'drive_id' => ['type' => 'string', 'required' => false], 'file_ids' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => true], ], 'name' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'AssignRole' => [ 'path' => '/v2/role/assign', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'AuditLogExport' => [ 'path' => '/v2/audit_log/export', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'query' => ['type' => 'string', 'required' => false], 'order_by' => ['type' => 'string', 'required' => false], 'file_name' => ['type' => 'string', 'required' => false], 'language' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'Authorize' => [ 'path' => '/v2/oauth/authorize', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'Anonymous' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/octet-stream'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'domain_id', 'in' => 'host', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'client_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'redirect_uri', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'scope', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'response_type', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'state', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'login_type', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'hide_consent', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'Batch' => [ 'path' => '/v2/batch', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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'], ], ], ], ], ], ], ], ], ], 'CancelAssignRole' => [ 'path' => '/v2/role/cancel_assign', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'CancelShareLink' => [ 'path' => '/v2/share_link/cancel', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'share_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ClearRecyclebin' => [ 'path' => '/v2/recyclebin/clear', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'CompleteFile' => [ 'path' => '/v2/file/complete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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', 'required' => false], ], ], ], ], ], 'CopyFile' => [ 'path' => '/v2/file/copy', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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' => ['type' => 'string', 'required' => true], 'auto_rename' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'CreateCustomizedStory' => [ 'path' => '/v2/image/create_customized_story', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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'], ], ], ], ], ], ], 'CreateDomain' => [ 'path' => '/v2/domain/create', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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' => [], ], ], ], ], ], ], 'CreateDrive' => [ 'path' => '/v2/drive/create', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'CreateFile' => [ 'path' => '/v2/file/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], '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'], ], ], ], ], ], 'CreateGroup' => [ 'path' => '/v2/group/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'CreateIdentityToBenefitPkgMapping' => [ 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/create', 'methods' => ['post'], 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'CreateShareLink' => [ 'path' => '/v2/share_link/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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' => ['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], ], ], ], ], ], ], 'CreateSimilarImageClusterTask' => [ 'path' => '/v2/image/create_similar_image_cluster_task', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'CreateStory' => [ 'path' => '/v2/image/create_story', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'CreateUser' => [ 'path' => '/v2/user/create', 'methods' => ['post'], 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'CsiGetFileInfo' => [ 'path' => '/v2/csi/get_file_info', 'methods' => ['post'], 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], ], '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', 'schema' => [ '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'], ], ], ], ], ], 'DeleteDomain' => [ 'path' => '/v2/domain/delete', 'methods' => ['post'], 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], ], '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' => false], ], ], ], ], ], 'DeleteDrive' => [ 'path' => '/v2/drive/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'DeleteFile' => [ 'path' => '/v2/file/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true, 'pattern' => '^[0-9]*$'], 'file_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'DeleteGroup' => [ 'path' => '/v2/group/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'group_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'DeleteRevision' => [ 'path' => '/v2/file/revision/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'file_id' => ['type' => 'string', 'required' => true], 'revision_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'DeleteStory' => [ 'path' => '/v2/image/delete_story', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'story_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'DeleteUser' => [ 'path' => '/v2/user/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'user_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'DeltaGetLastCursor' => [ 'path' => '/v2/file/get_last_cursor', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'sync_root_id' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'DownloadFile' => [ 'path' => '/v2/file/download', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/octet-stream'], '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], ], ], ], 'FileAddPermission' => [ 'path' => '/v2/file/add_permission', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], ], 'FileDeleteUserTags' => [ 'path' => '/v2/file/delete_usertags', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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, ], ], ], ], ], ], 'FileListPermission' => [ 'path' => '/v2/file/list_permission', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'file_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'FilePutUserTags' => [ 'path' => '/v2/file/put_usertags', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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, ], ], ], ], ], ], 'FileRemovePermission' => [ 'path' => '/v2/file/remove_permission', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'file_id' => ['type' => 'string', 'required' => true], 'member_list' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'identity' => ['$ref' => '#/components/schemas/Identity', 'required' => true], 'role_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], ], ], ], 'GetAsyncTask' => [ 'path' => '/v2/async_task/get', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'async_task_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetDefaultDrive' => [ 'path' => '/v2/drive/get_default_drive', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'user_id' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'GetDomain' => [ 'path' => '/v2/domain/get', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'domain_id' => ['type' => 'string', 'required' => true], 'get_quota_used' => ['type' => 'boolean', 'required' => false], 'fields' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'GetDomainQuota' => [ 'path' => '/v2/domain/get_quota', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'GetDownloadUrl' => [ 'path' => '/v2/file/get_download_url', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'GetDrive' => [ 'path' => '/v2/drive/get', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetFile' => [ 'path' => '/v2/file/get', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'GetGroup' => [ 'path' => '/v2/group/get', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'group_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetIdentityToBenefitPkgMapping' => [ 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/get', 'methods' => ['post'], 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'GetLinkInfo' => [ 'path' => '/v2/account/get_link_info', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'type' => ['type' => 'string', 'required' => true], 'identity' => ['type' => 'string', 'required' => true], 'extra' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'GetLinkInfoByUserId' => [ 'path' => '/v2/account/get_link_info_by_user_id', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'user_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetRevision' => [ 'path' => '/v2/file/revision/get', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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], ], ], ], ], ], 'GetShareLink' => [ 'path' => '/v2/share_link/get', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'share_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetShareLinkByAnonymous' => [ 'path' => '/v2/share_link/get_by_anonymous', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'Anonymous' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'share_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetShareLinkToken' => [ 'path' => '/v2/share_link/get_share_token', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'Anonymous' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'GetStory' => [ 'path' => '/v2/image/get_story', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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'], ], ], ], ], ], 'GetTaskStatus' => [ 'path' => '/v2/image/get_task_status', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'task_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetUploadUrl' => [ 'path' => '/v2/file/get_upload_url', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], ], ], ], ], ], 'GetUser' => [ 'path' => '/v2/user/get', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'user_id' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'GetVideoPreviewPlayInfo' => [ 'path' => '/v2/file/get_video_preview_play_info', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'GetVideoPreviewPlayMeta' => [ 'path' => '/v2/file/get_video_preview_play_meta', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'GroupUpdateName' => [ 'path' => '/v2/group/update_name', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'properties' => [ 'group_id' => ['type' => 'string', 'required' => true], 'name' => ['type' => 'string'], ], ], ], ], ], 'ImportUser' => [ 'path' => '/v2/user/import', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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' => ['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], ], ], ], ], ], 'InvestigateFile' => [ 'path' => '/v2/csi/investigate_file', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_file_ids' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'file_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], ], ], ], 'LinkAccount' => [ 'path' => '/v2/account/link', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListAddressGroups' => [ 'path' => '/v2/image/list_address_groups', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListAssignment' => [ 'path' => '/v2/role/list_assignment', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListDelta' => [ 'path' => '/v2/file/list_delta', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListDomains' => [ 'path' => '/v2/domain/list', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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], ], ], ], ], ], 'ListDrive' => [ 'path' => '/v2/drive/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, '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'], ], ], ], ], ], ], 'ListFacegroups' => [ 'path' => '/v2/image/list_facegroups', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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' => ['type' => 'string', 'required' => false], 'return_total_count' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'ListFile' => [ 'path' => '/v2/file/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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'], ], ], ], ], ], ], 'ListGroup' => [ 'path' => '/v2/group/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'marker' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ListGroupMember' => [ 'path' => '/v2/group/list_member', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'group_id' => ['type' => 'string', 'required' => true], 'member_type' => ['type' => 'string', 'required' => false], 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'marker' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ListIdentityToBenefitPkgMapping' => [ 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/list', 'methods' => ['post'], 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListMyDrives' => [ 'path' => '/v2/drive/list_my_drives', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'exclusiveMinimum' => true, 'maximum' => '100'], 'marker' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ListMyGroupDrive' => [ 'path' => '/v2/drive/list_my_group_drive', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'marker' => ['type' => 'string', 'required' => false], 'drive_name' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ListReceivedFile' => [ 'path' => '/v2/file/list_received_file', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'marker' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ListRecyclebin' => [ 'path' => '/v2/recyclebin/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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'], ], ], ], ], ], ], 'ListRevision' => [ 'path' => '/v2/file/revision/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListShareLink' => [ 'path' => '/v2/share_link/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListTags' => [ 'path' => '/v2/image/list_tags', 'methods' => ['post'], 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListUploadedParts' => [ 'path' => '/v2/file/list_uploaded_parts', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'ListUser' => [ 'path' => '/v2/user/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'marker' => ['type' => 'string', 'required' => false], 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], 'MoveFile' => [ 'path' => '/v2/file/move', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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'], ], ], ], ], ], ], 'PunishFile' => [ 'path' => '/v2/csi/business/punish_file', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'domain_id', 'in' => 'host', 'schema' => ['type' => 'string'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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], ], ], ], ], ], 'RemoveFaceGroupFile' => [ 'path' => '/v2/albums/unassign_facegroup_item', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'face_group_id' => ['type' => 'string', 'required' => true], 'file_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'RemoveGroupMember' => [ 'path' => '/v2/group/remove_member', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'group_id' => ['type' => 'string', 'required' => true], 'member_type' => ['type' => 'string', 'required' => true], 'member_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'RemoveStoryFiles' => [ 'path' => '/v2/image/remove_story_files', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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, ], ], ], ], ], ], 'RestoreFile' => [ 'path' => '/v2/recyclebin/restore', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'file_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'RestoreRevision' => [ 'path' => '/v2/file/revision/restore', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'file_id' => ['type' => 'string', 'required' => true], 'revision_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ScanFile' => [ 'path' => '/v2/file/scan', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'SearchAddressGroups' => [ 'path' => '/v2/image/search_address_groups', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'SearchDomains' => [ 'path' => '/v2/domain/search', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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'], ], ], ], ], ], ], 'SearchFile' => [ 'path' => '/v2/file/search', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'SearchShareLink' => [ 'path' => '/v2/share_link/search', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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], ], ], ], ], ], 'SearchSimilarImageClusters' => [ 'path' => '/v2/image/query_similar_image_clusters', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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' => false, 'enum' => ['desc', 'asc'], ], 'image_thumbnail_process' => ['type' => 'string', 'deprecated' => true, 'required' => false], ], ], ], ], ], 'SearchStories' => [ 'path' => '/v2/image/find_stories', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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'], ], ], ], ], ], 'SearchUser' => [ 'path' => '/v2/user/search', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'Token' => [ 'path' => '/v2/oauth/token', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'Anonymous' => [], ], ], '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' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drive_id' => ['type' => 'string', 'required' => true], 'file_id' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'UnLinkAccount' => [ 'path' => '/v2/account/unlink', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'UpdateDomain' => [ 'path' => '/v2/domain/update', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'UpdateFacegroup' => [ 'path' => '/v2/image/update_facegroup_info', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'UpdateFile' => [ 'path' => '/v2/file/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, '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' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], 'maxItems' => 100, ], 'check_name_mode' => [ 'type' => 'string', 'required' => false, 'enum' => ['ignore', 'auto_rename', 'refuse'], ], 'local_modified_at' => ['type' => 'string', 'required' => false], 'hidden' => ['type' => 'boolean', 'required' => false], 'starred' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'UpdateGroup' => [ 'path' => '/v2/group/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'group_id' => ['type' => 'string', 'required' => true], 'group_name' => ['type' => 'string', 'required' => false], 'description' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UpdateIdentityToBenefitPkgMapping' => [ 'path' => '/v2/benefit/identity_to_benefit_pkg_mapping/update', 'methods' => ['post'], 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'UpdateRevision' => [ 'path' => '/v2/file/revision/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'UpdateShareLink' => [ 'path' => '/v2/share_link/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], 'UpdateStory' => [ 'path' => '/v2/image/update_story', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], ], ], 'UpdateUser' => [ 'path' => '/v2/user/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ '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], '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], ], ], ], ], ], ], ], ], 'VideoDRMLicense' => [ 'path' => '/v2/file/video_drm_license', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'drmType' => ['type' => 'string', 'required' => true], 'licenseRequest' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'endpoints' => [ ['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' => ''], ], ];