Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

Get version information about the database and the oregional_restapi app


Note

This endpoint does not need any authentication


Table of Contents



Request

Code Block
languagebash
themeEmacs
titleSample request
linenumberstrue
https://example.com/orestapi/version


ItemDescriptionNotes
endpoint/orestapi/version
typeGET
Header
authorization

-

No authorization needed

Params
--No parameters necessary, it is enough to simply call the endpoint




Response

Code Block
languagebash
themeMidnight
titleSample response
linenumberstrue
{"server_version": "11.0+e", "server_version_info": [11, 0, 0, "final", 0, "e"], "server_serie": "11.0", "protocol_version": 1, "orestapi_version": "11.0.1.5.0"}


Tip

Returns a list of dictionaries (key-value pairs)


ParentKeyTypeDefaultDescriptionNotes

server_versionchar-Major version + serialGenerated automatically from parts of server_version_info

server_version_infolist-List of detailed server versionMAJOR, MINOR, MICRO, RELEASE_LEVEL, SERIAL

server_seriechar-Major versionGenerated automatically from parts of server_version_info

protocol_versionchar-Internal protocolHardcoded to 1

orestapi_versionchar-The version of the currently installed oregional_restapi appAs visible in the Apps menu