diff --git a/plan/api.markdown b/plan/api.markdown new file mode 100644 index 0000000..d87477c --- /dev/null +++ b/plan/api.markdown @@ -0,0 +1,8 @@ +## /source + +| end-point | method | body type | body | return | +| --------- | ------ | --------- | ----------- | ------------------------------------------ | +| source | GET | JSON | | source.json | +| source | POST | JSON | source.json | {"status":"ok/fail","message":"blah blah"} | +| regex | GET | JSON | | regex.json | +| regex | POST | JSON | regex.json | {"status":"ok/fail","message":"blah blah"} | \ No newline at end of file