File #
Package : spaceone.api.file_manager.v1
File #
File Methods:
Method | Request | Response |
---|---|---|
update | UpdateFileRequest | FileInfo |
delete | FileRequest | Empty |
get | FileRequest | FileInfo |
list | FileSearchQuery | FilesInfo |
stat | FileStatQuery | Struct |
update #
POST /file-manager/v1/file/update
delete #
POST /file-manager/v1/file/delete
get #
POST /file-manager/v1/file/get
list #
POST /file-manager/v1/file/list
stat #
POST /file-manager/v1/file/stat
Message #
CreateFileRequest #
name (string)
Required
resource_group (ResourceGroup)
Required
tags (Struct)
reference (FileReference)
domain_id (string)
workspace_id (string)
project_id (string)
FileInfo #
file_id (string)
Required
name (string)
Required
download_url (string)
Required
reference (FileReference)
Required
tags (Struct)
Required
resource_group (ResourceGroup)
Required
domain_id (string)
Required
workspace_id (string)
Required
project_id (string)
Required
created_at (string)
Required
FileReference #
resource_type (string)
Required
resource_id (string)
Required
FileRequest #
file_id (string)
Required
FileSearchQuery #
query (Query)
file_id (string)
name (string)
resource_type (string)
resource_id (string)
domain_id (string)
workspace_id (string)
project_id (string)
FileStatQuery #
query (StatisticsQuery)
Required
FilesInfo #
results (FileInfo)
Repeated
Required
total_count (int32)
Required
UpdateFileRequest #
file_id (string)
Required
tags (Struct)
reference (FileReference)