FHIR Chat · return oo on not accepted subscription? · subscriptions

Stream: subscriptions

Topic: return oo on not accepted subscription?


view this post on Zulip Christiaan Knaap (Sep 13 2017 at 17:58):

Spec on the subscription page is not very clear on what to return if a server cannot honour a POSTed subscription. Eg. because the channel is not supported or one of the criteria is not supported. I think returning an OO with the issues and not storing the Subscription is the expected thing to do?

view this post on Zulip Grahame Grieve (Sep 13 2017 at 18:13):

can store as in error

view this post on Zulip Christiaan Knaap (Sep 13 2017 at 19:33):

Yes I could, but then the client would only know it he (a) has prefer:return=representation and (b) analyzes the status in there. I think returning an OO is clearer. Could store it anyway, but what would be the point of storing a subscription that is in error from the start?

view this post on Zulip Grahame Grieve (Sep 13 2017 at 19:53):

I didn't say which was better. just what you could do


Last updated: Apr 12 2022 at 19:14 UTC