Download archive
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/archive/{archive} \
--header 'Authorization: <api-key>'"<string>"Repositories
Download archive
GET
/
repos
/
{owner}
/
{repo}
/
archive
/
{archive}
Download archive
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/archive/{archive} \
--header 'Authorization: <api-key>'"<string>"Authorizations
Path Parameters
Response
Archive file
The response is of type file.