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

Use GitHub API to process URLs #17

Open
vemonet opened this issue Jun 12, 2019 · 0 comments
Open

Use GitHub API to process URLs #17

vemonet opened this issue Jun 12, 2019 · 0 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@vemonet
Copy link
Member

vemonet commented Jun 12, 2019

No need for authentication: https://api.github.com/repos/MaastrichtU-IDS/data2services-transform-repository/contents/sparql/insert-biolink/uniprot

curl -i "https://api.github.com/repos/MaastrichtU-IDS/data2services-transform-repository/contents/sparql/insert-biolink/uniprot"

curl -i "https://api.github.com/repos/:organization/:repo/contents/:path"

We could ask for:

  • GitHub organization/repo: MaastrichtU-IDS/data2services-transform-repository
  • FilePath: default is root of github repot (/contents/).

Also possible on GitLab API? Looks a bit tricky with GitLab IDs: https://docs.gitlab.com/ee/api/repository_files.html#get-file-from-repository

@vemonet vemonet self-assigned this Jun 12, 2019
@vemonet vemonet added the invalid This doesn't seem right label Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant