Gitea · JSON Structure

Gitea Rest Api Repository Structure

JSON Structure description of the Gitea Repository entity.

Type: object Properties: 67
GitSource ControlDevOpsCI/CDCode HostingOpen-SourceSelf-HostedPackage RegistryIssue TrackingPull Requests

Repository is a JSON Structure definition published by Gitea, describing 67 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

allow_fast_forward_only_merge allow_manual_merge allow_merge_commits allow_rebase allow_rebase_explicit allow_rebase_update allow_squash_merge archived archived_at autodetect_manual_merge avatar_url branch_count clone_url created_at default_allow_maintainer_edit default_branch default_delete_branch_after_merge default_merge_style default_target_branch description empty external_tracker external_wiki fork forks_count full_name has_actions has_code has_issues has_packages has_projects has_pull_requests has_releases has_wiki html_url id ignore_whitespace_conflicts internal internal_tracker language languages_url licenses link mirror mirror_interval mirror_updated name object_format_name open_issues_count open_pr_counter

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-repository-structure.json",
  "name": "Repository",
  "description": "JSON Structure description of the Gitea Repository entity.",
  "type": "object",
  "properties": {
    "allow_fast_forward_only_merge": {
      "type": "boolean"
    },
    "allow_manual_merge": {
      "type": "boolean"
    },
    "allow_merge_commits": {
      "type": "boolean"
    },
    "allow_rebase": {
      "type": "boolean"
    },
    "allow_rebase_explicit": {
      "type": "boolean"
    },
    "allow_rebase_update": {
      "type": "boolean"
    },
    "allow_squash_merge": {
      "type": "boolean"
    },
    "archived": {
      "type": "boolean"
    },
    "archived_at": {
      "type": "string",
      "format": "date-time"
    },
    "autodetect_manual_merge": {
      "type": "boolean"
    },
    "avatar_url": {
      "type": "string"
    },
    "branch_count": {
      "type": "integer",
      "format": "int64"
    },
    "clone_url": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "default_allow_maintainer_edit": {
      "type": "boolean"
    },
    "default_branch": {
      "type": "string"
    },
    "default_delete_branch_after_merge": {
      "type": "boolean"
    },
    "default_merge_style": {
      "type": "string"
    },
    "default_target_branch": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "empty": {
      "type": "boolean"
    },
    "external_tracker": {
      "type": "string"
    },
    "external_wiki": {
      "type": "string"
    },
    "fork": {
      "type": "boolean"
    },
    "forks_count": {
      "type": "integer",
      "format": "int64"
    },
    "full_name": {
      "type": "string"
    },
    "has_actions": {
      "type": "boolean"
    },
    "has_code": {
      "type": "boolean"
    },
    "has_issues": {
      "type": "boolean"
    },
    "has_packages": {
      "type": "boolean"
    },
    "has_projects": {
      "type": "boolean"
    },
    "has_pull_requests": {
      "type": "boolean"
    },
    "has_releases": {
      "type": "boolean"
    },
    "has_wiki": {
      "type": "boolean"
    },
    "html_url": {
      "type": "string"
    },
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "ignore_whitespace_conflicts": {
      "type": "boolean"
    },
    "internal": {
      "type": "boolean"
    },
    "internal_tracker": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "languages_url": {
      "type": "string"
    },
    "licenses": {
      "type": "array"
    },
    "link": {
      "type": "string"
    },
    "mirror": {
      "type": "boolean"
    },
    "mirror_interval": {
      "type": "string"
    },
    "mirror_updated": {
      "type": "string",
      "format": "date-time"
    },
    "name": {
      "type": "string"
    },
    "object_format_name": {
      "type": "string",
      "description": "ObjectFormatName of the underlying git repository"
    },
    "open_issues_count": {
      "type": "integer",
      "format": "int64"
    },
    "open_pr_counter": {
      "type": "integer",
      "format": "int64"
    },
    "original_url": {
      "type": "string"
    },
    "owner": {
      "type": "string"
    },
    "parent": {
      "type": "string"
    },
    "permissions": {
      "type": "string"
    },
    "private": {
      "type": "boolean"
    },
    "projects_mode": {
      "type": "string"
    },
    "release_counter": {
      "type": "integer",
      "format": "int64"
    },
    "repo_transfer": {
      "type": "string"
    },
    "size": {
      "type": "integer",
      "format": "int64"
    },
    "ssh_url": {
      "type": "string"
    },
    "stars_count": {
      "type": "integer",
      "format": "int64"
    },
    "template": {
      "type": "boolean"
    },
    "topics": {
      "type": "array"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "url": {
      "type": "string"
    },
    "watchers_count": {
      "type": "integer",
      "format": "int64"
    },
    "website": {
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/gitea-rest-api-repository-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.