<< Back to GIL API Documentation

API documentation: logfiles

Returns a list of the available logfiles.

URL:

api/logfiles[.format]

Example: api/logfiles.xml

Omitted format defaults to html.

Formats:

html, xml, json

HTTP Method(s):

GET

Response:

ElementDescription
sizeInBytesThe size of the listed logfile in bytes.
nameThe uri to download the listed logfile.
lastModifiedA timestamp for the last modification of the logfile.

Response example(s):

XML:

<logfiles>
  <logfile>
    <sizeInBytes>1001</sizeInBytes>
    <name>http://localhost:9980/api/logfiles/example.log</name>
    <lastModified>2010-04-12T15:32:44+02:00</lastModified>
  </logfile>
  <logfile>
    <sizeInBytes>1093</sizeInBytes>
    <name>http://localhost:9980/api/logfiles/example.log.1</name>
    <lastModified>2010-04-12T15:32:44+02:00</lastModified>
  </logfile>
  <logfile>
    <sizeInBytes>1096</sizeInBytes>
    <name>http://localhost:9980/api/logfiles/example.log.2</name>
    <lastModified>2010-04-12T15:32:42.015+02:00</lastModified>
  </logfile>
</logfiles>