MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / apiVersion

Function apiVersion

src/octoprint/server/api/__init__.py:157–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected