List Subscriptions
Lists the subscriptions of the published library. if you do not have all of the privileges described as follows: - The resource com.vmware.content.Library referenced by the parameter library requires System.Read.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the published library. The parameter must be an identifier for the resource type: com.vmware.content.Library.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
array
of
LibrarySubscriptionsSummary
of type application/json
List of commonly used information about subscriptions of the published library.
[
{
"subscribed_library": "string",
"subscribed_library_name": "string",
"subscribed_library_vcenter_hostname": "string",
"subscription": "string"
}
]
Identifier of the subscribed library. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.content.Library. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.content.Library.
Name of the subscribed library.
Identifier of the subscription. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.content.library.Subscriptions. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.content.library.Subscriptions.
Hostname of the vCenter instance where the subscribed library exists. This field is unset if the subscribed library is on the same vCenter Server instance as the published library.
Errors
com.vmware.vapi.std.errors.invalid_element_type : If the library specified by library is a subscribed library. | com.vmware.vapi.std.errors.not_allowed_in_current_state : If the library specified by library is not a published library.
com.vmware.vapi.std.errors.unauthenticated : If the user that requested the operation cannot be authenticated.
com.vmware.vapi.std.errors.unauthorized : If the user that requested the operation is not authorized to perform the operation.
com.vmware.vapi.std.errors.not_found : If the library specified by library does not exist.
com.vmware.vapi.std.errors.error : If the system reports an error while responding to the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/com/vmware/content/library/subscriptions
x-vmw-doc-operation: list