Repositories

Edit wiki settings

patch/repos/{owner}/{repo}/wiki

Request

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

Path parameters

ownerstring required

Owner of the repository

repostring required

Name of the repository

Request body

enable_wikiboolean

Whether to enable the wiki

allow_public_wikiboolean

Whether the wiki is publicly accessible

enable_external_wikiboolean

Whether to use an external wiki

external_wiki_urlstring

URL of the external wiki

Response

Wiki settings updated successfully.

Changes

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