Manipulate my Calendar data via CRUD RESTful using Calendar CalDAV? Endpoint

What?

Calendar CRUD (Create, Read, Update, Delete) Endpoint Service.

Why?

Using CRUD RESTful Endpoint service provides an easy way to manage calendar tasks/events.

How?

Knowing an Calendar CRUD Endpoint Service endpoint URL, one can perform the following activities:

Example with Calendar instance that has Member model from type "Closed" and is not set "Visible to public"

  1. Suppose a user, for ex. "demo", has created Calendar instance with name "demoCalendar" and Member model is "Closed":



  2. Mount the Calendar CalDAV? Endpoint URL http://localhost:8890/DAV/home/demo/calendars/demoCalendar/>











  3. Drop a .vcf file, for ex. demo-calendar.ics into the mapped CalDAV? Calendar folder:



  4. The user demo's Calendar Dataspace instance UI now should show under "Tasks"/"Events" the new imported task(s)/event(s):







  5. Generate an X.509 Certificate hosted WebID for user "demo" WebID?.
  6. Secure your SPARQL Endpoint via user "demo" WebID, for ex.:

    -- user "demo" WebID: http://localhost:8890/dataspace/person/demo#this -- SPARQL-WebID Endpoint: -- https://localhost:4433/sparql-webid

  7. Access the SPARQL-WebID? Endpoint.
  8. When challenged for authentication select the generated from above certificate for user "demo":



  9. The SPARQL-WebID? Endpoint UI should be presented:



  10. Enter the following query:

    SELECT * FROM <http://localhost:8890/dataspace/protected/demoCalendar> WHERE {?s ?p ?o}





  11. As result no rows are found.

Example with Calendar instance that has Member model from type "Opened" and is set "Visible to Public"

  1. Suppose a user, for ex. "demo", has created Calendar instance with name "demoCalendar" and Member model is "Opened" and is set "Visible to Public".



  2. Mount the Calendar CalDAV? Endpoint URL http://localhost:8890/DAV/home/demo/calendars/demoCalendar/>











  3. Drop a .ics file, for ex. * demo-calendar.ics into the mapped CalDAV? Calendar folder:



  4. The user demo's Calendar Dataspace instance UI now should show under "Tasks"/"Events" the new imported task(s)/event(s):



  5. Access the SPARQL Public Endpoint.



  6. Suppose there is inserted from above task with id= 1032
  7. Enter the following query:

    SELECT * FROM <http://localhost:8890/dataspace> WHERE { <http://localhost:8890/dataspace/demo/calendar/demoCalendar/Task/1032#this> ?p ?o }





  8. Click "Run Query".
  9. As result the freshly inserted RDF Data for the task in question will be displayed:



Related