from openflexure_microscope.api.v1.views import MicroscopeView from openflexure_microscope.api.utilities import JsonPayload from flask import Response, Blueprint, jsonify, request, abort, url_for, redirect, send_file class OverlayAPI(MicroscopeView): def post(self): """ Set overlay text .. :quickref: Overlay; Set camera overlay text **Example requests**: .. sourcecode:: http POST /camera/overlay HTTP/1.1 Accept: application/json { "text": "2019/01/15 14:48", "size": 50 } :>header Accept: application/json :