()
| 155 | @api.route("/version", methods=["GET"]) |
| 156 | @restricted_access |
| 157 | def apiVersion(): |
| 158 | return jsonify({ |
| 159 | "server": octoprint.server.VERSION, |
| 160 | "api": octoprint.server.api.VERSION |
| 161 | }) |
| 162 | |
| 163 | #~~ system control |
| 164 |
nothing calls this directly
no outgoing calls
no test coverage detected