Not logged in : Login
(Sponging disallowed)

About: EntryPoint - calendar_subscription_new     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : schema:EntryPoint, within Data Space : kingsley.idehen.net associated with source document(s)
QRcode icon
http://kingsley.idehen.net/describe/?url=http%3A%2F%2Fkingsley.idehen.net%2FDAV%2FVAD%2FCalendar%2Fwww%2FAPI_calendar.ttl%23action_calendar.subscription.new

ODS Calendar can subscribe to external calendars and integrate the events and tasks into its own. This function allows to set up such a subscription to an iCal file. inst_id The id of the Calendar app instance. See ODS App Instance Ids for details. name A user-readable name for the new subscription. updateType Can be one of: 1 - The subscription is updated manually via calendar.subscription.sync()2 - The subscription is updated based on the schedule set via updatePeriod and updateFreq. updatePeriod Can be one of "daily" and "hourly". Only used for the scheduled updating. updateFreq Specifies the frequency of the scheduled updates. Depending on the value of updatePeriod the subscription is updated every N days or hours. sourceType Can be one of the following: "webdav" - In this case the source is a WebDAV path."caldav" - In this case the source is a CalDAV path."url" - In this case the source is a URL. source The location from where the events and tasks should be fetched (depends on the value of sourceType) userName An optional userName which might be required to access the source. userPassword The password for the given userName. events If 1 events are included. tasks If 1 tasks are included. An error code stating the success of the command execution as detailed in ODS Error Result Codes. If successful the error code matches the numerical id of the newly created subscription. Example: $ curl -i "http://kingsley.idehen.net/ods/api/calendar.subscription.new?inst_id=148&name=testsubscr23&source=DAV/home/demo/Public/Demo_PUB_Calendar.ics&destinationType=WebDAV&userName=demo&userPassword=demo&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 21:59:21 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 58 21 Success

AttributesValues
type
Description
  • ODS Calendar can subscribe to external calendars and integrate the events and tasks into its own. This function allows to set up such a subscription to an iCal file.

  • inst_id

    The id of the Calendar app instance. See ODS App Instance Ids for details.

  • name

    A user-readable name for the new subscription.

  • updateType

    Can be one of:

    1 - The subscription is updated manually via calendar.subscription.sync()

    2 - The subscription is updated based on the schedule set via updatePeriod and updateFreq.

  • updatePeriod

    Can be one of "daily" and "hourly". Only used for the scheduled updating.

  • updateFreq

    Specifies the frequency of the scheduled updates. Depending on the value of updatePeriod the subscription is updated every N days or hours.

  • sourceType

    Can be one of the following:

    "webdav" - In this case the source is a WebDAV path.

    "caldav" - In this case the source is a CalDAV path.

    "url" - In this case the source is a URL.

  • source

    The location from where the events and tasks should be fetched (depends on the value of sourceType)

  • userName

    An optional userName which might be required to access the source.

  • userPassword

    The password for the given userName.

  • events

    If 1 events are included.

  • tasks

    If 1 tasks are included.

An error code stating the success of the command execution as detailed in ODS Error Result Codes. If successful the error code matches the numerical id of the newly created subscription.

Example:
 $ curl -i "http://kingsley.idehen.net/ods/api/calendar.subscription.new?inst_id=148&name=testsubscr23&source=DAV/home/demo/Public/Demo_PUB_Calendar.ics&destinationType=WebDAV&userName=demo&userPassword=demo&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh"

 HTTP/1.1 200 OK
 Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64  VDB
 Connection: Keep-Alive
 Date: Tue, 24 May 2011 21:59:21 GMT
 Accept-Ranges: bytes
 Content-Type: text/xml; charset="UTF-8"
 Content-Length: 58

 <result>
   <code>21</code>
   <message>Success</message>
 </result>
 

name
  • EntryPoint - calendar_subscription_new
url
contentType
  • text/xml
httpMethod
  • GET
isWebServiceOf
oplwebservices:endPointURL
hasParameter
schema:shortDescription
  • Create a new calendar subscription.

is target of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: PivotViewer | iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory, 6 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software