Forgejo · Schema

MigrateRepoOptions

MigrateRepoOptions options for migrating repository's this is used to interact with api v1

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen-SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
auth_password string
auth_token string
auth_username string
clone_addr string
description string
issues boolean
labels boolean
lfs boolean
lfs_endpoint string
milestones boolean
mirror boolean
mirror_interval string
private boolean
pull_requests boolean
releases boolean
repo_name string
repo_owner string Name of User or Organisation who will own Repo after migration
service string
uid integer deprecated (only for backwards compatibility)
wiki boolean
View JSON Schema on GitHub

JSON Schema

migraterepooptions.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "MigrateRepoOptions",
  "description": "MigrateRepoOptions options for migrating repository's\nthis is used to interact with api v1",
  "type": "object",
  "required": [
    "clone_addr",
    "repo_name"
  ],
  "properties": {
    "auth_password": {
      "type": "string",
      "x-go-name": "AuthPassword"
    },
    "auth_token": {
      "type": "string",
      "x-go-name": "AuthToken"
    },
    "auth_username": {
      "type": "string",
      "x-go-name": "AuthUsername"
    },
    "clone_addr": {
      "type": "string",
      "x-go-name": "CloneAddr"
    },
    "description": {
      "type": "string",
      "x-go-name": "Description"
    },
    "issues": {
      "type": "boolean",
      "x-go-name": "Issues"
    },
    "labels": {
      "type": "boolean",
      "x-go-name": "Labels"
    },
    "lfs": {
      "type": "boolean",
      "x-go-name": "LFS"
    },
    "lfs_endpoint": {
      "type": "string",
      "x-go-name": "LFSEndpoint"
    },
    "milestones": {
      "type": "boolean",
      "x-go-name": "Milestones"
    },
    "mirror": {
      "type": "boolean",
      "x-go-name": "Mirror"
    },
    "mirror_interval": {
      "type": "string",
      "x-go-name": "MirrorInterval"
    },
    "private": {
      "type": "boolean",
      "x-go-name": "Private"
    },
    "pull_requests": {
      "type": "boolean",
      "x-go-name": "PullRequests"
    },
    "releases": {
      "type": "boolean",
      "x-go-name": "Releases"
    },
    "repo_name": {
      "type": "string",
      "x-go-name": "RepoName"
    },
    "repo_owner": {
      "description": "Name of User or Organisation who will own Repo after migration",
      "type": "string",
      "x-go-name": "RepoOwner"
    },
    "service": {
      "type": "string",
      "enum": [
        "git",
        "github",
        "gitea",
        "gitlab",
        "gogs",
        "onedev",
        "gitbucket",
        "codebase"
      ],
      "x-go-name": "Service"
    },
    "uid": {
      "description": "deprecated (only for backwards compatibility)",
      "type": "integer",
      "format": "int64",
      "x-go-name": "RepoOwnerID"
    },
    "wiki": {
      "type": "boolean",
      "x-go-name": "Wiki"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/migraterepooptions"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.