4.6.3. Product metadata

API for working with product metadata.

class axonius_api_client.api.system.meta.Meta(auth, **kwargs)[source]

Bases: axonius_api_client.api.mixins.ModelMixins

API for working with product metadata.

Examples

Parameters

auth (axonius_api_client.auth.models.Model) –

about()[source]

Get about page metadata.

Examples

Create a client using axonius_api_client.connect.Connect

>>> data = client.meta.about()
>>> j(data)
{
  "Build Date": "Fri Oct 2 00:18:27 UTC 2020",
  "Customer ID": "e1d48d82f50a4d2085658fea1a59b979",
  "api_client_version": "4.0",
  "Version": "3.10"
}
Return type

dict

historical_sizes()[source]

Get disk usage metadata.

Examples

Create a client using axonius_api_client.connect.Connect

>>> data = client.meta.historical_sizes()
>>> data['disk_free_mb']
70.93
>>> data['disk_used_mb']
122.87
>>> list(data)
['disk_free_mb', 'disk_used_mb', 'historical_sizes_devices', 'historical_sizes_users']
Return type

dict

property version: str

Get the version of Axonius.

Examples

Create a client using axonius_api_client.connect.Connect

>>> client.meta.version
'3.10'
Return type

str

_about()[source]

Direct API method to get the About page.

Return type

dict

_historical_sizes()[source]

Direct API method to get the metadata about disk usage.

Return type

dict

__init__(auth, **kwargs)

Mixins for API Models.

Parameters
__repr__()

Show info for this model object.

Return type

str

__str__()

Show info for this model object.

Return type

str

_init(**kwargs)

Post init method for subclasses to use for extra setup.

LOG: logging.Logger

Logger for this object.

auth

axonius_api_client.auth.models.Mixins authentication object.

http

axonius_api_client.http.Http client to use to send requests,