canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093
edits
| Line 99: | Line 99: | ||
== Server API changes == | == Server API changes == | ||
Due to the flexible nature of this command, I'm envisioning adding a | Due to the flexible nature of this command, I'm envisioning adding a small new server API: | ||
; POST /vcs/[project]/ | ; POST /vcs/[project]/ : Send a JSON message {'command' : ['command', 'other', 'arguments']} as the body. A 400 response with error text in the response body will result from a bad command line. A 200 response will have a JSON result. For many commands, there will just be 'output' on the object with string output that can be displayed to the user. | ||
== Data model changes == | == Data model changes == | ||