REST API

/{version}/files/batch/retrieve

The following operations are supported on this resource:

POST

Displays the XML representation of all specified files.

An example <links> request is as follows:
<ri:links xmlns:ri="http://genologics.com/ri">   <link uri="http://localhost:8080/api/v2/files/ACC25A1-40-51" rel="files"/>   <link uri="http://localhost:8080/api/v2/files/ACC25A1-40-53" rel="files"/> </ri:links>

Input Payload

element consumeable content type(s)
links (XML)
  • application/xml
description
A series of links, each containing the URI of a file you would like to retrieve. The file URIs must be unique and must correspond to valid file URIs in the system. Mixed resource links or duplicate files will result in an HTTP 400 error. Similarly, the request will be rejected if any URI does not resolve to a file in the system.

Output Payload

element produceable content type(s)
details (XML)
  • application/xml
description
The system returns a response that includes the XML representations of the requested files, wrapped in a <details> parent. Please refer to the GET documentation for files (single) in the REST resources documentation for more information about the file XML representation that will be returned in the details.

/{version}/files/batch/retrieve

Home

REST Endpoints

XML Data Elements

XML Data Types