How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Gitee Repositories API

Repositories and their contents - branches, tags, commits, contents, forks.

Gitee Repositories API is one of 9 APIs that Gitee publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Repositories. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 8 operations across 5 paths, and defines 5 schemas. It is described by OpenAPI 3.0.3, at version 5.4.92.

Requests are made against a single base URL, https://gitee.com/api/v5.

8 operations 5 paths 5 schemas 5 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
5.4.92
Base URL
https://gitee.com/api/v5
Authentication
API Key, HTTP Bearer, OAuth 2.0
Contact
Resource Areas
1

Authentication & Security 3

Gitee Repositories API declares 3 security schemes for authenticating requests. An API key is passed in the query as access_token (accessTokenQuery). It accepts HTTP bearer tokens (bearerAuth). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 11 scopes. By default, every request must be authenticated.

  • accessTokenQuery — Personal access token passed as the accesstoken query parameter. Present on the large majority of Gitee v5 operations.
  • bearerAuth — Personal access token passed as Authorization: Bearer .
  • oauth2 — Gitee OAuth2. Authorize at https://gitee.com/oauth/authorize and exchange for a token at https://gitee.com/oauth/token.

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 5 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Repositories 8

Repositories and their contents - branches, tags, commits, contents, forks.

GET
/user/repos
List repositories the authenticated user owns or has access to
listUserRepos 2 params → 200401
POST
/user/repos
Create a repository for the authenticated user
createUserRepo body → 201401
GET
/repos/{owner}/{repo}
Get a single repository
getRepo 2 params → 200404
PATCH
/repos/{owner}/{repo}
Update repository settings
updateRepo 2 params body → 200401
GET
/repos/{owner}/{repo}/branches
List all branches
listBranches 2 params → 200
POST
/repos/{owner}/{repo}/branches
Create a branch
createBranch 2 params body → 201401
GET
/repos/{owner}/{repo}/tags
List all tags of a repository
listTags 2 params → 200
GET
/repos/{owner}/{repo}/commits
List a repository's commits
listCommits 5 params → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Repository (11 properties), User (6 properties), RepositoryInput (5 properties), Branch (3 properties). Each schema is shown below with its type and property counts.

Repository
object
11 properties
User
object
6 properties
Branch
object
3 properties
RepositoryInput
object
5 properties 1 required
Error
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitee-repositories-api-openapi.yml Raw ↑

Other APIs Gitee publishes across the network.

Gitee Enterprises API
Gitee Gists API
Gitee Issues API
Gitee Organizations API
Gitee Pull Requests API
Gitee Search API
Gitee Users API
Gitee Webhooks API
Where this information came from

This is an independent, third-party profile of Gitee Repositories API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.