GET /api/users/achievements
Get user achievements

Ejemplos

"achievements": [
  {
    "id": 3,
    "number": 4,
    "name": "Tests sin errores",
    "active": "false"
  },
  {
    "id": 2,
    "number": 5,
    "name": "Contenidos aprendidos",
    "active": "true"
  },
  {
    "id": 1,
    "number": 6,
    "name": "Contenidos aprendidos en total",
    "active": "false"
  }
]
      

PUT /api/users/achievements/:id/active
Just active or disable an achievement

Parámetros

Nombre del parámetro Descripción
id
requerido

Value:

Must be Integer