question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[request] API Calls for specific repo groups

See original GitHub issue

Is your feature request related to a problem? If so, please describe the problem: When I click on a repo group on the current dev version of augur, I can watch the backend and see that all of /api/unstable/repos is called to load a single repo group. This is okay on osshealth.io because the database is quickly queried, but it takes several seconds on my machine. This is where it could be almost instantaneous.

Describe the solution you’d like: I would like to help split up the query into several queries specific to repo-groups.

Describe alternatives you’ve considered: We could leave it as it is, but it makes the page-loading much less efficient than it could be.

Additional context: This is the result of looking around at repo-groups Add any other context or screenshots about the feature request here. image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Nebretharcommented, Feb 25, 2020

Hi, As this issue has been inactive for a really long time, I’d like to work on it 😄. Would appreciate it if you could assign me to this.

Done! Thanks for taking this on.

0reactions
ccarterlandiscommented, May 5, 2020

If I’m understanding the request correctly, this functionality already exists at the /api/unstable/repo-groups/<repo_group_id>/repos endpoint. For example: http://localhost:5000/api/unstable/repo-groups/10/repos will return all the repos for only the given repo_group_id, which is 10 in this case.

It would be nice if the frontend took advantage of this, but I think that’s outside the scope of this issue since this is about the endpoint request. As such I’m going to close the issue, but if anyone disagrees please feel free to reopen 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Group and project access requests API - GitLab Docs
List access requests for a group or project. Gets a list of access requests viewable by the authenticated user. GET /groups/:id/access_requests GET /projects/: ......
Read more >
Gitlab API for all projects under group - Stack Overflow
Its group API can provide the project list under a specific group. Just send the GET request to http://gitlab.example.com/api/v3/groups/[group_id]?private_token ...
Read more >
Getting started with the REST API - GitHub Docs
To make a request, first find the HTTP method and the path for the operation that you want to use. For example, the...
Read more >
groups Endpoint | Bitbucket Cloud - Atlassian Support
The groups endpoint provides functionality for querying information about Bitbucket Cloud user groups, creating new ones, and updating or deleting ...
Read more >
Artifactory REST API - JFrog - JFrog Documentation
Please note that several of the functions available through the REST API ... an entry in the corresponding Artifactory distribution repository specified.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found