@@ -244,11 +244,11 @@ Return codes:
244244* 422 Unprocessable Entity - if the subscriptionType or subscriptionParameter name or value are invalid
245245
246246## Updating subscription
247- ** PUT /api/core/subscriptions/<: id >**
247+ ** PUT /api/core/subscriptions/<: id >**
248248
249- It is possible to update a subscription with id
250- `curl -X PUT '{dspace7-url}/api/core/subscriptions/{id}
251- ' -H "Authorization: Bearer ..." -H 'Content-Type: application/json'
249+ It is possible to update a subscription with a given id.
250+
251+ Request body:
252252
253253``` json
254254{
@@ -265,12 +265,12 @@ It is possible to update a subscription with id
265265The json body must be valid that mean:
266266- subscriptionType must be 'content'
267267- name must be 'frequency'
268- - value must be one of the following values: 'D' stand for Day, 'W' stand for Week and 'M' stand for Month
268+ - value must be one of the following values: 'D' ( Day) , 'W' ( Week) or 'M' ( Month)
269269
270270Return codes:
271- * 200 OK - if the operation succeed, the created subscription is returned
271+ * 200 OK - if the operation succeed, the updated subscription is returned
272272* 401 Unauthorized - if you are not authenticated
273- * 403 Forbidden - if you are not logged in with sufficient permissions. Only system administrators and Owner can create subscription
273+ * 403 Forbidden - if you are not logged in with sufficient permissions. Only system administrators and subscription owners can update subscriptions.
274274* 422 Unprocessable Entity - if the subscriptionType or subscriptionParameter name or value are invalid
275275
276276## Deleting a Subscription Object
0 commit comments