curl --request GET \
--url https://gogs.example.com/api/v1/orgs/{orgname}/repos \
--header 'Authorization: <api-key>'[
{
"id": 123,
"owner": {
"id": 123,
"username": "<string>",
"login": "<string>",
"full_name": "<string>",
"email": "[email protected]",
"avatar_url": "<string>"
},
"name": "<string>",
"full_name": "<string>",
"description": "<string>",
"private": true,
"fork": true,
"parent": "<unknown>",
"empty": true,
"mirror": true,
"size": 123,
"html_url": "<string>",
"ssh_url": "<string>",
"clone_url": "<string>",
"website": "<string>",
"stars_count": 123,
"forks_count": 123,
"watchers_count": 123,
"open_issues_count": 123,
"default_branch": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"permissions": {
"admin": true,
"push": true,
"pull": true
}
}
]curl --request GET \
--url https://gogs.example.com/api/v1/orgs/{orgname}/repos \
--header 'Authorization: <api-key>'[
{
"id": 123,
"owner": {
"id": 123,
"username": "<string>",
"login": "<string>",
"full_name": "<string>",
"email": "[email protected]",
"avatar_url": "<string>"
},
"name": "<string>",
"full_name": "<string>",
"description": "<string>",
"private": true,
"fork": true,
"parent": "<unknown>",
"empty": true,
"mirror": true,
"size": 123,
"html_url": "<string>",
"ssh_url": "<string>",
"clone_url": "<string>",
"website": "<string>",
"stars_count": 123,
"forks_count": 123,
"watchers_count": 123,
"open_issues_count": 123,
"default_branch": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"permissions": {
"admin": true,
"push": true,
"pull": true
}
}
]Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Organization name
Success
Show child attributes
Present when fork is true
Show child attributes
Show child attributes