Search API

Search API

  • Summary
  • GitHub
  • Help

›Simple Queries

  • Intro
  • DB Schema

Search API Releases

  • Search API Releases
  • Release #0
  • Release #1
  • Release #2
  • Release #3
  • Release #4

Search API tests

  • Search API tests
  • How To test Search API?

  • Search Form Tests

Database Tables/ Models

  • Database Tables/ Models
  • Ingredients
  • Recipe Names
  • Attribute
  • | Allergy
  • | Course
  • | Cuisine
  • | Diet
  • | Holiday

Simple Queries

  • Simple Queries
  • Ingredients By Name
  • Attributes By Name
  • Recipes By Name
  • Recipe Cases
  • Attributes that will return one or more recipes
  • Recipes + Attributes

Ingredients By Name

Ingredients By Name

This ingredients was not attached to recipes. But still have data stored.

Asparagus
Carrots
Celery

http://localhost:3000/api/ingredient?filter[where][name]=Asparagus

http://localhost:3000/api/ingredient?filter[where][name]=Carrots

http://localhost:3000/api/ingredient?filter[where][name]=Carrots

This 3 URLs not working

This ingredients attached to different recipes(OR NOT)

scallions
apple
banana
beef roast
black pepper
Black Pepper
apple
sugar
water
mozarella cheese
Potatoes
scallions

By searching one of this ingredient, server will return at least 2 recipes(Single Ingredient mention).

URL = "black pepper"

Return

Case 2

We're using a few ingredients

Apple
Grapes

URL = "black pepper"

Return

Case 3

← Simple QueriesAttributes By Name →
  • Ingredients By Name
Search API
Docs
Initial pageSearch API releasesSearch API testsSimple queries
More
BlogGitHubStar
Copyright © 2018 ChickenKyiv company