GET api/File/DeCompress?id={id}

解压压缩包

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

ApiResultOfFileInfoListResponse
NameDescriptionTypeAdditional 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": "2024-10-19T13:19:53.9360599+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": "2024-10-19T13:19:53.9360599+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>2024-10-19T13:19:53.9360599+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>2024-10-19T13:19:53.9360599+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>