POST /calendar/feeds/default/private/full HTTP/1.1Host: www.google.com Authorization: ... Content-Type: application/jsonGData-Version: 2.0 Content-Length: 233{ "data": { "title": "Tennis with Beth", "details": "Meet for a quick lesson.", "transparency": "opaque", "status": "confirmed", "location": "Rolling Lawn Courts", "when": [ { "start": "2010-04-17T15:00:00.000Z", "end": "2010-04-17T17:00:00.000Z" } ] }}
POST /calendar/feeds/default/private/full HTTP/1.1Host: www.google.com Authorization: ...Content-Type: application/atom+xmlGData-Version: 2.0 Content-Length: 571<entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http://schemas.google.com/g/2005'> <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'/> <title type='text'>Tennis with Beth</title> <content type='text'>Meet for a quick lesson.</content> <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'/> <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'/> <gd:where valueString='Rolling Lawn Courts'/> <gd:when startTime='2006-04-17T15:00:00.000Z' endTime='2006-04-17T17:00:00.000Z'/></entry>
GET /calendar/feeds/default/private/full/1234567890?alt=jsonc HTTP/1.1Host: www.google.comAuthorization: ...GData-Version: 2.0
HTTP/1.1 200 OKContent-Type: application/json; charset=UTF-8...{ "apiVersion": "2.3", "data": { "title": "Tennis with Beth", "details": "Meet for a quick lesson.", "location": "Rolling Lawn Courts", ... }}
Posted by Nicolas Garnier, Google Calendar API Team
Want to weigh in on this topic? Discuss on Buzz