-
Notifications
You must be signed in to change notification settings - Fork 50
API Upgrade
Lukas Metzger edited this page Apr 29, 2018
·
1 revision
This API is only used for the upgrading the server.
GET /update
| code | result |
|---|---|
| 200 | Everything was successful |
{
"updateRequired": true,
"currentVersion": 4,
"targetVersion": 6
}The version numbers represent the internal db version used. They are only present if updateRequired is true.
POST /update
| code | result |
|---|---|
| 204 | Everything was successful |
| 500 | An error occured while upgrading |
If an error occurred a message is returned.
{
"error": "Error message!"
}