GET /api/events
Returns all events

Ejemplos

"events": [
  {
    "title": "Evento mind blow",
    "description": "Completa todos estos contenidos y se un master",
    "id: 12,
    "image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "inactive_image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "duration": 120,
    "user_level": 2,
    "kind": "public",
    "contents": [
      {
        content_id: 123,
        neuron: Jugar
      },
      {
        content_id: 125,
        neuron: Matematica
      }
    ]
  }
]
    

GET /api/events/today
Get events by day.

Ejemplos

"events": [
  {
    "title": "Evento mind blow",
    "description": "Completa todos estos contenidos y se un master",
    "id: 12,
    "image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "inactive_image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "duration": 120,
    "user_level": 2,
    "kind": "public",
    "contents": [
      {
        content_id: 123,
        neuron: Jugar
      },
      {
        content_id: 125,
        neuron: Matematica
      }
    ]
  },
  {
    "title": "Evento rama verder",
    "description": "Completa todos estos contenidos y haz crecer tu arbol",
    "id: 32,
    "image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "inactive_image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "duration": 120,
    "user_level": 5,
    "kind": "public",
    "contents": [
      {
        content_id: 123,
        neuron: Matematica
      },
      {
        content_id: 125,
        neuron: Ciencia
      }
    ]
  }
]
    

GET /api/events/week
Get events by week.

Ejemplos

"events": [
  {
    "title": "Evento mind blow",
    "description": "Completa todos estos contenidos y se un master",
    "id: 12,
    "image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "inactive_image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "duration": 120,
    "user_level": 2,
    "kind": "public",
    "contents": [
      {
        content_id: 123,
        neuron: Jugar
      },
      {
        content_id: 125,
        neuron: Matematica
      }
    ]
  },
  {
    "title": "Evento rama verder",
    "description": "Completa todos estos contenidos y haz crecer tu arbol",
    "id: 32,
    "image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "inactive_image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
    "duration": 120,
    "user_level": 5,
    "kind": "public",
    "contents": [
      {
        content_id: 123,
        neuron: Matematica
      },
      {
        content_id: 125,
        neuron: Ciencia
      }
    ]
  }
]
    

GET /api/events/:id
Get an event.

Ejemplos

"event": {
  "title": "Evento rama verder",
  "description": "Completa todos estos contenidos y haz crecer tu arbol",
  "id": 32,
  "image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
  "inactive_image": "https://cdn4.iconfinder.com/data/icons/badges-and-votes-1/128/Badges_Votes_star-512.png",
  "duration": 120,
  "user_level": 5,
  "kind": "public",
  "contents": [
    {
      content_id: 123,
      neuron: Matematica
    },
    {
      content_id: 125,
      neuron: Ciencia
    }
  ]
}
    

POST /api/users/events/:id/take
take an event

Parámetros

Nombre del parámetro Descripción
id
requerido

Value:

Must be String


POST /api/users/events/:id/take_super_event
take an super event

Parámetros

Nombre del parámetro Descripción
id
requerido

Value:

Must be String


GET /api/users/events/my_events
get events taken