Repositories

Download archive

get/repos/{owner}/{repo}/archive/{archive}

Request

  • Base URL
    https://gogs.example.com/api/v1
  • Auth
    API key in header Authorization

Path parameters

ownerstring required

Repository owner

repostring required

Repository name

archivestring required

Ref and format, e.g. master.zip or master.tar.gz

Response

Archive file

Changes

No recorded changes to this operation across all 3 revisions of this API.