Export latest library log
Retrieves and exports the most recent library log file or snapshot as a downloadable archive.
Request syntax
GET
/v1/logs/exportLatestLibraryLog
Retrieves the most recently modified
library log file from the system.
Description
The endpoint uses file modification timestamps to determine which log file is the most recent and
returns it as a binary download. The response content type is automatically set to
application/zip based on the file extension.
Example
> GET /v1/logs/exportLatestLibraryLog
< HTTP/1.1 200 OK
< Content-Type: application/zip
< Content-Length: 2458624
[Binary ZIP file content]
Response codes
200 OK-
The request was successful. The response body contains the binary content of the most recent library log file.
404 Not Found-
No library log files were found in the expected locations.
500 Internal Server Error-
An error occurred while attempting to locate or read the log file.