feat: Create Admin-Endpoint

Creates Admin endpoint with all API methods.
This commit is contained in:
Michael Gerdemann
2020-01-18 09:19:17 +01:00
parent 09416c4ce1
commit 6993ac7c59
3 changed files with 295 additions and 9 deletions

View File

@ -82,14 +82,14 @@ This project is licensed under the MIT License - see the
Status | Method | Endpoint
--- | --- | ---
| GET | /admin/orgs
| POST | /admin/users
| DELETE | /admin/users/{username}
| PATCH | /admin/users/{username}
| POST | /admin/users/{username}/keys
| DELETE | /admin/users/{username}/keys/{id}
| POST | /admin/users/{username}/orgs
| POST | /admin/users/{username}/repos
| GET | /admin/orgs
| POST | /admin/users
| DELETE | /admin/users/{username}
| PATCH | /admin/users/{username}
| POST | /admin/users/{username}/keys
| DELETE | /admin/users/{username}/keys/{id}
| POST | /admin/users/{username}/orgs
| POST | /admin/users/{username}/repos
#### Miscellaneous