api
Recipe

Endpoint List

https://api.i-as.dev/api/recipe/list?page={value}

Response

{
  "recipes": [
    {
      "title": "string",
      "link": "url",
      "time": "string",
      "difficulty": "string",
      "imageUrl": "base64"
    },
    // More data
  ],
  "pagination": {
    "currentPage": "value",
    "nextPage": "value",
    "prevPage": "value"
  }
}

Endpoint Detail

https://api.i-as.dev/api/recipe/detail/{slug}

Response

{
  "title": string",
  "excerpt": string",
  "time": "string",
  "difficulty": "string",
  "imageUrl": "base64",
  "ingredients": [
    "string",
    // More data
  ],
  "instructions": [
    "string",
    // More data
  ]
}

Endpoint Search

https://api.i-as.dev/api/recipe/search?q={query}&page={value}

Response

{
  "recipes": [
    {
      "title": "string",
      "link": url",
      "time": "string",
      "difficulty": "string",
      "imageUrl": "base64"
    },
    // More data
  ],
  "pagination": {
    "currentPage": "value",
    "nextPage": "value",
    "prevPage": "value"
  }
}

Endpoint Caregory

https://api.i-as.dev/api/recipe/category

Response

{
  "recipes": [
    {
      "title": "string",
      "link": "url",
      "imageUrl": "base64"
    },
    // More Data
  ]
}

Endpoint Caregory Detail

https://api.i-as.dev/api/recipe/category/{slugCategory}

Response

{
  "recipes": [
    {
      "title": "string",
      "link": url",
      "time": "string",
      "difficulty": "string",
      "imageUrl": "base64"
    },
    // More data
  ],
  "pagination": {
    "currentPage": "value",
    "nextPage": "value",
    "prevPage": "value"
  }
}