Request

POST /calendar_list/
Content-Type: application/json
{
    "calendar": "/api/v1/vosae_calendar/5231ccd04ab63c53dc900570/"
}

Response

201 Created
Content-Type: application/json
Location: /calendar_list/5231ccd04ab63c53dc900571/
{
    "is_own": true, 
    "description": null, 
    "color": "#44b2ae", 
    "selected": false, 
    "reminders": [], 
    "summary": "My Calendar", 
    "location": null, 
    "timezone": "Europe/Paris", 
    "calendar": "/api/v1/vosae_calendar/5231ccd04ab63c53dc900570/", 
    "summary_override": null, 
    "id": "5231ccd04ab63c53dc900571", 
    "resource_uri": "/api/v1/calendar_list/5231ccd04ab63c53dc900571/"
}

Request

POST /calendar_list/
Content-Type: application/xml
<object>
  <calendar>/api/v1/vosae_calendar/5231ccd04ab63c53dc900570/</calendar>
</object>

Response

201 Created
Content-Type: application/xml; charset=utf-8
Location: /calendar_list/5231ccd04ab63c53dc900572/
<object>
  <is_own type="boolean">True</is_own>
  <description type="null"/>
  <color>#44b2ae</color>
  <selected type="boolean">False</selected>
  <reminders type="list"/>
  <summary>My Calendar</summary>
  <location type="null"/>
  <timezone>Europe/Paris</timezone>
  <calendar>/api/v1/vosae_calendar/5231ccd04ab63c53dc900570/</calendar>
  <summary_override type="null"/>
  <id>5231ccd04ab63c53dc900572</id>
  <resource_uri>/api/v1/calendar_list/5231ccd04ab63c53dc900572/</resource_uri>
</object>

Request

POST /calendar_list/
Content-Type: text/yaml
{calendar: !!python/unicode '/api/v1/vosae_calendar/5231ccd04ab63c53dc900570/'}

Response

201 Created
Content-Type: text/yaml; charset=utf-8
Location: /calendar_list/5231ccd04ab63c53dc900573/
calendar: !!python/unicode '/api/v1/vosae_calendar/5231ccd04ab63c53dc900570/'
color: !!python/unicode '#44b2ae'
description: null
id: !!python/unicode '5231ccd04ab63c53dc900573'
is_own: true
location: null
reminders: []
resource_uri: !!python/unicode '/api/v1/calendar_list/5231ccd04ab63c53dc900573/'
selected: false
summary: !!python/unicode 'My Calendar'
summary_override: null
timezone: !!python/unicode 'Europe/Paris'