Skip to content

Commit

Permalink
Add 206, 303, 501 return codes for /sequence/{id}.
Browse files Browse the repository at this point in the history
  • Loading branch information
raskoleinonen committed Aug 15, 2018
1 parent f16fedf commit ae260a6
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 ae260a6

Please sign in to comment.