Commit 4d4800b5 authored by moscatelli's avatar moscatelli
Browse files

SOL003_245/SOL003_246: Individual subscription methods updated

parent fe14bcb4
Pipeline #1218 passed with stage
in 0 seconds
...@@ -280,12 +280,19 @@ paths: ...@@ -280,12 +280,19 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
404: 404:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
422:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422"
406: 406:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
500: 500:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503: 503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
504:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
############################################################################### ###############################################################################
# Individual subscription # # Individual subscription #
############################################################################### ###############################################################################
...@@ -296,17 +303,17 @@ paths: ...@@ -296,17 +303,17 @@ paths:
Identifier of this subscription. Identifier of this subscription.
This identifier can be retrieved from the resource referenced by the This identifier can be retrieved from the resource referenced by the
"Location" HTTP header in the response to a POST request creating a "Location" HTTP header in the response to a POST request creating a
new subscription resource. It can also be retrieved from the "id" new "Individual subscription" resource. It can also be retrieved from the "id"
attribute in the payload body of that response. attribute in the payload body of that response.
in: path in: path
type: string type: string
required: true required: true
get: get:
description: > description: >
Query Subscription Information Query Subscription Information.
The GET method reads an individual subscription. The GET method reads an individual subscription.
This method shall follow the provisions specified in the tables 11.4.3.3.2-1 and 11.4.3.3.2-2
for URI query parameters, request and response data structures, and response codes.
parameters: parameters:
- name: Accept - name: Accept
description: > description: >
...@@ -325,9 +332,10 @@ paths: ...@@ -325,9 +332,10 @@ paths:
responses: responses:
200: 200:
description: > description: >
OK 200 OK
Representation of the subscription resource. Shall be returned when information about an individual subscription has been read successfully.
The response body shall contain a representation of the "Individual subscription" resource
headers: headers:
Content-Type: Content-Type:
description: > description: >
...@@ -346,18 +354,30 @@ paths: ...@@ -346,18 +354,30 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
404: 404:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
422:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422"
406: 406:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
500: 500:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503: 503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
504:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
delete: delete:
description: > description: >
Terminate subscription Terminate subscription.
The DELETE method terminates an individual subscription. The DELETE method terminates an individual subscription.
This method shall follow the provisions specified in the tables 11.4.3.3.5-1 and 11.4.3.3.5-2
for URI query parameters, request and response data structures, and response codes.
As the result of successfully executing this method, the "Individual subscription" resource
shall not exist any longer. This means that no notifications for that subscription shall be
sent to the formerly-subscribed API consumer.
NOTE: Due to race conditions, some notifications might still be received by the formerly-subscribed
API consumer for a certain time period after the deletion.
parameters: parameters:
- name: Authorization - name: Authorization
description: > description: >
...@@ -371,8 +391,7 @@ paths: ...@@ -371,8 +391,7 @@ paths:
description: > description: >
No Content No Content
The subscription resource was deleted successfully. Shall be returned when the "Individual subscription" resource has been deleted successfully.
The response body shall be empty.
headers: headers:
Content-Type: Content-Type:
description: > description: >
...@@ -387,13 +406,17 @@ paths: ...@@ -387,13 +406,17 @@ paths:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403: 403:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
404:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
405: 405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
422:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422"
406: 406:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
500: 500:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503: 503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
504:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment