MCPcopy Index your code
hub / github.com/LumaAI-API/Luma-API / Me

Function Me

api.go:136–143  ·  view source on GitHub ↗

@Summary Get current user info @Schemes @Description @Accept json @Produce json @Success 200 {object} object "user info" @Router /luma/users/me [get]

(c *gin.Context)

Source from the content-addressed store, hash-verified

134// @Success 200 {object} object "user info"
135// @Router /luma/users/me [get]
136func Me(c *gin.Context) {
137 res, err := getMe()
138 if err != nil {
139 WrapperLumaError(c, err, http.StatusInternalServerError)
140 return
141 }
142 c.JSON(http.StatusOK, res)
143}
144
145// @Summary Get current user subscription usage
146// @Schemes

Callers

nothing calls this directly

Calls 2

getMeFunction · 0.85
WrapperLumaErrorFunction · 0.85

Tested by

no test coverage detected