Retrieval API's
API Specification
Request Endpoint:
https://<domain>auditlogs.autorabit.com/logs/audit_logs
For example: https://testauditlogs.autorabit.com/logs/audit_logsRequest Type:
GET
Request Query String Parameters:
startTime=YYYY-MM-DDThh:mm:ss (this is optional; if not specified, the current day will be presumed) For example: 2021-03-14T1000:00
maxResults=1000 (optional, default value is 1000)
eventType=event1, event2 (this is optional, however, if not specified it will load all the events) For example: eventType=DEPLOYMENT, DATALOADERPRO will load events for DEPLOYMENT and DATALOADERPRO respectively.
Request Headers:
Content-Type: application/json
Authorization: Your Bearer token
Obtaining your Access Token
To interact with API, you need to have a unique, personal access token. This will be used to authenticate yourself within the API. Please contact the AutoRABIT Team to update the following properties in the config file once the API token gets generated:
/home/ubuntu/.rabit/auditlogs/auditConfig.json
To generate your access token, you should:
Log in to the AutoRABIT account.
Hover your mouse over the Admin module and select the option: API Tokens
Click on the Create API Token button to generate a new token.
Enter the API Token Name on the next screen.
Click Create. Note down your newly generated token - you are going to need it soon.
Point to Note:
For security reasons, it is not possible to view the token after closing the creation dialog. If necessary, create a new token. Max of 10 tokens are permitted for each user license. You should store the token securely, as for any password.
Sample Request
Sample Response
Sample Response (for invalid API Token)
Last updated