Returns public configuration of Onezone service.
Returns public information about the Onezone service.
This endpoint does not require authentication.
Example cURL requests
Get public information about the Onezone service
curl https://$ZONE_HOST/api/v3/onezone/configuration
{
"name": "Example zone",
"domain": "zone.example.com",
"version": "25.1",
"build": "g52dbeca23",
"subdomainDelegationSupported": true,
"compatibleOneproviderVersions": [
"20.02.1",
"20.02.2",
"25.1"
],
"compatibilityRegistryRevision": 2022122100,
"supportedIdPs": [
{
"id": "google",
"offlineAccess": true
},
{
"id": "basicAuth",
"offlineAccess": false
}
],
"availableSpaceTags": {
"general": [
"big-data",
"demo",
"open-data",
"simulation"
],
"domains": [
"agriculture",
"forestry",
"justice",
"science"
]
}
}
Request Examples
onezone-rest-cli getConfigurationResponses
Configuration returned successfully.
Onezone's name
Onezone's cluster domain
Version of this Onezone service
Build number of this Onezone service
If true, registering Oneproviders are allowed to request subdomains of the Onezone domain for use as their domains.
List of compatible Oneprovider versions
Revision of the compatibility registry enforced by this Onezone service
supportedIdPs array of objects List of IdPs supported by Onezone
List of IdPs supported by Onezone
The identifier of the IdP
Determines whether given IdP can be used in the offline access flow, i.e. Onezone can acquire access tokens in the IdP without the user being logged in.
A map of tag categories and corresponding available tags for each category.
Space tag is a short keyword or phrase that helps to understand the purpose of a space. Tag categories and available tags are arbitrary strings configured by the Onezone admin.
Example
{
"name": "Example zone",
"domain": "zone.example.com",
"version": "25.1",
"build": "g52dbeca23",
"subdomainDelegationSupported": true,
"compatibleOneproviderVersions": [
"20.02.1",
"20.02.2",
"25.1"
],
"compatibilityRegistryRevision": 2022122100,
"supportedIdPs": [
{
"id": "google",
"offlineAccess": true
},
{
"id": "basicAuth",
"offlineAccess": false
}
],
"availableSpaceTags": {
"general": [
"big-data",
"demo",
"open-data",
"simulation"
],
"domains": [
"agriculture",
"forestry",
"justice",
"science"
]
}
}Internal server Error.
error object Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}