REST API - info

vcenter trust subscriptions: info

This API is used by client to request for detailed information of a specific susbcription. It is queried using subscription id. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

GET https://{server}/rest/vcenter/trust/subscriptions/{subscription}

?action=info

Path Parameters

Name Type Description
Required
subscription string The subscription id.

Request Query Parameters:

None

Response:

HTTP Status Code: 200

Representation:

{
    "value"{
        "send_results"true,
        "content_type""string",
        "expiration""string",
        "subscription""string",
        "notification_endpoint""string",
        "query_string""string"
    }
}

Response Type:

Name Type Description
bold = required
value info_details information class.
value.subscription string Subscription Id, which is the primary key in subscription database. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

value.expiration string The expiration datetime. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

value.notification_endpoint string The notification endpoint url. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

value.send_results boolean If the sendResults is set, the actual change will be sent. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. the default is null.

value.content_type string If the optional contentType is specified, the notifcation will be sent using the data-source specific (see HEAD) content type. The default is the JSON-RPC defined "NotificationEvent". Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

value.query_string string The query string. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Errors:

HTTP Status Code Type Description
403 unauthorized unauthorized
400 invalid_request invalid request
404 not_found not found
500 error all other errors