Server Info
get
This class will define the general view behavior for the framework
Args: viewsets ([ModelViewSet])
Authorizations
AuthorizationstringRequired
Token-based authentication with required prefix "Token"
Query parameters
formatstring · enumOptionalPossible values:
limitintegerOptional
Number of results to return per page.
offsetintegerOptional
The initial index from which to return the results.
Responses
200Success
countintegerRequiredExample:
123nextstring · uri · nullableOptionalExample:
http://api.example.org/accounts/?offset=400&limit=100previousstring · uri · nullableOptionalExample:
http://api.example.org/accounts/?offset=200&limit=100get/server-info/
GET /server-info/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"backend_version": "text",
"authentication_type": [
"text"
],
"infrastructure_type": "text",
"operating_system": "text",
"operating_system_version": "text",
"db_engine": "text",
"ocs_configuration": null,
"python_version": "text",
"python_libs_version": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}get
This class will define the general view behavior for the framework
Args: viewsets ([ModelViewSet])
Authorizations
AuthorizationstringRequired
Token-based authentication with required prefix "Token"
Path parameters
namestringRequired
A unique value identifying this config.
Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success
backend_versionstring · nullableRequired
authentication_typestring[]Required
infrastructure_typestring · nullableRequired
operating_systemstring · nullableRequired
operating_system_versionstring · nullableRequired
db_enginestring · nullableRequired
ocs_configurationanyRequired
python_versionstring · nullableRequired
get/server-info/{name}/
GET /server-info/{name}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
"backend_version": "text",
"authentication_type": [
"text"
],
"infrastructure_type": "text",
"operating_system": "text",
"operating_system_version": "text",
"db_engine": "text",
"ocs_configuration": null,
"python_version": "text",
"python_libs_version": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}Last updated

