getContentVersions

Returns archive file versions.

Request

<archiveRequest version="2.0">
   <getContentVersions maxReturnEntries=" "> 
      <serverIPAddress/>
      <volume/>
      <fileName/>
      <archiveInfo>
         <job>
            <jobName/>
            <fileKey/>
         </job>
      </archiveInfo>
      <startDate/>
      <endDate/>
      <startHere/>
   </getContentVersions>
</archiveRequest>

Reply

<archiveReply version="2.0">
   <getContentVersions>
      <fileVersion>
         <name/>
         <date/>
         <size/>
         <modifyTime/>
         <modifier/>
         <archiveName>
            <actualName/>
         </archiveName>
         <archiveInfo>
            <server/>
            <volume/>
            <job>
               <jobName/>
               <fileKey/>
               <metaDataKey/> 
            </job>
         </archiveInfo>
      </fileVersion>
      <startHere/> 
      <ipAddress/>
   </getContentVersions>
   <result value=" ">
      <description/>
   </result>
</archiveReply>

Elements

serverIPAddress

Specifies the server where the original file came from.

volume

Specifies the volume where the original file came from.

fileName

(Optional if archiveInfo is specified) Specifies the full path of the file name to return versions for. The path should be separated by forward slashes (/), starting from the volume root. If archiveInfo isn't specified, the full path is evaluated. Only component names with a current status are used when parsing the path.

archiveInfo

(Optional) Specifies the archived information received from a previous query.

job

Specifies the job. Repeat for each job.

jobName

Specifies the name of the job as received from a directory content query or a version query.

fileKey

Specifies the file key as received from a directory content query or a version query.

startDate

(Optional) Specifies the most recent date, in generalized time and date YYYYMMDDHHMMSS format, to return.

endDate

(Optional) Specifies the oldest date, in generalized time and date YYYYMMDDHHMMSS format, to return.

startHere

(Optional) Specifies where to start as returned from a previous query. If this element does not exist, the search starts at the beginning.

fileVersion

Specifies the version of the file. Repeated for each file version entry.

date

Specifies the date, in generalized time and date YYYYMMDDHHMMSS format, the file was archived.

modifyTime

Specifies the modified time, in generalized time and date YYYYMMDDHHMMSS format, from the file's metadata.

actualName

Specifies an opaque name from which the file can be directly accessed.

result

Specifies an error value or zero (for no error).

description

Specifies a text description of the returned result.

Attributes

maxReturnEntries

(Optional) Specifies the maximum number of entries to return. If this attribute is not specified, the request handler decides how many entries to return.