Get provider details
Returns the basic configuration information of the provider.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getProvider --host https://$OP_PANEL_HOST:9443Responses
The provider configuration details.
The Id assigned by a zone.
The name under which the Oneprovider has been registered in a zone.
If enabled, the storage Oneprovider has a subdomain in onezone's domain and 'subdomain' property must be provided.
Unique subdomain in onezone's domain for the Oneprovider. Required if subdomain delegation is enabled.
The fully qualified domain name of the Oneprovider or its IP address (only for single-node deployments or clusters with a reverse proxy).
Email address of the Oneprovider administrator. Omitted if it could not be retrievied.
The geographical longitude of the Oneprovider.
The geographical latitude of the Oneprovider.
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.
error object (ErrorDetails) 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."
}
}Services needed to fulfill this request are not running.