How to access public folder via REST API ?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Geathaa

How to access public folder via REST API ?

Postby Geathaa » Thu Mar 08, 2007 12:43 pm

Hi,

I created a public folder named "MyPublicCalendar", this public folder (obviously) contains calendar type elements. Is it possible to query appointments in this public calendar using SCALIX's REST API? For "normal" users this is done by sending a GET request to the following URL:

Code: Select all

 http(s)://host:port/api/Max.Mustermann@Company.com/mailbox


What is the syntax for public folders?

jeffs
Posts: 30
Joined: Thu Mar 08, 2007 5:37 pm
Location: Cincinnati, OH

Postby jeffs » Thu Mar 08, 2007 10:11 pm

Something you might want to try - I can attach to a public calendar in Mozilla Sunbird using ical this way:

Code: Select all

http://mail.company.com:port/api/Max.Mustermann@company.com/ical/Public%20Folders/MyPublicCalendar


The "ical" request is just a "mailbox" request with some of the "?" modifiers from the API guide - but at the moment the exact list escapes me.

hth

Jeff

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Fri Mar 09, 2007 2:48 am

Note that the user must be created as a premium user for it to be able to access public folders.

Florian.
Florian von Kurnatowski, Die Harder!

Geathaa

Postby Geathaa » Fri Mar 09, 2007 9:13 am

Thanks for your help, I'll try this as soon as possible. Never heard of a service "ical" though. The API documentation under

Code: Select all

 http(s)://host:port/api/docs


(Scalix 11) only mentions and details 4 possible services:
- mailbox
- search
- delivery
- freebusy

Is a documentation available that is more detailed or more up-to-date?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Fri Mar 09, 2007 10:16 pm

The documentation is there. The ical service is an alias for the mailbox service with the o=ical option.

Documented in the online doc.

Florian.
Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 6 guests

cron