documentation
  • Introduction
  • What data can be used for search from imported script
    • README
      • release-4
      • release-3
      • release-2
      • release-1
      • release-0
    • README
      • README
        • release-7
        • release-6
        • release-5
        • release-4
        • release-3
        • release-2
        • release-1
        • release-0
      • react-components
    • chickenkyiv-methods
    • README
      • release-4
      • release-3
      • release-2
      • release-1
      • release-0
    • README
      • chickenkyiv-schema
      • recipe-search-api-schema
      • shoplist
      • recipe-steps
      • foodlog
    • links-new
    • SUMMARY
    • features
    • tests
    • chickenkyiv-homepage-content
    • chickenkyiv-free-menu-release
Powered by GitBook
On this page
  • API endpoints ( Free Menu Release )
  • Menu
  • Recipes
  • GET recipe/:id/full
  • http://localhost:3000/api/recipe/{id}/list/ingredients?recipeId={recipe_id}&access_token={token}
  • http://localhost:3000/explorer/#!/recipes/recipes_find
  • GET http://localhost:3000/api/grocery/menu?groceryId={grocery_id}&access_token={token}
  • Input: JSON with properties ...
  • User
  • Worked URLs
  1. What data can be used for search from imported script

chickenkyiv-free-menu-release

Previouschickenkyiv-homepage-content

Last updated 6 years ago

API endpoints ( Free Menu Release )

Menu

List of all created menus(with recipe Ids)

Method: GET Path: /api/menu/

Input: JSON with properties ... @TODO finish it

GET

Get menu by menu id

Method: GET Path: /api/menu/{menu_id}

Input: JSON with properties ...

GET

Get latest published menu(only one)

Method: GET Path: /api/menu/last

Input: JSON with properties ...

GET

Filter By Published Date: ASC/DESC

Method: GET Path: /menu/filter/date

Input: JSON with properties ...

Get Menu with all data inside

Method: GET Path: /menu/full

Input: JSON with properties ...

Recipes

List with all created recipes

Method: GET Path: /api/recipe/

Input: JSON with properties ...

Get recipe by recipe id

Method: GET

Path: /api/recipe/{id}

Input: JSON with properties ...

Get recipe with all necessary data like ingredients. @TODO Later add stuff like allergies, etc.

Method: GET

Path: /api/recipe/{id}/full

Input: JSON with properties ...

GET recipe/:id/full

Get Ingredients By Recipe id

Method: GET Path: recipe/{id}/list/ingredients

Input: JSON with properties ...

Recipes_Find not sure if i test this URL before

Method: GET

Path: /api/recipes/recipes_find

Input: JSON with properties ...

Get ingredients and display them in list view with directions and link to recipy by recipeId

Method: GET

Path: /api/grocery/menu?groceryId={groceryId}

Input: JSON with properties ...

Get Grocery List by Menu id

Method: GET Path: grocery/menu/{id}

Input: JSON with properties ...

User

Generate Login token

Worked URLs

Get list with all created menus(with recipe Ids)

Get one menu by Id

Get only one latest published menu

Get list with all created recipes

Get one recipe by Id

Get recipe with all necessary data like ingredients.

Get ingredients and display them in list view with directions and link to recipy by recipeId

Filter By Published Date: ASC/DESC

grocery/menu/:id recipe/:id/list/ingredients

GET

GET

GET

Method: POST Path: /api/customer/customer_login Input: JSON with properties ... will return a token

GET

GET

GET

GET

GET

GET

GET

GET

GET

will return a token

http://localhost:3000/api/menu?access_token={token}
http://localhost:3000/api/menu/{menu_id}?access_token={token}
http://localhost:3000/api/menu/last?access_token={token}
http://localhost:3000/api/recipe?access_token={token}
http://localhost:3000/api/recipe/{recipe_id}?access_token={token}
http://localhost:3000/api/recipe/{id}/list/ingredients?recipeId={recipe_id}&access_token={token}
http://localhost:3000/explorer/#!/recipes/recipes_find
http://localhost:3000/api/grocery/menu?groceryId={grocery_id}&access_token={token}
http://localhost:3000/explorer/#!/customer/customer_login
https://recipe-api-loopback.herokuapp.com/api/menu?access_token=%token%
https://recipe-api-loopback.herokuapp.com/api/menu/593ac56c2c941720bc3091b1?access_token=%token%
https://recipe-api-loopback.herokuapp.com/api/menu/last?access_token=%token%
https://recipe-api-loopback.herokuapp.com/api/recipe?access_token=%token%
https://recipe-api-loopback.herokuapp.com/api/recipe/593abe383199170e50a5272d?access_token=%token%
https://recipe-api-loopback.herokuapp.com/api/recipe/:id/full
https://recipe-api-loopback.herokuapp.com/api/grocery/menu?groceryId=594d45227741a0312874c465&access_token=%token%
https://recipe-api-loopback.herokuapp.com/api/menu/filter/date
https://recipe-api-loopback.herokuapp.com/api/menu/full
https://recipe-api-loopback.herokuapp.com/api/recipe/{id}/list/ingredients?recipeId=594d3b97fef8430a3c5eff8d&access_token=y2GcakK5pffy5LSueSdEQ8i40bkoSQixgZKMwImlyEsMLCrbk4ktjoV0OuxmnWNF
https://recipe-api-loopback.herokuapp.com/explorer/#!/recipes/recipes_find
https://recipe-api-loopback.herokuapp.com/api/recipe
https://recipe-api-loopback.herokuapp.com/api/menu
https://recipe-api-loopback.herokuapp.com/explorer/#!/customer/customer_login