To get the current WCAP version.
Parameter |
Type |
Purpose |
Required |
Default |
---|---|---|---|---|
fmt-out |
string |
The format for the returned data. The three format types: text/calendar text/xml |
N |
text/calendar |
This command gets the current WCAP version. (Note: this is different from the server version as well as the HTTP version.)
The commands supports output types iCal and XML. The variable X-NSCP-WCAPVERSION contains the WCAP version number.
The following examples are for each of output data types.
iCalendar:
http://calendarserver/version.wcap ?fmt-out=text/calendar
BEGIN:VCALENDAR PRODID:-//iPlanet/Calendar Hosting Server//EN METHOD:PUBLISH VERSION:2.0 X-NSCP-WCAPVERSION:2.0.0 END:VCALENDAR
XML:
http://calendarserver/version.wcap ?fmt-out=text/xml
<?xml version="1.0" encoding="UTF-8"?\> <iCalendar\> <iCal version="2.0" prodid="-//iPlanet/Calendar Hosting Server//EN"\> <X-NSCP-WCAPVERSION\>2.0.0</X-NSCP-WCAPVERSION\> </iCal\> </iCalendar\>