go-gitea / go-sdk

Gitea: Golang SDK, moved to https://gitea.com/gitea/go-sdk
http://gitea.io
MIT License
29 stars 53 forks source link

Feature - #5960 - SDK for editing a repo #170

Closed richmahn closed 5 years ago

richmahn commented 5 years ago

This is to make it so Gitea has the repo Edit API endpoint just like Github. This is the SDK, the expected body of the request. See https://developer.github.com/v3/repos/#edit

For the JSON body object, this uses the same names as Github in the JSON binding (one exception: used "webpage" instead of "homepage" since that is what we say in the repo settings page), but uses Gitea property names of the Repository object.