Closed shlevy closed 2 years ago
This PR adds:
cicero-api
cicero-cli
nix build .#cicero-cli
nix run .#cicero-cli
Both currently include the following endpoints:
/api/action
/api/action/{id}
/api/fact
/api/fact?run={id}
/api/run?recursive&input={id}&offset={n}&limit={m}
More endpoints can easily be added.
This PR adds:
cicero-api
Haskell package containing Servant bindings for the Cicero APIcicero-cli
program (exposed throughnix build .#cicero-cli
andnix run .#cicero-cli
) to interact with the Cicero APIBoth currently include the following endpoints:
/api/action
/api/action/{id}
/api/fact
/api/fact?run={id}
/api/run?recursive&input={id}&offset={n}&limit={m}
More endpoints can easily be added.