CalDAV Property

캘린더 Property

1
2
3
4
5
6
7
8
9
10
11
12
13
PROPFIND /calendars/jdoe/home HTTP/1.1
Host: example.com
Content-Type: application/xml; charset=utf-8
Depth: 0

<?xml version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
  <D:prop>
    <D:getetag/>
    <D:displayname/>
    <C:max-resource-size xmlns:C="urn:ietf:params:xml:ns:caldav"/>
  </D:prop>
</D:propfind>

cf. PROPFIND 란

캘린더 컴포넌트(이벤트) 프로퍼티

1
2
3
4
5
6
7
8
9
10
11
PROPFIND /calendars/jdoe/home/1234567890.ics HTTP/1.1
Host: example.com
Content-Type: application/xml; charset=utf-8
Depth: 0

<?xml version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
  <D:prop>
    <C:calendar-data/>
  </D:prop>
</D:propfind>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
HTTP/1.1 200 OK
Content-Type: text/calendar; charset=utf-8
Content-Length: 375

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Example Corp.//CalDAV Server//EN
BEGIN:VEVENT
UID:1234567890@example.com
DTSTAMP:20230421T170000Z
DTSTART:20230501T090000Z
DTEND:20230501T100000Z
SUMMARY:Team meeting
DESCRIPTION:Weekly team meeting to discuss project updates.
LOCATION:Conference room 2
END:VEVENT
END:VCALENDAR

cf. iCalendar 란