mirror of
https://github.com/wekan/wekan.git
synced 2025-12-30 06:08:48 +01:00
Add HTTP method column in user API REST list
parent
f4e763a8a7
commit
0338e153c0
1 changed files with 11 additions and 11 deletions
22
REST-API.md
22
REST-API.md
|
|
@ -21,17 +21,17 @@ When calling a production Wekan server, ensure it is running via HTTPS and has a
|
|||
| `/users/login` | [Authenticate with the REST API.](#login) |
|
||||
|
||||
### Users
|
||||
| Url | Short Description |
|
||||
| :--- | :--- |
|
||||
| `/users/register` | [Register a new user.](#user-register) |
|
||||
| `/api/users` | [Create a new user.](#user-create) |
|
||||
| `/api/users/:id` | [Disable an existing user.](#disable-a-user-the-user-is-not-allowed-to-login-and-his-login-tokens-are-purged) |
|
||||
| `/api/users/:id` | [Enable an existing user.](#enable-a-user) |
|
||||
| `/api/users/:id` | [Admin takes the ownership.](#the-admin-takes-the-ownership-of-all-boards-of-the-user-archived-and-not-archived-where-the-user-is-admin-on) |
|
||||
| `/api/users/:id` | [Delete an existing user.](#user-delete) ([Warning](https://github.com/wekan/wekan/issues/1289))|
|
||||
| `/api/users/:id` | [Gets a user's information.](#user-information) |
|
||||
| `/api/users` | [All of the users.](#user-list) |
|
||||
| `/api/user` | [Gets a logged-in user.](#user-logged-in) |
|
||||
| HTTP Method | Url | Short Description |
|
||||
| :--- | :--- | :--- |
|
||||
| `POST` | `/users/register` | [Register a new user.](#user-register) |
|
||||
| `POST` | `/api/users` | [Create a new user.](#user-create) |
|
||||
| `PUT` | `/api/users/:id` | [Disable an existing user.](#disable-a-user-the-user-is-not-allowed-to-login-and-his-login-tokens-are-purged) |
|
||||
| `PUT` | `/api/users/:id` | [Enable an existing user.](#enable-a-user) |
|
||||
| `PUT` | `/api/users/:id` | [Admin takes the ownership.](#the-admin-takes-the-ownership-of-all-boards-of-the-user-archived-and-not-archived-where-the-user-is-admin-on) |
|
||||
| `DELETE` | `/api/users/:id` | [Delete an existing user.](#user-delete) ([Warning](https://github.com/wekan/wekan/issues/1289))|
|
||||
| `GET` | `/api/users/:id` | [Gets a user's information.](#user-information) |
|
||||
| `GET` | `/api/users` | [All of the users.](#user-list) |
|
||||
| `GET` | `/api/user` | [Gets a logged-in user.](#user-logged-in) |
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue