New webservice API
Dirk Hohndel
dirk at hohndel.org
Sun Jan 27 10:05:42 PST 2013
On Jan 27, 2013, at 1:42 AM, Pierre-Yves Chibon wrote:
> Hi,
>
> I have spent the afternoon trying to re-design the API to make it a little more
> as it should have been from the beginning.
>
> Changes includes:
> - change in the routes/urls
> - concerns everything, all the user part is under /api/user/{new,lost}/ and
> all the dive part is under /api/dive/{add,get}/
> - change in the request mode to use
> - POST is used to upload new dives
> - GET is used to retrieve someone's dives
> - the header 'Content-Type: text/xml' has to be used to retrieve the dives in
> xml format instead of the default json.
>
> All these changes are in the 'new_api' branch of the git, I will not merge
> before I get your ok as it will requires some changes on the Android application
> as well as the desktop application.
>
> Let me know what you think of the changes and what can be changed/improved.
>
> There is still one thing I need to work on though, the possibility to delete
> your user and with it all your dives.
Pierre, could you post a brief API description, noting what is implemented and what you are still planning to add?
Thanks
/D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4130 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130127/466a1970/attachment.bin>
More information about the subsurface
mailing list