payfrit-api/api
Mike 1dacefcf70 Add Hub Messages, Files, Users, Reactions, and Pins APIs
Complete backend for SprintChat Hub migration:
- Messages: send, edit, delete, list (paginated cursor), thread, search
- Files: upload (multipart), download, thumbnail, info, list
- Users: get, getByIds, search, status (online detection)
- Reactions: add, remove, list (grouped by emoji)
- Pins: pin, unpin, list (with message content)
- Channel stats: member/message/pinned/unread counts

4 new DB tables: Hub_Messages, Hub_Files, Hub_Reactions, Hub_PinnedPosts
21 new endpoints added to PUBLIC_ROUTES

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 02:03:14 +00:00
..
addresses Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
admin fix: harden auth middleware — exact route matching, remove admin bypass, add cron secret 2026-03-23 01:43:43 +00:00
app Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
assignments Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
auth Enable magic OTP (123456) for Apple app review testing 2026-03-20 05:22:17 +00:00
beacon-sharding Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
beacons Add beacons/lookupByMac.php and beacons/wipe.php endpoints 2026-03-16 19:13:21 -07:00
businesses Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
chat Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
config Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
grants Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
hub Add Hub Messages, Files, Users, Reactions, and Pins APIs 2026-03-27 02:03:14 +00:00
menu Fix item prices returning as strings instead of floats in JSON 2026-03-16 17:24:57 -07:00
orders Add TaskTypeID=0 to order task creation INSERTs 2026-03-16 23:21:41 -07:00
portal Add portal/getSettings and portal/updateSettings PHP endpoints 2026-03-17 15:42:24 -07:00
presence Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
ratings Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
servicepoints Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
setup Add IsServiceBell flag to task types 2026-03-15 16:52:23 -07:00
stations Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
stripe Add TaskTypeID=0 to order task creation INSERTs 2026-03-16 23:21:41 -07:00
tabs Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
tasks Add pretty HTML dashboard for team tasks 2026-03-24 22:30:51 +00:00
users Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
workers Initial PHP API migration from CFML 2026-03-14 14:26:59 -07:00
helpers.php Add Hub Messages, Files, Users, Reactions, and Pins APIs 2026-03-27 02:03:14 +00:00