ga4gh-discovery / ga4gh-service-info

GA4GH service-info specification.
Apache License 2.0
9 stars 8 forks source link

Elaborate on error responses #25

Closed mcupak closed 5 years ago

mcupak commented 5 years ago

Consider adding common errors in the spec - status codes and error object structure to allow the clients to better handle errors.

andrewyatz commented 5 years ago

Possible content

        '404':
          description: 'Service info could not be found'
        '500':
          description: 'The service is not available. Should be used to communicate to downstream users and aggregators that the service is not yet ready to accept requests'
mcupak commented 5 years ago

Agreed to not include since it's hard to imagine errors encountered at this level.

jrambla commented 5 years ago

HTTP codes are mentioned in the README.md

andrewyatz commented 5 years ago

44 seeks to remove these @jrambla for the reasons @mcupak stated above.