GET API/AttachFile/GetMeta?FileId={FileId}&Key={Key}

添付ファイルのメタ情報を取得する

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FileId

ファイルID

string

Required

Key

Key

string

None.

Body Parameters

None.

Response Information

Resource Description

FileMetaViewModel
NameDescriptionTypeAdditional information
FileId

ファイルId

string

None.

FileName

ファイル名

string

None.

Key

Key

string

None.

ContentType

ContentType

string

None.

FileLength

ファイルサイズ

integer

None.

IsDrm

DRMありか

boolean

None.

DrmType

Drmのタイプ

string

None.

DrmKey

Drmのキー

string

None.

MetaList

メタ

Collection of MetaViewModel

None.

Response Formats

application/json

Sample:
{
  "FileId": "sample string 1",
  "FileName": "sample string 2",
  "Key": "sample string 3",
  "ContentType": "sample string 4",
  "FileLength": 5,
  "IsDrm": true,
  "DrmType": "sample string 7",
  "DrmKey": "sample string 8",
  "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",
  "Key": "sample string 3",
  "ContentType": "sample string 4",
  "FileLength": 5,
  "IsDrm": true,
  "DrmType": "sample string 7",
  "DrmKey": "sample string 8",
  "MetaList": [
    {
      "MetaKey": "sample string 1",
      "MetaValue": "sample string 2"
    },
    {
      "MetaKey": "sample string 1",
      "MetaValue": "sample string 2"
    }
  ]
}

application/xml

Sample:
<FileMetaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.AttachFile">
  <ContentType>sample string 4</ContentType>
  <DrmKey>sample string 8</DrmKey>
  <DrmType>sample string 7</DrmType>
  <FileId>sample string 1</FileId>
  <FileLength>5</FileLength>
  <FileName>sample string 2</FileName>
  <IsDrm>true</IsDrm>
  <Key>sample string 3</Key>
  <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>
</FileMetaViewModel>

text/xml

Sample:
<FileMetaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.AttachFile">
  <ContentType>sample string 4</ContentType>
  <DrmKey>sample string 8</DrmKey>
  <DrmType>sample string 7</DrmType>
  <FileId>sample string 1</FileId>
  <FileLength>5</FileLength>
  <FileName>sample string 2</FileName>
  <IsDrm>true</IsDrm>
  <Key>sample string 3</Key>
  <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>
</FileMetaViewModel>