Skip to content

Commit ecf37f8

Browse files
raskoleinonenandrewyatz
authored andcommitted
Add missing return codes for /sequence/{id} in refget-openapi.yaml.. (#330)
Add 206, 302, 303, 307 and 501 return codes for /sequence/{id}.
1 parent 705b082 commit ecf37f8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pub/refget-openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ paths:
9898
type: string
9999
example: >-
100100
MSSPTPPGGQRTLQKRKQGSSQKVAASAPKKNTNSNNSILKIYSDEATGLRVDPLVVLFLAVGFIFSVVALHVISKVAGKLF
101+
'206':
102+
description: Successful retrieval of subsequence as a single string with no line breaks
103+
'302':
104+
description: Redirecting the client where the sequence can be retrieved
105+
'303':
106+
description: Redirecting the client where the sequence can be retrieved
107+
'307':
108+
description: Redirecting the client where the sequence can be retrieved
101109
'400':
102110
description: Invalid input; normally due to range parameter usage
103111
'404':
@@ -106,6 +114,8 @@ paths:
106114
$ref: '#/components/responses/BadFormat'
107115
'416':
108116
description: Invalid range request specified
117+
'501':
118+
description: The specified request is not supported by the server
109119
'/sequence/{id}/metadata':
110120
get:
111121
summary: Get reference metadata from a hash

0 commit comments

Comments
 (0)