GET /api/users/:id/profile
user's profile

Examples

{ "age": "23",
  "birthday": "19/23/2000",
  "name": "Jhon Doe"
  "city": "Quito",
  "country": "Ecuador",
  "school": "Alejandrino",
  "email": "example@gmail.com",
  "id": "2",
  "last_contents_learnt": [
    "id": "12",
    "media": ["htttp://something.com"]
  ]
}
    

Params

Param name Description
id
required

Validations:

  • Must be a Integer


GET /api/users/search
returns search from query


GET /api/users/content_tasks
returns all contents saved by user

Params

Param name Description
page
optional

Validations:

  • Must be a Integer


GET /api/users/content_notes
returns all notes saved by user

Params

Param name Description
page
optional

Validations:

  • Must be a Integer


GET /api/users/content_favorites
returns all content-favorites saved by user

Params

Param name Description
page
optional

Validations:

  • Must be a Integer


POST /api/api/users/shared_contents
Send a email with an screenshot(Shared content)

Params

Param name Description
email
optional

Validations:

  • Must be a String

public_url
optional

Validations:

  • Must be a String

image_url
optional

Validations:

  • Must be a String


GET /api/users/event_in_progress
return last event in progres


GET /api/users/contents_to_learn
returns the recommended contents and the event contents