Forgejo · Schema

CreateRepoOption

CreateRepoOption options when creating repository

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen-SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
auto_init boolean Whether the repository should be auto-initialized?
default_branch string DefaultBranch of the repository (used when initializes and in template)
description string Description of the repository to create
gitignores string Gitignores to use
issue_labels string Label-Set to use
license string License to use
name string Name of the repository to create
object_format_name string ObjectFormatName of the underlying git repository
private boolean Whether the repository is private
readme string Readme of the repository to create
template boolean Whether the repository is template
trust_model string TrustModel of the repository
View JSON Schema on GitHub

JSON Schema

createrepooption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateRepoOption",
  "description": "CreateRepoOption options when creating repository",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "auto_init": {
      "description": "Whether the repository should be auto-initialized?",
      "type": "boolean",
      "x-go-name": "AutoInit"
    },
    "default_branch": {
      "description": "DefaultBranch of the repository (used when initializes and in template)",
      "type": "string",
      "x-go-name": "DefaultBranch"
    },
    "description": {
      "description": "Description of the repository to create",
      "type": "string",
      "x-go-name": "Description"
    },
    "gitignores": {
      "description": "Gitignores to use",
      "type": "string",
      "x-go-name": "Gitignores"
    },
    "issue_labels": {
      "description": "Label-Set to use",
      "type": "string",
      "x-go-name": "IssueLabels"
    },
    "license": {
      "description": "License to use",
      "type": "string",
      "x-go-name": "License"
    },
    "name": {
      "description": "Name of the repository to create",
      "type": "string",
      "uniqueItems": true,
      "x-go-name": "Name"
    },
    "object_format_name": {
      "description": "ObjectFormatName of the underlying git repository",
      "type": "string",
      "enum": [
        "sha1",
        "sha256"
      ],
      "x-go-name": "ObjectFormatName"
    },
    "private": {
      "description": "Whether the repository is private",
      "type": "boolean",
      "x-go-name": "Private"
    },
    "readme": {
      "description": "Readme of the repository to create",
      "type": "string",
      "x-go-name": "Readme"
    },
    "template": {
      "description": "Whether the repository is template",
      "type": "boolean",
      "x-go-name": "Template"
    },
    "trust_model": {
      "description": "TrustModel of the repository",
      "type": "string",
      "enum": [
        "default",
        "collaborator",
        "committer",
        "collaboratorcommitter"
      ],
      "x-go-name": "TrustModel"
    }
  },
  "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/createrepooption"
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.