Get Recovery Point Details

The get the recovery point details, use the following request: 

GET /virtual_machines/:virtual_machine_id/backups/recovery_points/recovery_point_id.xml
GET /virtual_machines/:virtual_machine_id/backups/recovery_points/recovery_point_id.json 

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/virtual_machines/12/backups/recovery_points/recovery_point_id.xml

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/virtual_machines/12/backups/recovery_points/recovery_point_id.json 

XML Output Example

<recovery-point>
	<id type="integer">825</id>
	<size type="integer">5368709120</size>
	<state>available</state>
	<virtual-machine-id type="integer">3024</virtual-machine-id>
	<resource-id type="integer">62</resource-id>
	<created-at type="dateTime">2018-08-08T08:00:11+03:00</created-at>
	<updated-at type="dateTime" nil="true"/>
</recovery-point>

Where: 

recovery_point - the array of recovery point parameters

id - the ID of the recovery point

size - the size of the backup in bytes from which the VS can be restored  

state - the status that indicates whether the backup is built

virtual_machine_id - the ID of the virtual server 

resource_id - the ID of the backup resource on which the backup is created

created_at - the date when the recovery point was created in the [YYYY][MM][DD]T[hh][mm][ss] format

updated_at - the date when the recovery point was updated in the [YYYY][MM][DD]T[hh][mm][ss] format