API: Bulk respository authentication and query
Support bulk repository authentication and query
Make it possible to authenticate and query multiple repositories at once
Links / references
I know my GitLab integration is rather unique, but I'll put this out there, to see if it possible to support. I'm currently using GitLab OAuth for authentication and how I determine if a user has permission to read a repository is to see if it is public. If it is, I know they have permission. If not, I'll query GitLab with the user's access token, and if the query is successful, I know they have read permission.
I guess for most people this model works well, but for my GitLab integration, users can search/analyze any combination of repositories at once. This means if they want to search/analyze 6 different non-public repositories at once, my product will have to query GitLab 6 times to get their repository read permission. And as you can guess, this can create a very poor user experience, if there are lots of repositories to query.
What would be nice from my perspective, would be to only have to query once. Basically make it possible for users to query multiple repositories at once.
Like I said, my use case is rather unique and I'm just putting this out there, to see if this is a viable thing to do or not.