Skip to content

Systematic way to retrieve model YAML/MD files besides https Github download #51

@jmsssc

Description

@jmsssc

Github rate limits frontend from just requesting them as raw files, unfortunately, e.g.:

Example Request:
https://api.github.com/repos/ssciwr/onehealth-model-backend/contents/model_cards

Result, rate blocked in incognito mode:
Image

We can add an API to pass those files as downloads to the frontend and the code should stay the same otherwise on the frontend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions