Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 764 Bytes

endpoints.md

File metadata and controls

10 lines (9 loc) · 764 Bytes

API Endpoints

The primary and only endpoint for a client application to call is /solve

endpoint method return type description
/ GET application/json list of the definitions on the server
/definitionName.gh GET application/json displays information about the definition
/solve POST application/json solves a GH definition and returns json data
/solve/definitionName.gh?param1=123... HEAD application/json given the definition name and parameters, solves a GH definition and returns headers
/solve/definitionName.gh?param1=123... GET application/json given the definition name and parameters, solves a GH definition and returns json data