That sounds about right to me. One question, for what resources do we want to allow PUT, which is basically putting ? For example don't think we would want to make it possible to put whole requisition objects.
Also important to note about PUT is that it should be idempotent, so sending the same request
multiple times should have the same result.
Regards,
Paweł
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/E169907E-8C9D-4644-9804-10292DE0DC7F%40villagereach.org.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/9da74319-43d9-5a65-3db8-70226a065cbe%40soldevelo.com.
Hey Pawel,
I think we would mainly allow PUT for resources that are simple for CRUD, like reference data.
Shalom,
Chongsun
--
There are 10 kinds of people in this world; those who understand binary, and those who don’t.
Chongsun Ahn | chongsun.ahn@villagereach.org
Software Development Engineer2900 Eastlake Ave. E, Suite 230, Seattle, WA 98102, USADIRECT: 1.206.512.1536 CELL: 1.206.910.0973 FAX: 1.206.860.6972SKYPE: chongsun.ahn.vr
On Sep 15, 2016, at 2:33 AM, Paweł Gesek <pge...@soldevelo.com> wrote:
That sounds about right to me. One question, for what resources do we want to allow PUT, which is basically putting ? For example don't think we would want to make it possible to put whole requisition objects.
Also important to note about PUT is that it should be idempotent, so sending the same request multiple times should have the same result.
Regards,
Paweł
On 15.09.2016 08:59, Chongsun Ahn wrote:
Hey everyone,
As we continue to work on designing and implementing REST APIs for the different services, Josh and I would like to propose guidelines for PUT and POST endpoints. I quickly wrote up a document outlining the proposal. It is on the wiki at:
Feedback is appreciated.
Shalom,
Chongsun
--
There are 10 kinds of people in this world; those who understand binary, and those who don’t.
Chongsun Ahn | chongsun.ahn@villagereach.org
Software Development Engineer2900 Eastlake Ave. E, Suite 230, Seattle, WA 98102, USADIRECT: 1.206.512.1536 CELL: 1.206.910.0973 FAX: 1.206.860.6972SKYPE: chongsun.ahn.vr
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/E169907E-8C9D-4644-9804-10292DE0DC7F%40villagereach.org.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/9da74319-43d9-5a65-3db8-70226a065cbe%40soldevelo.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/7D11A464-C313-456A-AAA3-3168B55A9550%40villagereach.org.