GET /vAppRestorePoints/{ID}
Returns a resource representation of a vApp restore point having the specified ID.
Supported Platforms
The request is supported for the VMware Cloud Director platform.
Request
To get a vApp restore point, send the GET HTTP request to the URL of the /vAppRestorePoints/{ID} resource.
HTTP Request
GET https://<Enterprise-Manager>:9398/api/vAppRestorePoints/{ID} |
Request Headers
The request contains the following headers:
Header | Required | Description |
---|---|---|
X-RestSvcSessionId | True | The request requires authorization. In the header, the client must send a session ID copied from the server reply to the request creating a new logon session. For details, see Authentication and Security. |
Accept | False | Identifies the format of the response. Possible values:
If the request does not contain the header, the server will return the response in the XML format. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message. Possible values:
|
Response Body
In the response body, the REST API returns an entity or an entity reference of the /vAppRestorePoints/{ID} resource. The resource entity contains the following parameters and links.
Parameters
Element | Type | Description |
---|---|---|
UID | UidType | UID of the vApp point resource. |
Name | String | Name of the vApp restore point, for example: vApp02@2014-08-24 05:03:25. |
CreationTime | DateTime | Date and time when the vApp restore point was created. The parameter accepts only UTC-formatted DateTime values. |
Algorithm | String | Backup method used to create the vApp restore point. Possible values:
|
PointType | String | Type of the vApp restore point. Possible values:
|
HierarchyObjRef | HierarchyObjRefType | Reference to the vApp. |
To view query parameters that you can use for filtering or sorting, see GET /query?type=vAppRestorePoint.
Links
Reference | Relationship | Description |
---|---|---|
/vAppRestorePoints/{ID}?action=restore | Restore | URL for the POST /vAppRestorePoints/{ID}?action=restore request. |
/backupServers/{ID} | Up | URL of the /backupServers/{ID} resource — a backup server that created the restore point. |
/restorePoints/{ID}/ | Up | URL of the /restorePoints/{ID} resource — a parent restore point. |
/vAppRestorePoints//{ID} | Alternate | Alternate URL of the /vAppRestorePoints/{ID} resource. |
Example
The example below returns an entity resource representation of a vApp restore point having ID f920aeea-b75a-4687-88ae-09d07c83ca63.
Request: GET https://localhost:9398/api/vAppRestorePoints/f920aeea-b75a-4687-88ae-09d07c83ca63?format=Entity
Request Header: X-RestSvcSessionId NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj
Response: 200 OK
Response Body: <?xml version="1.0" encoding="utf-8"?> |