Commit graph

2 commits

Author SHA1 Message Date
6543
50efd911c8 Tune CheckNotifications for api change (#308)
notification Check now always return json

make fmt relicts

CheckNotifications: one api call is enouth

add getResponseWithStatus to handle Response customized based on Status

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/308
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-04-14 13:29:44 +00:00
Dan
9f10a2b902 Add Create/Get/Delete for oauth2 apps (#305)
Add Create/Get/Delete for oauth2 apps

  Add Create, List, and Delete for Oauth2 applications.
  Tests were added as well.

Co-authored-by: Dan Molik <dan@danmolik.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/305
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-04-06 22:02:19 +00:00