openmhealth / developer

Deprecated developer documentation and reference implementation repository
44 stars 17 forks source link

Allow callback for every (non-auth) API #4

Open jojenki opened 11 years ago

jojenki commented 11 years ago

Add callbacks to the APIs.

jshslsky commented 11 years ago

Why not authentication?

jojenki commented 11 years ago

These are very structured. At least, it would be a violation of the specification; at most, it "feels dangerous" to allow people to immediately perform function on them. They should, probably, just store the data or maybe we should even do that for them as a cookie or something.

jshslsky commented 10 years ago

If callback here is synonymous with "push", that is a good thing. The 1.1 spec should include an optional way for clients to register for data callbacks.