Skip to content

Commit 58d8fc4

Browse files
authored
CMR-10455: Update subscription doc on subscription edge case limit (nasa#2236)
* update subscription doc * fix wording
1 parent 66c1a4f commit 58d8fc4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ingest-app/docs/api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,11 @@ For NRT Notification subscriptions to be used there are three new fields that ar
11691169
</ul>
11701170
</ul>
11711171

1172+
IMPORTANT: There is limit to creating and updating subscriptions related to the specific scenario highlighted below:
1173+
Currently, if <User 1> creates a subscription to <Collection 1> and then <User 2> creates a different subscription
1174+
to the same <Collection 1> for the same queue, it will overwrite the first subscription for that specific queue.
1175+
So please, have each queue have only one agreed upon subscription.
1176+
11721177
##### NRT Notification Subscription POST Request
11731178

11741179
```
@@ -1228,6 +1233,11 @@ If a native-id is provided in a POST, and a subscription already exists for that
12281233

12291234
PUT requests should be used for updating subscriptions. Creating subscriptions with PUT may be deprecated in the future. All PUT requests require a native-id to be part of the request URL.
12301235

1236+
IMPORTANT: There is limit to creating and updating subscriptions related to the specific scenario highlighted below:
1237+
Currently, if <User 1> creates a subscription to <Collection 1> and then <User 2> creates a different subscription
1238+
to the same <Collection 1> for the same queue, it will overwrite the first subscription for that specific queue.
1239+
So please, have each queue have only one agreed upon subscription.
1240+
12311241
##### Create Batch Notification subscription with %CMR-ENDPOINT%/subscriptions/<native-id> URL
12321242
```
12331243
curl -XPUT \

0 commit comments

Comments
 (0)