Labs/Bespin/DesignDocs/VCSIntegration: Difference between revisions

No edit summary
Line 93: Line 93:
Due to the flexible nature of this command, I'm envisioning adding a single new server URL:
Due to the flexible nature of this command, I'm envisioning adding a single new server URL:


; POST /vcs/[project]/ : Send a JSON message {'command' : 'the command line'} 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.
; POST /vcs/[project]/[command] : Send a JSON message {'args' : 'the command line 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 ==
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093

edits