Skip to main content

 

Documentation & User Guides | FotoWare

FileInfo method

This method returns information about a file such as file attributes and/or meta data etc. This function requires input delivered by the ‘Search’ method.

URL

http://servername/ArchiveAgentPath/FileInfo

Parameters

Id[ 1 . . . * ]

Valid Id(s) of the file(s) to return information for. These ids must be those returned by the ‘Search’ method.

PreviewSize[*] := [ 0 . . . 1024 ]

The maximum dimension in pixels for a preview. The URL for this preview will be returned.

FileInfo[1] := [ 0 | 1 ]

Boolean value indicating if file information should be returned with the file list.

MetaData[1] := [ 0 | 1 ]

Boolean value indicating if meta data should be returned with the file list.

Return value

An ‘Archive Agent File List XML’ document containing information for the requested files. If a file is not found, it is left out of the document, unless the request is for a single file, in which case a ‘404 Not Found’ message will be returned.

Result of a FileInfo request to the Archive Agent

  • Was this article helpful?