Blame
6874e1 | Hargata Softworks | 2024-01-29 01:25:19 | 1 | # API |
2 | ||||
640330 | Hargata Softworks | 2024-02-09 22:02:40 | 3 | LubeLogger provides API endpoints to retrieve and add records, full documentation of these endpoints can be found at `/api`. |
6874e1 | Hargata Softworks | 2024-01-29 01:25:19 | 4 | |
5 | ## Authentication | |||
6 | If authentication is enabled, it implements Basic Auth based on RFC2617, which stipulates that the "token" is passed in as a Base64-encoded string comprising of a username and password separated by a colon(":"). Because of this, neither the username nor password can contain a colon(":") character. | |||
7 | ||||
8 | ### Testing | |||
9 | You can utilize any REST API testing tool to test your use-case. | |||
10 | ||||
11 | ## Example Use Cases | |||
12 | - Send Email Reminders, see [[Reminders|Records/Reminders#reminder-emails]] | |||
13 | - Insert Odometer Records, see [[Odometer|Records/Odometer#api-integration]] | |||
3df82f | Hargata Softworks | 2024-04-19 03:21:58 | 14 | - Create DB Backups, [Example BASH Script](https://github.com/hargata/lubelog_scripts/blob/main/bash/makebackup.sh) [Example DOS Script](https://github.com/hargata/lubelog_scripts/blob/main/dos/makebackup.bat) |