octoprint-open-api/openapi/paths/version.yaml
2020-11-04 00:02:26 +01:00

26 lines
741 B
YAML

get:
summary: Version
description: >-
Retrieve information regarding server and API version. Returns a JSON object
with two keys, api containing the API version, server containing the server
version, text containing the server version including the prefix ``OctoPrint
`` (to determine that this is indeed a genuine OctoPrint instance).
operationId: getVersion
tags:
- General
- System
responses:
"200":
description: OctoPrint server version
content:
application/json:
schema:
type: object
properties:
api:
type: string
server:
type: string
text:
type: string