Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph token is missing from repo details API call #231

Closed
drazisil-codecov opened this issue Nov 6, 2023 · 1 comment
Closed

Graph token is missing from repo details API call #231

drazisil-codecov opened this issue Nov 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working customer requested For issues directly requested by customers

Comments

@drazisil-codecov
Copy link
Contributor

With the change to v2, customer no longer have a way to fetch the graph token.

It should be at this endpoint https://docs.codecov.com/reference/repos_config_retrieve

It was formerly available via https://codecov.io/api/pub/<PROVIDER>/<OWNER>/<REPO>/settings

@drazisil-codecov drazisil-codecov added bug Something isn't working customer requested For issues directly requested by customers labels Nov 6, 2023
@thebjorn
Copy link

Concretely, we need the graph token to show the codecov badge in the readme

.. image:: https://codecov.io/gl/norsktest/tt3/branch/master/graph/badge.svg?token=<graph-token>
  :target: https://codecov.io/gl/norsktest/tt3

We auto-generate the readme file when creating a new project and we need an api to fetch the <graph-token> since it is unique per repo. A solution where we could use a common token for all our repos would also solve our problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working customer requested For issues directly requested by customers
Projects
None yet
Development

No branches or pull requests

3 participants