Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revised JSON schema for subscribeRequest and unsubscribe interface #171 #173

Merged
merged 1 commit into from
Apr 8, 2017

Conversation

wonsuk73
Copy link
Contributor

@wonsuk73 wonsuk73 commented Apr 4, 2017

Regarding issue #171 it had been revised for

  • JSON schema of subscribeRequest in subscribe interface
  • JSON schema of unsubscribeRequest, unsubscribeSuccessResponse and unsubscribeErrorResponse in unsubscribe interface

Regarding issue #171 it had been revised for 
- JSON schema of subscribeRequest in subscribe interface
- JSON schema of unsubscribeRequest, unsubscribeSuccessResponse and unsubscribeErrorResponse in unsubscribe interface
@rstreif
Copy link
Contributor

rstreif commented Apr 4, 2017

@wonsuk73, makes logically sense since the JSON schema allows a null value for subscriptionId, which means it can be made optional.
The only clarification that might be necessary, is what an empty subscriptionId actually means. Does it mean unsubscribing from all events?

@wonsuk73
Copy link
Contributor Author

wonsuk73 commented Apr 5, 2017

@rstreif Thanks for your opinions!

Empty subscrptionId is used only for unsubscribeAll action! for removing all of subscription at one time. I think if that is used in any case related with unsubscribe action, that might be wrong.

@wonsuk73 wonsuk73 merged commit f83a4e4 into gh-pages Apr 8, 2017
@acrofts84
Copy link
Contributor

Thanks @wonsuk73. I agree, this is clearer and more logical

@caribouW3 caribouW3 deleted the wonsuk73-patch-2 branch March 24, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants