Add route for version information

This commit is contained in:
Maximilian Paß
2021-11-24 22:07:57 +01:00
parent 3ae83217d7
commit 0d7e07eae0
3 changed files with 31 additions and 0 deletions

View File

@ -106,6 +106,20 @@ paths:
"204":
description: Everything okay
/version:
get:
summary: Retrieve the version of Poseidon
description: Return hash-like release information.
tags:
- miscellaneous
responses:
"200":
description: The release information could be returned.
"404":
$ref: "#/components/responses/NotFound"
"500":
$ref: "#/components/responses/InternalServerError"
/runners:
post:
summary: Provide a runner