-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/docsThis PR mainly updates/creates documentationThis PR mainly updates/creates documentationtype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
When checking the REST Api documentation I came across the method to add a collaborator to a repository.
In the documentation it said, that the payload body needs to contain a permission value which was expected. Unfortunately there was no documentation of what that string value should be to set the appropriate permissions.
After digging deep into the code I found that the permission can be one of three values.
IMHO this should be documented in the Swagger documentation of the REST Api.
Screenshots
kemzeb
Metadata
Metadata
Assignees
Labels
type/docsThis PR mainly updates/creates documentationThis PR mainly updates/creates documentationtype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.