diff --git a/openflexure_microscope/api/v1.py b/openflexure_microscope/api/v1.py index edf936ba..ad67cb2c 100644 --- a/openflexure_microscope/api/v1.py +++ b/openflexure_microscope/api/v1.py @@ -653,7 +653,28 @@ class GPUPreviewAPI(MicroscopeView): def post(self, operation): """ - TODO: Documentation + Create a new image capture. + + .. :quickref: GPU Preview; Start/stop preview + + **Example requests**: + + .. sourcecode:: http + + POST /camera/preview/start HTTP/1.1 + Accept: application/json + + :>header Accept: application/json + + .. sourcecode:: http + + POST /camera/preview/stop HTTP/1.1 + Accept: application/json + + :>header Accept: application/json + + :