Skip to content

Commit

Permalink
docs: add discover api data model img for cell census schema docs ref…
Browse files Browse the repository at this point in the history
…erence (#3844)
  • Loading branch information
atolopko-czi authored Jan 5, 2023
1 parent 86c0186 commit cf41b21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/api_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@


def create_flask_app():
connexion_app = connexion.FlaskApp(APP_NAME, specification_dir="backend")
connexion_app = connexion.FlaskApp(
APP_NAME, specification_dir="backend", server_args=dict(static_folder="backend/api_server/static")
)

# From https://github.com/zalando/connexion/issues/346
connexion_app.app.url_map.strict_slashes = False
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions backend/portal/api/curation/curation-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ info:
## For Examples
* [Python Notebooks](https://github.com/chanzuckerberg/single-cell-curation/tree/main/notebooks/curation_api/python_raw)
* [R Notebooks](https://github.com/chanzuckerberg/single-cell-curation/tree/main/notebooks/curation_api/R)
## Data Model
<!-- Data model diagram created via Lucid: https://lucid.app/lucidchart/8d085832-34f4-4413-9c1d-44e77d06e326/edit?invitationId=inv_ed354532-7256-4e0a-9ad0-b622905e5198&page=Vfzkzdv~I1fL# -->
<img src="/static/discover-api-data-model.png" width="50%"/>
servers:
- description: Production environment
url: https://api.cellxgene.cziscience.com/
Expand Down

0 comments on commit cf41b21

Please sign in to comment.