-
Notifications
You must be signed in to change notification settings - Fork 34
REST API Documentation
The Red Pill Now REST Service is accessed via a URL and will return a JSON representation of your request.
The Base URL is: http:///api/oda
The frames area is for querying sets of Graph elements, typically by type or key values.
The frame area is for querying the Graph from a specific starting element, almost always a Vertex.
The command area is for initiating processes such as the forensics scan.
Once you've selected a functional area for the request, you then specify which Graph you're addressing. For example, the "now" graph...
http:///api/oda/frames/now, http:///api/oda/frame/now, http:///api/oda/command/now
Once you know what area and Graph name you're addressing, you then use query parameters to specify more details.
A successful request will return a status of 2xx. Error status will be 4xx or 5xx. The error with stack trace should be returned in a JSON object which you can then use to format an error message.