GET API/AttachFile/MetaQuery

アップロードした添付ファイルを検索する。
MetaKey1=MetaValue1&MetaKey2=MetaValue2の形式で検索対象となる添付ファイルのメタをGETパラメータとして指定する。

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of FileInfoViewModel
NameDescriptionTypeAdditional information
FileId

ファイルID

string

None.

FileName

ファイル名

string

None.

ContentType

Content-Type

string

None.

FileLength

ファイルサイズ

integer

None.

MetaList

メタ

Collection of MetaViewModel

None.

Response Formats

application/json

Sample:
[
  {
    "FileId": "sample string 1",
    "FileName": "sample string 2",
    "ContentType": "sample string 3",
    "FileLength": 4,
    "MetaList": [
      {
        "MetaKey": "sample string 1",
        "MetaValue": "sample string 2"
      },
      {
        "MetaKey": "sample string 1",
        "MetaValue": "sample string 2"
      }
    ]
  },
  {
    "FileId": "sample string 1",
    "FileName": "sample string 2",
    "ContentType": "sample string 3",
    "FileLength": 4,
    "MetaList": [
      {
        "MetaKey": "sample string 1",
        "MetaValue": "sample string 2"
      },
      {
        "MetaKey": "sample string 1",
        "MetaValue": "sample string 2"
      }
    ]
  }
]

text/json

Sample:
[
  {
    "FileId": "sample string 1",
    "FileName": "sample string 2",
    "ContentType": "sample string 3",
    "FileLength": 4,
    "MetaList": [
      {
        "MetaKey": "sample string 1",
        "MetaValue": "sample string 2"
      },
      {
        "MetaKey": "sample string 1",
        "MetaValue": "sample string 2"
      }
    ]
  },
  {
    "FileId": "sample string 1",
    "FileName": "sample string 2",
    "ContentType": "sample string 3",
    "FileLength": 4,
    "MetaList": [
      {
        "MetaKey": "sample string 1",
        "MetaValue": "sample string 2"
      },
      {
        "MetaKey": "sample string 1",
        "MetaValue": "sample string 2"
      }
    ]
  }
]

application/xml

Sample:
<ArrayOfFileInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.AttachFile">
  <FileInfoViewModel>
    <ContentType>sample string 3</ContentType>
    <FileId>sample string 1</FileId>
    <FileLength>4</FileLength>
    <FileName>sample string 2</FileName>
    <MetaList>
      <MetaViewModel>
        <MetaKey>sample string 1</MetaKey>
        <MetaValue>sample string 2</MetaValue>
      </MetaViewModel>
      <MetaViewModel>
        <MetaKey>sample string 1</MetaKey>
        <MetaValue>sample string 2</MetaValue>
      </MetaViewModel>
    </MetaList>
  </FileInfoViewModel>
  <FileInfoViewModel>
    <ContentType>sample string 3</ContentType>
    <FileId>sample string 1</FileId>
    <FileLength>4</FileLength>
    <FileName>sample string 2</FileName>
    <MetaList>
      <MetaViewModel>
        <MetaKey>sample string 1</MetaKey>
        <MetaValue>sample string 2</MetaValue>
      </MetaViewModel>
      <MetaViewModel>
        <MetaKey>sample string 1</MetaKey>
        <MetaValue>sample string 2</MetaValue>
      </MetaViewModel>
    </MetaList>
  </FileInfoViewModel>
</ArrayOfFileInfoViewModel>

text/xml

Sample:
<ArrayOfFileInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.AttachFile">
  <FileInfoViewModel>
    <ContentType>sample string 3</ContentType>
    <FileId>sample string 1</FileId>
    <FileLength>4</FileLength>
    <FileName>sample string 2</FileName>
    <MetaList>
      <MetaViewModel>
        <MetaKey>sample string 1</MetaKey>
        <MetaValue>sample string 2</MetaValue>
      </MetaViewModel>
      <MetaViewModel>
        <MetaKey>sample string 1</MetaKey>
        <MetaValue>sample string 2</MetaValue>
      </MetaViewModel>
    </MetaList>
  </FileInfoViewModel>
  <FileInfoViewModel>
    <ContentType>sample string 3</ContentType>
    <FileId>sample string 1</FileId>
    <FileLength>4</FileLength>
    <FileName>sample string 2</FileName>
    <MetaList>
      <MetaViewModel>
        <MetaKey>sample string 1</MetaKey>
        <MetaValue>sample string 2</MetaValue>
      </MetaViewModel>
      <MetaViewModel>
        <MetaKey>sample string 1</MetaKey>
        <MetaValue>sample string 2</MetaValue>
      </MetaViewModel>
    </MetaList>
  </FileInfoViewModel>
</ArrayOfFileInfoViewModel>