Get public information
GET /configuration
Returns public information about the Oneprovider service.
This endpoint does not require authentication.
Example cURL requests
Get public information about the Oneprovider service
curl -X GET "https://$HOST/api/v3/oneprovider/configuration"
{
"providerId": "c4798eb2dbd2486fae940e6fa0a5071d",
"name": "ProviderName",
"domain": "zone.domain.org",
"onezoneDomain": "example.domain.org",
"version": "R14B04",
"build": "14-g0d0fd5b",
"compatibleOnezoneVersions": ["R13B04, R14B04"],
"compatibleOneproviderVersions": ["R14B04"],
"compatibleOneclientVersions": ["R14B04"]
}
Request Examples
Shell
oneprovider-rest-cli getConfigurationResponses
application/json
200
Configuration returned successfully.
Property
Type & Description
providerId
string
Id of the Oneprovider
name
string
Oneprovider's name
domain
string
Oneprovider's domain
onezoneDomain
string
Domain of the Onezone where this Oneprovider is registered
version
string
Version of this Oneprovider
build
string
Build number of this Oneprovider
compatibleOnezoneVersions
array of strings
List of compatible Onezone versions
compatibleOneproviderVersions
array of strings
List of compatible Oneprovider versions
compatibleOneclientVersions
array of strings
List of compatible Oneclient versions
500
Internal server error.
Property
Type & Description
error
string
Identifier representing internal error code.
error_description
string
Detailed error message.
Example
application/json
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}