def METHOD_NAME(request):
    json_data = json.loads(request.body.decode())
    resp_body = {
        "status": "ok",
        "version": {
            "latest": "1.0.0",
            "yours": json_data.get("version"),
            "updatable": True,
        },
        "plugins": {"tests": {"latest": "1.1.1", "updatable": True}},
    }
    return 200, {"Content-Type": "text/json"}, json.dumps(resp_body)