Get Object Log
This method will retrieve a list of Object Logs. These are events that are
created when supported objects are added or modified, including automatic expiry blocking and scheduled data-object resets.
They are guaranteed to exist for 30 days. Older events may be removed.
Parameters
This method is accessed by https://api.cryptolens.io/api/ai/GetObjectLog
| Parameter |
Description |
Remarks |
| Limit |
Specifies how many events should be returned.
|
default is 10 and at most 100 |
| StartingAfter |
Works as a cursor for pagination. Pass the Id of the last returned event and keep the same
NewestFirst value. With the default ordering, 125 returns events with Id greater than 125.
With NewestFirst=true, 125 returns events with Id less than 125. Omit or use 0 for the first page. |
optional |
| NewestFirst |
Set to true to return the newest event IDs first (descending Id). False retains the oldest-first
ordering (ascending Id). Continue with StartingAfter in the selected direction. |
optional. false by default. |
| v |
Method version. |
optional. by default, it's 1. |
Results
| Parameter |
Description |
Remarks |
| Events |
A list of Object Log Objects. |
returned if no errors are thrown |
| Result |
This is either 0(=success) or 1(=error). |
always returned |
| Message |
The message that provides additional information about the result.
If it's a successful result, null will be returned.
Otherwise, in case of an error, a short message will be returned describing the error.
|
always returned. |
Example results
{"result":0,"message":""}
Errors
| Error |
| Access denied. |
| The input parameters were incorrect. |