Skip to content

Commit

Permalink
Merge pull request #242 from maxl2287/feature/add-subscription-delete…
Browse files Browse the repository at this point in the history
…d-termination-reason

geofencing: Add `SUBSCRIPTION_DELETED` as termination-reason
  • Loading branch information
jlurien authored Jul 30, 2024
2 parents 93d2f51 + f28a973 commit ee4208a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/API_definitions/geofencing-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ info:
It is used when:
- the subscription expire time (optionally set by the requester) has been reached
- the maximum number of subscription events (optionally set by the requester) has been reached
- the subscription was deleted by the requester
- the Access Token `sinkCredential` (optionally set by the requester) expiration time has been reached
- the API server has to stop sending notification prematurely
Expand Down Expand Up @@ -921,12 +922,14 @@ 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
- MAX_EVENTS_REACHED - Maximum number of events (optionally set by the requester) has been reached
- ACCESS_TOKEN_EXPIRED - Access Token sinkCredential (optionally set by the requester) expiration time has been reached
enum:
- MAX_EVENTS_REACHED
- NETWORK_TERMINATED
- SUBSCRIPTION_EXPIRED
- SUBSCRIPTION_DELETED
- ACCESS_TOKEN_EXPIRED

HTTPSubscriptionRequest:
Expand Down

0 comments on commit ee4208a

Please sign in to comment.