Skip to content

Version

Operations Summary

Method Endpoint Description
GET /api/version/ Get application version

Get application version

Retrieves the current installed version of the application. Staff and support users additionally receive the latest available version from GitHub when update checks are enabled.

1
2
3
4
http \
  GET \
  https://api.example.com/api/version/ \
  Authorization:"Token YOUR_API_TOKEN"
1
2
3
4
5
6
7
8
9
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.version import version_retrieve # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = version_retrieve.sync(client=client)

print(response)
  1. API Source: version_retrieve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { versionRetrieve } from 'waldur-js-client';

try {
  const response = await versionRetrieve({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}

200 -

Field Type Description
version string Current installed version of the application
latest_version string Latest available version from GitHub. Only included for staff or support users when update checks are enabled.