Skip to main content

v2.1.4

1.Fixed challenge system required_roles validation
2.Updated routes, request json data format, request param format (see table below)
3.Added /user/notification/{{notificationid}} to get specific notification with notification id
4.Improved code base

RouteRemark
GET /userMoved to GET /user/profile
GET /auditMoved to GET /audit/list
GET /user/listRenamed ?name to ?query
GET /member/listRenamed ?name to ?query
GET /user/notification/listRenamed ?content to ?query
GET /audit/listRenamed ?operation to ?query
GET /announcement/listRenamed ?title to ?query
GET /challenge/listRenamed ?title to ?query
GET /downloads/listRenamed ?title to ?query
GET /event/listRenamed ?title to ?query
DELETE /user/passwordMoved to POST /user/password/disable
DELETE /user/mfaMoved to POST /user/mfa/disable
PUT/DELETE /user/banMoved uid in JSON to path /user/{uid}/ban
PATCH /user/discordUpdated and moved old_discord_id in JSON to uid in path /user/{uid}/discord, renamed new_discord_id in JSON to discordid
DELETE /user/connectionsMoved uid in request param to path /user/{uid}/connections
DELETE /userMoved uid in request param to path /user/{uid}
PATCH /user/notification/statusMoved to PATCH /user/notification/{notificationid}/status/{status}
POST /user/notification/{notification_type}/enableMoved to POST /user/notification/settings/{notification_type}/enable
POST /user/notification/{notification_type}/disableMoved to POST /user/notification/settings/{notification_type}/disable
PUT /memberMoved to POST /user/{uid}/accept
PATCH /member/rolesMoved userid in JSON to path /member/{userid}/roles
PATCH /member/pointRenamed and moved userid in JSON to path /member/{userid}/points