✨ Account page (aka detailed version description)
This commit is contained in:
@ -39,6 +39,7 @@ func MapControllers(app *fiber.App, baseURL string) {
|
||||
|
||||
badges := api.Group("/badges").Name("Badges")
|
||||
{
|
||||
badges.Get("/me", listUserBadge)
|
||||
badges.Post("/:badgeId/active", activeUserBadge)
|
||||
}
|
||||
|
||||
@ -79,6 +80,9 @@ func MapControllers(app *fiber.App, baseURL string) {
|
||||
me.Put("/status", editStatus)
|
||||
me.Delete("/status", clearStatus)
|
||||
|
||||
me.Get("/pages", getOwnAccountPage)
|
||||
me.Put("/pages", updateAccountPage)
|
||||
|
||||
contacts := me.Group("/contacts").Name("Contacts")
|
||||
{
|
||||
contacts.Get("/", listContact)
|
||||
@ -122,6 +126,7 @@ func MapControllers(app *fiber.App, baseURL string) {
|
||||
{
|
||||
directory.Get("/", getOtherUserinfo)
|
||||
directory.Get("/status", getStatus)
|
||||
directory.Get("/pages", getAccountPage)
|
||||
|
||||
directory.Get("/check-in", listOtherUserCheckInRecord)
|
||||
}
|
||||
|
Reference in New Issue
Block a user