/api/v1/logs/_list
List log retrievals for account.
HTTP authorization scheme: |
|
Query parameters
|
required |
|
Type of logs to retrieve. |
|
required |
|
Region group. This parameter is not currently used so all region groups
are accepted. |
Request body
Inputs bounding the logs you want to list.
Example:
Content-Type: |
|
{
"states": [
"Complete",
"Requested"
],
"next_token": "slkdj823knl",
"max_results": 100
}
Response
200 Success
|
|
Next token identifier. |
|
|
|
See the following. |
results
object:
|
|
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:
|
|
|
Optional request for controlling URL creation. |
Example:
Content-Type: |
|
{
"next_token": "akljsaeu82l",
"results": [
{
"request_id": "123",
"database": "us-std/US",
"region_group": "us-std",
"time_start": "2020-01-01T00:00:00Z",
"time_end": "2020-01-02T00:00:00Z",
"state": "Pending",
"version": 1
}
]
}
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!