REST Endpoints
Here's a list of all the REST API endpoints available in Lit.
REST Path | REST Method | RPC |
---|---|---|
/v1/accounts | GET | litrpc.ListAccounts |
/v1/accounts | POST | litrpc.CreateAccount |
/v1/accounts/{id} | DELETE | litrpc.RemoveAccount |
/v1/accounts/{id} | POST | litrpc.UpdateAccount |
/v1/autopilot/features | GET | litrpc.ListAutopilotFeatures |
/v1/autopilot/sessions | POST | litrpc.AddAutopilotSession |
/v1/autopilot/sessions | GET | litrpc.ListAutopilotSessions |
/v1/autopilot/sessions/{local_public_key} | DELETE | litrpc.RevokeAutopilotSession |
/v1/firewall/actions | POST | litrpc.ListActions |
/v1/firewall/privacy_map/convert | POST | litrpc.PrivacyMapConversion |
/v1/proxy/info | GET | litrpc.GetInfo |
/v1/proxy/stop | POST | litrpc.StopDaemon |
/v1/proxy/supermacaroon | POST | litrpc.BakeSuperMacaroon |
/v1/sessions | GET | litrpc.ListSessions |
/v1/sessions | POST | litrpc.AddSession |
/v1/sessions/{local_public_key} | DELETE | litrpc.RevokeSession |
/v1/status | GET | litrpc.SubServerStatus |