beFree - Where the human mind and body is art.
This is the API beFree consumes. You can read more about the website by visiting befree.com
Routes for user authentication including register, login, reset password, etc
Get current loggedIn user data
This is the login route to access into beFree.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
This is the login route to register into beFree. The password is also encrypted using the latest technology in encryption, hash and salt.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Generetate password token and send it via email to the user that requested it.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Route to reset password according to the token stored in DB. Otherwise it will fail.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Key | Value | Description |
---|---|---|
userId | ||
resetToken |
Update the basic information of the current loggedIn user. Said information can be the username, email, website, twitter, facebook, youtube and instagram.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Update the current loggedIn user experience by Id. Also is worth to mention that any time a put request is sent, a new Id(document) will be created.
The Id corresponding to X experience will always be different. Always
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete current loggedIn user experience according to Id.
Delete the current loggedIn user education according to Id
Delete the current loggedIn user certificate according to Id
Add experience to current loggedIn user
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Add certificate to current loggedIn user
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Update the current loggedIn user education by Id. Also is worth to mention that any time a put request is sent, a new Id(document) will be created.
The Id corresponding to X education will always be different; Always.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Update the current loggedIn user certificates by Id. Also is worth to mention that any time a put request is sent, a new Id(document) will be created.
The Id corresponding to X certificate will always be different; Always.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Add education to current loggedIn user
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Update the about information of the current loggedIn user. Said information can be the name, sex, company, age, address, bio and fetishes.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Update the password of the current loggedIn user.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete the current loggedIn user account from the DB but only after verifying email is the same as the one stored in the DB; otherwise fail!.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Logout from beFree and Clear token cookie from localStorage after 1min.
Add Resume per user. Users can have more than one resume.
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Fetch all the resumes from DB
Fetch data from a single resume
Update the corresponding resume by Id. Block access to any unauthorized users
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete resume corresponding to the param.id found in the URL
Fetch all favorites
Add report of type post
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Add report of type user
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Add report of type producer
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Add report of type product
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Add report of type video
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Get all reports from DB
Get single report from DB
Add review for post!
Key | Value | Description |
---|---|---|
Content-Type | application/json |
Fetch all post reviews from database
Fetch single post review from database
Update post review from database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete post review from database
Fetch post reviews from database by passing an Id as parameter
Add review for post!
Key | Value | Description |
---|---|---|
Content-Type | application/json |
Fetch all post reviews from database
Fetch single post review from database
Update post review from database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete post review from database
Fetch post reviews from database by passing an Id as parameter
Add review for blog!
Key | Value | Description |
---|---|---|
Content-Type | application/json |
Fetch all blog reviews from database
Fetch single blog review from database
Update blog review from database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete blog review from database
Fetch blog reviews from database by passing an Id as parameter
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Get all reviews from database and populate with video
Fetch a review from database by Id and populate video
Update review in database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete review from database
Key | Value | Description |
---|---|---|
Content-Type | application/json |
Get reviews for a specific video
Creates a product
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Fetch all products from database
Fetch single product from database
Update product from database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete product from database
Like / Dislike product from database
Add video to database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Get all videos
Update video from database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete video from database
Key | Value | Description |
---|---|---|
x-auth-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNWRhNTUyNmY5YmI5NzYwOGY0M2QyOWY0In0sImlhdCI6MTU3MjQ5MzM2NCwiZXhwIjoxNTcyODUzMzY0fQ.RklKPe8hUGMohccTKDpgZ-IA-fbIVSXmHZRRadAl5X4 |
Add like and/or remove like from video according to the current loggedIn user
Add like and/or remove like from video according to the current loggedIn user
Fetch videos in ASC order. Lowest to Highest Price
Key | Value | Description |
---|---|---|
sort | price |
Fetch videos in DESC order. Highest to Lowest Price
Key | Value | Description |
---|---|---|
sort | -price |
Purchase a video
Add blog
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Get blog by Id
Update post from database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete blog from database
Like and Dislike a blog from database
Create post
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Get single post from database
Update post from database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Delete post from database
Pin / Unpin post from profile timeline. Only one per user allowed also.
Hide / Unhide post from profile timeline.
Add producer to database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Get all producers
Get single producer
Key | Value | Description |
---|---|---|
x-auth-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNWRhNTUyNmY5YmI5NzYwOGY0M2QyOWY0In0sImlhdCI6MTU3MjQ5MzM2NCwiZXhwIjoxNTcyODUzMzY0fQ.RklKPe8hUGMohccTKDpgZ-IA-fbIVSXmHZRRadAl5X4 |
Updates single producer from database
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Deletes single producer from database
Get producers within a radius of a specific zipcode
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Key | Value | Description |
---|---|---|
x-auth-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNWRhNTUyNmY5YmI5NzYwOGY0M2QyOWY0In0sImlhdCI6MTU3MjQ5MzM2NCwiZXhwIjoxNTcyODUzMzY0fQ.RklKPe8hUGMohccTKDpgZ-IA-fbIVSXmHZRRadAl5X4 |
Key | Value | Description |
---|---|---|
x-auth-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNWRhNTUyNmY5YmI5NzYwOGY0M2QyOWY0In0sImlhdCI6MTU3MjQ5MzM2NCwiZXhwIjoxNTcyODUzMzY0fQ.RklKPe8hUGMohccTKDpgZ-IA-fbIVSXmHZRRadAl5X4 |
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Key | Value | Description |
---|---|---|
x-auth-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNWRhNTUyNmY5YmI5NzYwOGY0M2QyOWY0In0sImlhdCI6MTU3MjQ5MzM2NCwiZXhwIjoxNTcyODUzMzY0fQ.RklKPe8hUGMohccTKDpgZ-IA-fbIVSXmHZRRadAl5X4 |
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |
Key | Value | Description |
---|---|---|
x-auth-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNWRhNTUyNmY5YmI5NzYwOGY0M2QyOWY0In0sImlhdCI6MTU3MjQ5MzM2NCwiZXhwIjoxNTcyODUzMzY0fQ.RklKPe8hUGMohccTKDpgZ-IA-fbIVSXmHZRRadAl5X4 |
Key | Value | Description |
---|---|---|
Content-Type | application/json | Json Content Type |