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

Add termination reason SUBSCRIPTION_DELETED when subscription deleted by the user #121

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ info:

Note: Additionally to these list, ``org.camaraproject.reachability-status-subscriptions.v0.subscription-ends`` notification `type` is sent when the subscription ends.
This notification does not require dedicated subscription.
It is used when the subscription expire time (optionally set by the requester) has been reached or if the API server has to stop sending notification prematurely.

It is used when:
- the subscription expire time (optionally by the requester) has been reached
maxl2287 marked this conversation as resolved.
Show resolved Hide resolved
- the subscription was deleted by the requester
- the API server has to stop sending notification prematurely.

### Notifications callback

Expand Down Expand Up @@ -646,9 +650,11 @@ components:
description: |
NETWORK_TERMINATED - API server stopped sending notification
SUBSCRIPTION_EXPIRED - Subscription expire time (optionally set by the requester) has been reached
SUBSCRIPTION_DELETED - Subscription was deleted by the requester
enum:
- NETWORK_TERMINATED
- SUBSCRIPTION_EXPIRED
- SUBSCRIPTION_DELETED

responses:
Generic400:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ info:

Note: Additionally to these list, ``org.camaraproject.roaming-status-subscriptions.v0.subscription-ends`` notification `type` is sent when the subscription ends.
This notification does not require dedicated subscription.
It is used when the subscription expire time (optionally set by the requester) has been reached or if the API server has to stop sending notification prematurely.

It is used when:
- the subscription expire time (optionally by the requester) has been reached
- the subscription was deleted by the requester
- the API server has to stop sending notification prematurely.

### Notifications callback

Expand Down Expand Up @@ -717,9 +721,11 @@ components:
description: |
NETWORK_TERMINATED - API server stopped sending notification
SUBSCRIPTION_EXPIRED - Subscription expire time (optionally set by the requester) has been reached
SUBSCRIPTION_DELETED - Subscription was deleted by the requester
enum:
- NETWORK_TERMINATED
- SUBSCRIPTION_EXPIRED
- SUBSCRIPTION_DELETED

responses:
Generic400:
Expand Down