gitea/modules/structs
Gustavo Marin af61b2249a
adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437)
* add API endpoint to create OAuth2 Application.

* move endpoint to /user. Add swagger documentations and proper response type.

* change json tags to snake_case. add CreateOAuth2ApplicationOptions to swagger docs.

* change response status to Created (201)

* add methods to list OAuth2 apps and delete an existing OAuth2 app by ID.

* add APIFormat convert method and file header

* fixed header

* hide secret on oauth2 application list

* add Created time to API response

* add API integration tests for create/list/delete OAuth2 applications.

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-02-29 03:19:32 -03:00
..
admin_user.go
attachment.go
commit_status.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go Add feishu webhook support (#10229) 2020-02-12 08:48:28 +00:00
issue_comment.go
issue_label.go [API] Fix inconsistent label color format (#10129) 2020-02-09 14:33:03 +00:00
issue_milestone.go
issue_reaction.go
issue_stopwatch.go
issue_tracked_time.go
issue.go [API] expose RepoOwner on Issue responce (#10126) 2020-02-04 00:05:17 -05:00
lfs_lock.go
miscellaneous.go
notifications.go
org_member.go
org_team.go
org_type.go
org.go
pull.go
release.go
repo_branch.go Add API branch protection endpoint (#9311) 2020-02-12 23:19:35 +00:00
repo_collaborator.go
repo_commit.go
repo_file.go
repo_key.go
repo_refs.go
repo_tag.go
repo_topic.go
repo_tree.go
repo_watch.go
repo.go API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00
status.go
task.go
user_app.go adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 2020-02-29 03:19:32 -03:00
user_email.go
user_gpgkey.go
user_key.go
user.go
utils.go