Forgejo · Schema

TransferRepoOption

TransferRepoOption options when transfer a repository's ownership

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
new_owner string
team_ids array ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.
View JSON Schema on GitHub

JSON Schema

transferrepooption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "TransferRepoOption",
  "description": "TransferRepoOption options when transfer a repository's ownership",
  "type": "object",
  "required": [
    "new_owner"
  ],
  "properties": {
    "new_owner": {
      "type": "string",
      "x-go-name": "NewOwner"
    },
    "team_ids": {
      "description": "ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.",
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "x-go-name": "TeamIDs"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}