Content SubscribedLibrary probe
Probes remote library subscription information, including URL, SSL certificate and password. The resulting Content SubscribedLibrary ProbeResult schema describes whether or not the subscription configuration is successful.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires
ContentLibrary.ProbeSubscription
.
Request body for invoking operation: probe
Show optional properties
{
"subscription_info": {}
}
{
"subscription_info": {
"authentication_method": "string",
"automatic_sync_enabled": false,
"on_demand": false,
"password": "string",
"ssl_thumbprint": "string",
"subscription_url": "string",
"user_name": "string",
"source_info": {
"source_library": "string",
"subscription": "string"
},
"ssl_certificate": "string"
}
}
The Content Library SubscriptionInfo schema defines the subscription behavior for a subscribed library.
The subscription info probe result.
"Content SubscribedLibrary ProbeResult Object"
The status of probe result. This will be one of Status.
For more information see: Content SubscribedLibrary ProbeResult Status.
The SSL thumbprint for the remote endpoint.
A SSL thumbprint is only returned if the host is secured with SSL/TLS.
The SSL certificate for the remote endpoint.
This property was added in vSphere API 9.0.0.0.
A SSL certificate is only returned if the host is secured with SSL/TLS and if the {SubscribedLibrary#sslCertificate} is also set.
If the probe result is in an error status, this property will contain the detailed error messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"subscription_info:"object"}' https://{api_host}/api/content/subscribed-library?action=probe