github-tools / github-tools/github
Add Collaborator To a Repo (with specific permissions)
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 809
- PR merge metrics
- No merged PRs in 30d
Description
I would love for this library to wrap the following end point:
`PUT /repos/:owner/:repo/collaborators/:username`
Link to documentation: https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator
Would be happy to submit a PR for it.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the library's existing GitHub API wrapper patterns, then use PUT /repos/:owner/:repo/collaborators/:username and the linked GitHub documentation as the entry point. Done means the public interface wraps adding a collaborator while supporting the endpoint's specific permissions, with behavior checked using the repository's existing verification approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100