====== RobinNet API ====== The RobinNet API is used by: * peer nodes * CLI tools * future UI applications * testing tools Base path: /api/v1/ ----- ===== Health Check ===== Endpoint: GET /api/v1/health Returns local node information. ----- ===== List Messages ===== GET /api/v1/messages Python example: import requests r = requests.get("http://localhost:8080/api/v1/messages") print(r.json()) ----- ===== Post Bulletin ===== POST /api/v1/messages/bulletin Python example: import requests payload = { "title": "Water Distribution", "body": "Town Hall from 10:00 to 16:00" } requests.post( "http://localhost:8080/api/v1/messages/bulletin", json=payload ) ----- ===== Fetch Messages ===== POST /api/v1/messages/fetch Payload: { "msg_uuids": ["uuid1","uuid2"] } ----- ===== Import Messages ===== POST /api/v1/messages/import Used internally during peer synchronization.