Commit 26aec828 authored by moscatelli's avatar moscatelli
Browse files

SOL003_199: Individual grant GET updated

parent ad73b111
Pipeline #1201 passed with stage
in 0 seconds
...@@ -194,11 +194,10 @@ paths: ...@@ -194,11 +194,10 @@ paths:
required: true required: true
get: get:
description: > description: >
Grant Lifecycle Operation Grant Lifecycle Operation.
The GET method reads a grant.
This method shall follow the provisions specified in the tables 9.4.3.3.2-1 and 9.4.3.3.2-2
The GET method retrieves information about a specific grant by reading for URI query parameters, request and response data structures, and response codes.
an individual grant resource.
parameters: parameters:
- name: Accept - name: Accept
description: > description: >
...@@ -225,9 +224,8 @@ paths: ...@@ -225,9 +224,8 @@ paths:
description: > description: >
200 OK 200 OK
The grant was read successfully. Shall be returned when the grant has been read successfully.
A representation of the "individual grant" resource shall be A representation of the "Individual grant" resource shall be returned in the response body.
returned in the response body.
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
...@@ -254,8 +252,7 @@ paths: ...@@ -254,8 +252,7 @@ paths:
description: > description: >
202 ACCEPTED 202 ACCEPTED
The process of creating the grant is ongoing, no grant is Shall be returned when the process of creating the grant is ongoing, no grant is available yet.
available yet.
The response body shall be empty. The response body shall be empty.
headers: headers:
WWW-Authenticate: WWW-Authenticate:
...@@ -266,46 +263,33 @@ paths: ...@@ -266,46 +263,33 @@ paths:
type: string type: string
maximum: 1 maximum: 1
minimum: 0 minimum: 0
400: Version:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403:
description: > description: >
Forbidden Version of the API used in the response.
The grant was rejected.
A ProblemDetails structure shall be included in the response to
provide more details about the rejection in the "details"
attribute.
headers:
Content-Type:
description: The MIME type of the body of the response.
type: string type: string
maximum: 1 maximum: 1
minimum: 1 minimum: 1
WWW-Authenticate: 303:
description: > description: >
Challenge if the corresponding HTTP request has not provided Shall be returned upon the following error: The grant has been rejected.
authorization, or error details if the corresponding HTTP $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/303"
request has provided an invalid authorization token. 400:
type: string $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
maximum: 1 401:
minimum: 0 $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
schema: 403:
$ref: "../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
404: 404:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
405: 405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
406: 406:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
416:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/416"
422: 422:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422"
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