question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to get the server version number

See original GitHub issue

Description

How can I get the server version number, apart from downloading the whole openapi.json file from api/v1/openapi.json? I would not like to download the whole API schema just for the version number only.

I could create my own endpoint for that, but am I missing a more obvious way of doing it?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
stratosgearcommented, Nov 19, 2019

request.app.version is MUCH better than my from myproject import __version__, I might steal that…!

3reactions
dmontagucommented, Nov 18, 2019

Yeah, your best bet would probably be to return request.app.version in an endpoint. There is no built-in way to surface this information externally short of accessing the openapi spec.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Different methods to identify the SQL Server version number
To obtain the SQL Server version numbers from the error log file, open the ERRORLOG.txt file of SQL Server. The default location of...
Read more >
Determine version number and service pack - Exchange
Start the Microsoft Exchange Management console. · In the navigation pane, expand the Server Configuration objects until you locate the server ...
Read more >
How to find my Subversion server version number?
Open the %VISUALSVN_SERVER%README.txt file. The first line shows the version number. enter image description here · Share.
Read more >
How to tell what SQL Server versions you are running
The first is by using the functionality in SQL Server Management Studio and right clicking on the instance name and selecting Properties. In...
Read more >
How to Determine SQL Server Version Number In Various Ways
You can access the Help menu in Management Studio and goto “About” to ascertain which SQL Server versions of the client tools you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found