POST api/File/GetList
获取文件信息
Request Information
URI Parameters
None.
Body Parameters
Collection of stringRequest Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfFileInfoListResponseName | Description | Type | Additional information |
---|---|---|---|
Code | ApiCode |
None. |
|
Message | string |
None. |
|
Body | FileInfoListResponse |
None. |
|
IsSuccess | boolean |
None. |
|
SubCode | SubCode |
None. |
|
SubMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 0, "Message": "sample string 1", "Body": { "List": [ { "Id": "sample string 1", "FolderId": "sample string 2", "FileName": "sample string 3", "CreateTime": "2025-04-10T03:25:25.2921866+08:00", "Size": "sample string 5", "Type": 1, "DownloadUrl": "sample string 6", "DownloadUrlInternal": "sample string 7", "PreviewUrl": "sample string 8", "OnlinePreviewUrl": "sample string 9", "IsPreview": true }, { "Id": "sample string 1", "FolderId": "sample string 2", "FileName": "sample string 3", "CreateTime": "2025-04-10T03:25:25.2921866+08:00", "Size": "sample string 5", "Type": 1, "DownloadUrl": "sample string 6", "DownloadUrlInternal": "sample string 7", "PreviewUrl": "sample string 8", "OnlinePreviewUrl": "sample string 9", "IsPreview": true } ] }, "IsSuccess": true, "SubCode": 0, "SubMessage": "sample string 2" }
application/xml, text/xml
Sample:
<ApiResultOfFileInfoListResponserUIxL1Kj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yidu.Model.TO"> <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/Yidu.Model.TO.Response"> <d2p1:List xmlns:d3p1="http://schemas.datacontract.org/2004/07/Yidu.Model.VO"> <d3p1:FileInfoVO> <d3p1:CreateTime>2025-04-10T03:25:25.2921866+08:00</d3p1:CreateTime> <d3p1:DownloadUrl>sample string 6</d3p1:DownloadUrl> <d3p1:DownloadUrlInternal>sample string 7</d3p1:DownloadUrlInternal> <d3p1:FileName>sample string 3</d3p1:FileName> <d3p1:FolderId>sample string 2</d3p1:FolderId> <d3p1:Id>sample string 1</d3p1:Id> <d3p1:OnlinePreviewUrl>sample string 9</d3p1:OnlinePreviewUrl> <d3p1:PreviewUrl>sample string 8</d3p1:PreviewUrl> <d3p1:Size>sample string 5</d3p1:Size> <d3p1:Type>Jpeg</d3p1:Type> </d3p1:FileInfoVO> <d3p1:FileInfoVO> <d3p1:CreateTime>2025-04-10T03:25:25.2921866+08:00</d3p1:CreateTime> <d3p1:DownloadUrl>sample string 6</d3p1:DownloadUrl> <d3p1:DownloadUrlInternal>sample string 7</d3p1:DownloadUrlInternal> <d3p1:FileName>sample string 3</d3p1:FileName> <d3p1:FolderId>sample string 2</d3p1:FolderId> <d3p1:Id>sample string 1</d3p1:Id> <d3p1:OnlinePreviewUrl>sample string 9</d3p1:OnlinePreviewUrl> <d3p1:PreviewUrl>sample string 8</d3p1:PreviewUrl> <d3p1:Size>sample string 5</d3p1:Size> <d3p1:Type>Jpeg</d3p1:Type> </d3p1:FileInfoVO> </d2p1:List> </Body> <Code>Success</Code> <Message>sample string 1</Message> <SubCode>Success</SubCode> <SubMessage>sample string 2</SubMessage> </ApiResultOfFileInfoListResponserUIxL1Kj>