Commit Graph

5 Commits

Author SHA1 Message Date
Marcus Hill f3456ead67 API
- Add PHP logging when API queries fail because of SQL errors
- Add user agent to logging
- Enhance asset update endpoint
2023-02-05 15:07:41 +00:00
Marcus Hill ff741c223e API code style tidy 2023-01-01 16:00:07 +00:00
Marcus Hill 25c610e963 Rename update_id to update_count - as it's a count, not the insert ID 2022-05-01 10:34:21 +01:00
Marcus Hill 2d6e7dbb37 Add clients/read.php API endpoint.
Adjust asset create/update so that they function without all attributes being provided. Update will default to using the value currently in the database, rather than overwriting blank.
2022-04-18 15:59:09 +01:00
Marcus Hill e55622827d Add support for client-specific API keys
Refactoring API. Added a contact update endpoint.
Small misc changes.
2022-04-15 17:43:06 +01:00