Thread: REST Api
View Single Post
  #2 (permalink)  
Old 11-20-2009, 05:37 AM
stiller stiller is offline
Partner (VAR/HSP)
 
Posts: 92
Default

Sorry to bump own post, but I think the REST API deserves some discussion.
After having worked my way through the somewhat terse REST.txt documentation and experimenting with the various calls, I have come to a few conclusions:

- The JSON returned through the REST interface is not deemed valid by several frameworks and online tools. Not sure why.
- Zimbra does not seem to support sending messages through a POST interface
- POSTing new content only seems to be supported for a few object types such as MIME or vcards? Allowing zimbra to create contacts, tasks, events etc. through JSON REST calls would be much more flexible.
- No DELETE?
- Updating an item is not an explicit function, but simply posting it again with a modify flag. Should be PUT.

That's all the time I had. Meanwhile, using a competing product and some JS frameworks, I was able to create a proof-of-concept client in a week. These are some very powerful concepts without the tight coupling of the XML/JSON API.
__________________
Snelbij | Uw informatie ter beschikking.
https://www.snelbij.nl
Reply With Quote