I didn't get reply to this part of the thread, so resending in hope to
get some response.

On 03/12/2015 01:15 PM, Julien Kerihuel wrote:
> GET /folders/0/folders will retrieve the hierarchy of the NON IPM Subtree

So, here I could return empty array or 404 error?

> GET /folders/1/folders will retrieve the hierarchy of IPM Subtree (where
> Inbox, Calendar, etc. are)

Should the list contain folders on one level of hierarchy or the whole
tree? I suppose one level (according to parent_id).

> I will get back to you later today with a sample output of the rest
> backend in case you can't get it to work properly in the meanwhile.

That would be great.

> In Outlook, you can have n calendars at the same level or a hierarchy of
> calendar objects if you want to.

I'm curious how it handles non-existing/non-accessible folders in
hierarchy. E.g. where I have a tree:

Shared Folders
    Calendars
        Some calendar

and "Shared Folders" is a namespace root which is not accessible and
"Calendars" might be also a non-existing folder, but is there because
IMAP allows such hierarchy.

Am I right that I need to return all of these folders and handle their
access in appropriate way (returning empty results on read and error on
write)?

-- 
Aleksander Machniak
Software Developer, Kolab Systems AG
-------------------------------------------------------
PGP:19359DC1  -  http://kolabsys.com  -  http://alec.pl
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to