From 709372208a09cbc491734e02ef07226bdab92e7b Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Wed, 16 Jan 2019 11:25:56 +0000 Subject: [PATCH] Added route to retreive current overlay text --- .../api/v1/blueprints/camera/overlay.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/openflexure_microscope/api/v1/blueprints/camera/overlay.py b/openflexure_microscope/api/v1/blueprints/camera/overlay.py index c5c541d6..86b0227d 100644 --- a/openflexure_microscope/api/v1/blueprints/camera/overlay.py +++ b/openflexure_microscope/api/v1/blueprints/camera/overlay.py @@ -5,6 +5,22 @@ from flask import Response, Blueprint, jsonify, request, abort, url_for, redirec class OverlayAPI(MicroscopeView): + def get(self): + """ + Get overlay text + + .. :quickref: Overlay; Get camera overlay text + + :>header Accept: application/json + + :