/
GO
gogs
/
Gogs API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 15h ago · Updated 4w ago
View markdown
gogs
Gogs API
get
List user repositories
87e2da32266c
latest
OpenAPI 3.0.3
2026-07-13
104
23
153.4 KB
Administration
12
Collaborators and Deploy Keys
8
Issues
25
Miscellaneous
4
Organizations
6
Releases
1
Repositories
23
get
Search repositories
get
List your repositories
post
Create a repository
get
List user repositories
get
List organization repositories
post
Create a repository in an organization
post
Migrate a repository
get
Get a repository
delete
Delete a repository
patch
Edit issue tracker settings
post
Mirror sync
get
List branches
get
Get a branch
get
Get a single commit
get
Download raw content
get
Download archive
get
Get contents
put
Create or update a file
get
List forks
get
List tags
get
List all commits
patch
Edit wiki settings
get
Get editorconfig definition
Users
21
Webhooks
4
Repositories
List user repositories
get
/users/{username}/repos
Path parameters
username
string
required
Username
Response
Success
Repository[]
required
id
integer
owner
User
name
string
full_name
string
description
string
private
boolean
fork
boolean
parent
Repository
empty
boolean
mirror
boolean
size
integer
html_url
string
ssh_url
string
clone_url
string
website
string
stars_count
integer
forks_count
integer
watchers_count
integer
open_issues_count
integer
default_branch
string
created_at
string
date-time
updated_at
string
date-time
permissions
object