I frequently come in to organizations that refer to every instance and version of SharePoint as simply “SharePoint”. This makes it difficult to know if they are referring to on-premises or online, and if on-premises which major and minor version of SharePoint. Being a solution architect responsible for how SharePoint fits within the organization’s enterprise architecture, it is critical that I know precisely what version of SharePoint they have so that I know what capabilities are available. As an information security professional I need to know that if they have SharePoint Server that they have the latest security patches installed.
Jeremy Thake has shared this neat trick, simply append /_vti_pvt/service.cnf after the base (root site) URL of a SharePoint. For example, https://mytenant.sharepoint.com/_vti_pvt/service.cnf. This works for SharePoint Server and SharePoint Online. An example of the output is shown below.
If you are interested in Microsoft Graph, you may want to follow Jeremy on Twitter.