Skip to content

Commit

Permalink
Update refget-openapi.yaml
Browse files Browse the repository at this point in the history
Suggestion to add 206, 303, 501 return codes for /sequence/{id} defined in the specs.
  • Loading branch information
raskoleinonen authored Aug 15, 2018
1 parent f16fedf commit 5fbf16f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pub/refget-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ paths:
$ref: '#/components/responses/BadFormat'
'416':
description: Invalid range request specified
'206':
description: Successful retrieval of subsequence as a single string with no line breaks
'303':
description: Redirecting the client where the sequence can be retrieved
'501':
description: The specified request is not supported by the server
'/sequence/{id}/metadata':
get:
summary: Get reference metadata from a hash
Expand Down

0 comments on commit 5fbf16f

Please sign in to comment.