From f28a9731a6a58c26789c00479ca5a631c62dfeaf Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Mon, 29 Jul 2024 10:31:14 +0200 Subject: [PATCH] feat: add `SUBSCRIPTION_DELETED` as termination-reason --- code/API_definitions/geofencing-subscriptions.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/API_definitions/geofencing-subscriptions.yaml b/code/API_definitions/geofencing-subscriptions.yaml index 6337850..23bf405 100644 --- a/code/API_definitions/geofencing-subscriptions.yaml +++ b/code/API_definitions/geofencing-subscriptions.yaml @@ -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 @@ -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: