GET api/Content?hash={hash}

Get content of files stored in manifest for each file at location

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hash

string

Required

Body Parameters

None.

Response Information

Resource Description

hash of manifestpath of file or foldercontent typehash to raw location

Collection of FileInfoDescription
NameDescriptionTypeAdditional information
manifestHash

hash of manifest

string

None.

path

path to file or folder

string

None.

contentType

content type

string

None.

hash

hash location to raw resource

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "manifestHash": "sample string 1",
    "path": "sample string 2",
    "contentType": "sample string 3",
    "hash": "sample string 4"
  },
  {
    "manifestHash": "sample string 1",
    "path": "sample string 2",
    "contentType": "sample string 3",
    "hash": "sample string 4"
  }
]

text/html, application/octet-stream

Sample:
[{"manifestHash":"sample string 1","path":"sample string 2","contentType":"sample string 3","hash":"sample string 4"},{"manifestHash":"sample string 1","path":"sample string 2","contentType":"sample string 3","hash":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfFileInfoDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/datafundswarm.Controllers">
  <FileInfoDescription>
    <contentType>sample string 3</contentType>
    <hash>sample string 4</hash>
    <manifestHash>sample string 1</manifestHash>
    <path>sample string 2</path>
  </FileInfoDescription>
  <FileInfoDescription>
    <contentType>sample string 3</contentType>
    <hash>sample string 4</hash>
    <manifestHash>sample string 1</manifestHash>
    <path>sample string 2</path>
  </FileInfoDescription>
</ArrayOfFileInfoDescription>