Skip to content
Snippets Groups Projects

Add species stats schema and a mapping between fields in response and attribute names in db

Closed Jyothish Bhai requested to merge species-stats-openapi into main

Created by: azangru

Description

  • Added an open API spec for Species Stats schema (converted automatically from a typescript file)
  • Added a json file containing a mapping between fields in the proposed Species Stats schema and the names of the attributes in the metadata database

Note

  • Didn't know where to put the files. Couldn't find any dedicated place for them; so put them in the root.
  • The open api spec file in the PR focuses on the schema. It does not prescribe what to do when the client sends a request with a wrong http verb, etc. Please use your own judgement to handle this as json apis normally do
    • Having said that, one special case that web client is interested in is that in case the genome with a given genome id is not found, the server respond with a 404 status.

Related Jira tickets

Edited by Andres Veidenberg

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply