瀏覽代碼

api: remove less used requests

pull/12/head
Lephe 3 月之前
父節點
當前提交
55ef818b84
共有 1 個檔案被更改,包括 0 行新增6 行删除
  1. 0
    6
      assets/users.txt

+ 0
- 6
assets/users.txt 查看文件

@@ -35,11 +35,9 @@ Rest API for users:
Method URL Search Description
-----------------------------------------------------------------------------
GET /users Yes Query users
POST /users - Create new user
-----------------------------------------------------------------------------
GET /users/<id> - Get user information/settings
PATCH /users/<id> - Update user information/settings
DELETE /users/<id> - Delete user account
-----------------------------------------------------------------------------
GET /users/<id>/trophies - Get unlocked trophies
-----------------------------------------------------------------------------
@@ -48,10 +46,8 @@ Rest API for users:
DELETE /users/<id>/messages Required Delete PMs matching pattern
-----------------------------------------------------------------------------
GET /users/<id>/groups - Get user groups
PATCH /users/<id>/groups - Add or remove group memberships (*)
-----------------------------------------------------------------------------
GET /users/<id>/privs - Get user privileges
PATCH /users/<id>/privs - Grant/revoke special privileges (*)
-----------------------------------------------------------------------------

Updating the participation scores is not a request, it's tied to posting
@@ -64,8 +60,6 @@ Rest API for groups:
Method URL Search Description
-----------------------------------------------------------------------------
GET /groups - Get list of groups
POST /groups - Create group
-----------------------------------------------------------------------------
GET /groups/<id> - Get list of users in groups
-----------------------------------------------------------------------------


Loading…
取消
儲存