diff --git a/openflexure_microscope/api/v1.py b/openflexure_microscope/api/v1.py index a3a4d224..1c7ba1cf 100644 --- a/openflexure_microscope/api/v1.py +++ b/openflexure_microscope/api/v1.py @@ -114,13 +114,25 @@ class PositionAPI(MicroscopeView): def get(self): """ - Get current position + Return current x, y and z positions of the stage. + + .. :quickref: Position; Get current position """ return jsonify(self.microscope.state['position']) def post(self): """ - Update current position + Set x, y and z positions of the stage. + + .. :quickref: Position; Update current position + + :reqheader Accept: application/json + :