Skip to content

Commit

Permalink
Add API parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Sep 12, 2024
1 parent 975e264 commit 890cbb2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions etc/apifunctions.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{
"name": "comment", "paper": true, "post": true,
"function": "Comment_API::run",
"parameters": ["c", "?override", "=text", "=topic", "?=draft", "?=blind", "=tags", "=visibility"]
"parameters": ["c", "?override", "?=text", "?=response", "?=ready", "?=topic", "?=draft", "?=blind", "?=tags", "?=visibility"]
},
{
"name": "declinereview", "post": true, "redirect": true,
Expand Down Expand Up @@ -70,15 +70,17 @@
},
{
"name": "formatcheck", "get": true, "post": true,
"function": "FormatCheck_API::run"
"function": "FormatCheck_API::run",
"parameters": ["?p", "?doc", "?soft", "?dt", "?docid"]
},
{
"name": "graphdata", "get": true,
"function": "GraphData_API::graphdata"
},
{
"name": "job", "get": true,
"function": "Job_API::job"
"function": "Job_API::job",
"parameters": ["job"]
},
{
"name": "jserror", "get": true,
Expand Down Expand Up @@ -172,7 +174,7 @@
{
"name": "revpref", "post": true,
"function": "Preference_API::pref_api",
"parameters": ["p", "?u", "pref"]
"parameters": ["p", "?u", "=pref"]
},
{
"name": "reviewpref", "alias": "revpref"
Expand All @@ -182,7 +184,8 @@
},
{
"name": "search", "get": true,
"function": "Search_API::search"
"function": "Search_API::search",
"parameters": ["q", "t", "?sort", "?report"]
},
{
"name": "searchcompletion", "get": true,
Expand Down Expand Up @@ -253,7 +256,8 @@
},
{
"name": "upload", "post": true,
"function": "Upload_API::run"
"function": "Upload_API::run",
"parameters": ["dtype", "?start", "offset", "?finish", "?token", "?cancel", "?=size", "?=mimetype", "?=filename"]
},
{
"name": "user", "get": true,
Expand Down

0 comments on commit 890cbb2

Please sign in to comment.