Get provider details
Returns the basic configuration information of the provider.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getProvider --host https://$HOST:9443Responses
The provider configuration details.
| Property | Type & Description |
|---|---|
id string The Id assigned by a zone. | |
name string The name under which the Oneprovider has been registered in a zone. | |
subdomainDelegation boolean If enabled, the storage Oneprovider has a subdomain in onezone's domain and 'subdomain' property must be provided. | |
subdomain string Unique subdomain in onezone's domain for the Oneprovider. Required if subdomain delegation is enabled. | |
domain string The fully qualified domain name of the Oneprovider or its IP address (only for single-node deployments or clusters with a reverse proxy). | |
adminEmail string Email address of the Oneprovider administrator. Omitted if it could not be retrievied. | |
geoLongitude number The geographical longitude of the Oneprovider. | |
geoLatitude number The geographical latitude of the Oneprovider. | |
onezoneDomainName string The domain name of a zone where this storage Oneprovider is registered. | |
Example
{
"id": "VAiDGZbs3k0FD8jPhyU1",
"name": "Provider1",
"subdomainDelegation": false,
"domain": "provider.example.com",
"geoLongitude": -24.3776025,
"geoLatitude": -128.3519364,
"onezoneDomainName": "onezone2.example.com"
}Unauthorized request.
Forbidden request.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Services needed to fulfill this request are not running.