Create Subscriptions
Released in v6.7.2Creates a subscription 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 ContentLibrary.AddSubscription.
Request
URLURL
Parameters
Parameters
Header Parameters
Header Parameters
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Request Body
LibrarySubscriptionsCreateRequestBody of type application/json (required){
"spec": {
"subscribed_library": {
"location": "enum",
"placement": {
"folder": "string",
"resource_pool": "string"
},
"target": "enum"
}
}
}
A unique token generated on the client for each creation request. The token should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751. This token can be used to guarantee idempotent creation. If not specified, creation is not idempotent.
Response
Response BodyResponse Body
Subscription identifier. The result will be an identifier for the resource type: com.vmware.content.library.Subscriptions.
{
"value": "string"
}
Subscription identifier. The result will be an identifier for the resource type: com.vmware.content.library.Subscriptions.