Forgejo · Schema

AddCollaboratorOption

AddCollaboratorOption options when adding a user as a collaborator of a repository

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
permission string
View JSON Schema on GitHub

JSON Schema

addcollaboratoroption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "AddCollaboratorOption",
  "description": "AddCollaboratorOption options when adding a user as a collaborator of a repository",
  "type": "object",
  "properties": {
    "permission": {
      "type": "string",
      "enum": [
        "read",
        "write",
        "admin"
      ],
      "x-go-name": "Permission"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}