Gitea · JSON Structure

Gitea Rest Api Team Structure

JSON Structure description of the Gitea Team entity.

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

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

Properties

can_create_org_repo description id includes_all_repositories name organization permission units units_map

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-team-structure.json",
  "name": "Team",
  "description": "JSON Structure description of the Gitea Team entity.",
  "type": "object",
  "properties": {
    "can_create_org_repo": {
      "type": "boolean",
      "description": "Whether the team can create repositories in the organization"
    },
    "description": {
      "type": "string",
      "description": "The description of the team"
    },
    "id": {
      "type": "integer",
      "description": "The unique identifier of the team",
      "format": "int64"
    },
    "includes_all_repositories": {
      "type": "boolean",
      "description": "Whether the team has access to all repositories in the organization"
    },
    "name": {
      "type": "string",
      "description": "The name of the team"
    },
    "organization": {
      "type": "string"
    },
    "permission": {
      "type": "string"
    },
    "units": {
      "type": "array",
      "example": [
        "repo.code",
        "repo.issues",
        "repo.ext_issues",
        "repo.wiki",
        "repo.pulls",
        "repo.releases",
        "repo.projects",
        "repo.ext_wiki"
      ]
    },
    "units_map": {
      "type": "object",
      "example": {
        "repo.code": "read",
        "repo.ext_issues": "none",
        "repo.ext_wiki": "none",
        "repo.issues": "write",
        "repo.projects": "none",
        "repo.pulls": "owner",
        "repo.releases": "none",
        "repo.wiki": "admin"
      }
    }
  }
}

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-team-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.