Get Subscribed Library
DescriptionReturns a given subscribed library. if you do not have all of the privileges described as follows: - The resource com.vmware.content.Library referenced by the parameter libraryId requires System.Read.
Request
URLURL
https://{api_host}/rest/com/vmware/content/subscribed-library/id:{library_id}
Parameters
Parameters
string
library_id
Required
Identifier of the subscribed library to return.
The parameter must be an identifier for the resource type: com.vmware.content.Library.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
SubscribedLibraryGetResponseBody
of type application/json
The LibraryModel instance that corresponds to libraryId.
{
"value": {
"creation_time": "string",
"description": "string",
"id": "string",
"last_modified_time": "string",
"last_sync_time": "string",
"name": "string",
"optimization_info": {
"optimize_remote_publishing": false
},
"publish_info": {
"authentication_method": "enum",
"current_password": "string",
"password": "string",
"persist_json_enabled": false,
"publish_url": "string",
"published": false,
"user_name": "string"
},
"server_guid": "string",
"storage_backings": [
{
"datastore_id": "string",
"storage_uri": "string",
"type": "enum"
}
],
"subscription_info": {
"authentication_method": "enum",
"automatic_sync_enabled": false,
"on_demand": false,
"password": "string",
"source_info": {
"source_library": "string",
"subscription": "string"
},
"ssl_thumbprint": "string",
"subscription_url": "string",
"user_name": "string"
},
"type": "enum",
"version": "string"
}
}
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/com/vmware/content/subscribed-library/id:{library_id}
Errors
400
com.vmware.vapi.std.errors.invalid_element_type : if the library associated with libraryId is not a subscribed library.
404
com.vmware.vapi.std.errors.not_found : if the library associated with libraryId does not exist.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.
Subscribed Library Operations
delete