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
Version:
description: >
Version of the API used in the response.
type: string
maximum: 1
minimum: 1
303:
description: >
Shall be returned upon the following error: The grant has been rejected.
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/303"
400: 400:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400"
401: 401:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
403: 403:
description: > $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
Forbidden
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
maximum: 1
minimum: 1
WWW-Authenticate:
description: >
Challenge if the corresponding HTTP request has not provided
authorization, or error details if the corresponding HTTP
request has provided an invalid authorization token.
type: string
maximum: 1
minimum: 0
schema:
$ref: "../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
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
Supports Markdown
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