![AMX DTV VISION2 INTEGRATION - DIAGRAM Operation/Reference Manual Download Page 14](http://html1.mh-extra.com/html/amx/dtv-vision2-integration-diagram/dtv-vision2-integration-diagram_operation-reference-manual_2938670014.webp)
API Commands
8
Vision
2
API Guide
Archive Commands
The following section lists the API commands available for the Archive service.
v2Archive_DeleteVideo
Deletes the specified video from the specified archive.
v2Archive_GetDiskSpace
Obtains the free and used space on the disk being used by the specified archive.
v2Archive_GetLastUpdateTime
Obtain the date and time that the specified archive was last updated.
Parameters
sArchiveID
The ID of the Archive containing the video
sVideoID
The ID of the video to be deleted
<?xml version="1.0" encoding="utf-8" ?>
<v2>
<result>OK</result>
</v2>
PRGM EX. 1
v2Archive_DeleteVideo Sample XML
Parameters
sServiceID
The service ID of the Vision
2
archive
<v2>
<result>OK</result>
<freespace>
<entry label="Free Space 59.02 GBytes" data="59.0183" />
<entry label="Used Space 406.74 GBytes" data="406.741" />
</freespace>
</v2>
PRGM EX. 2
v2Archive_GetDiskSpace Return XML
The data values are always returned in Gigabytes.
Parameters
sServiceID
The service ID of the Vision
2
archive