/api/v1/logs/{requestId}
Get the current logs request status.
The logs are JSON-compressed using gzip.
HTTP authorization scheme: |
|
Path parameters
|
required |
|
Request ID associated with the logs, returned by the
|
Query parameters
|
required |
|
Type of logs to retrieve. |
|
required |
|
Region group. This parameter is not currently used so all region groups
are accepted. |
Response
200 Success
|
|
A unique identifier for your request. Pass to
|
|
|
|
Path of the database you want to get logs for, including the region group. This field is omitted when exporting logs for your region group. |
|
|
|
Region group you want to get the logs for. Present only if you want to export logs for your region group. |
|
|
required |
|
Date-time to start receiving logs, inclusive. |
|
required |
|
Date-time to stop receiving logs, exclusive. |
|
required |
|
Log state:
|
|
|
URL that can get the requested logs. The field is present only if
|
|
|
|
Date-time the URL expires. |
Example:
Content-Type: |
|
{
"request_id": "123456",
"database": "classic/parent-db/child-db",
"region_group": "classic",
"time_start": "2022-09-19T20:42:16.828Z",
"time_end": "2022-09-19T20:42:16.828Z",
"state": "Complete",
"presigned_url": "https://link.to.your.logs.com",
"presigned_url_expiration_time": "2022-09-19T21:42:16.828Z"
}
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!