change .../clear endpoint to .../clearState

This commit is contained in:
Brian Gough 2017-09-12 11:39:18 +01:00
parent f34c12fdc7
commit 3842a27278

View file

@ -39,7 +39,7 @@ app.param 'doc_id', (req, res, next, doc_id) ->
app.get '/project/:project_id/doc/:doc_id', HttpController.getDoc
app.get '/project/:project_id/doc', HttpController.getProjectDocs
app.post '/project/:project_id/clear', HttpController.clearProjectState
app.post '/project/:project_id/clearState', HttpController.clearProjectState
app.post '/project/:project_id/doc/:doc_id', HttpController.setDoc
app.post '/project/:project_id/doc/:doc_id/flush', HttpController.flushDocIfLoaded
app.delete '/project/:project_id/doc/:doc_id', HttpController.flushAndDeleteDoc