api.giorgostsoulis.com (1.0.0)

Download OpenAPI specification:Download

Auth

Login

Request Body schema: application/json
email
required
string <email>
password
required
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
null

Register a new Customer

Request Body schema: application/json
name
required
string
email
required
string <email>
password
required
string
password_confirmation
required
string
allow_suggestion
required
boolean
allow_newsletter
required
boolean

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "email": "[email protected]",
  • "password": "string",
  • "password_confirmation": "string",
  • "allow_suggestion": true,
  • "allow_newsletter": true
}

Response samples

Content type
application/json
null

Logout

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
null

My

Get my account

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
null

Update my account

Request Body schema: application/json
name
string
allow_newsletter
boolean
allow_suggestion
boolean
email
string
avatar
string
current_password
string
password
string
password_confirmation
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "allow_newsletter": true,
  • "allow_suggestion": true,
  • "email": "string",
  • "avatar": "string",
  • "current_password": "string",
  • "password": "string",
  • "password_confirmation": "string"
}

Add recipe to favorites

Authorizations:
bearerAuth
Request Body schema: application/json
recipe_id
required
integer

Responses

Request samples

Content type
application/json
{
  • "recipe_id": 0
}

Content

Get all ingredients

Responses

Response samples

Content type
application/json
null

Search recipes

query Parameters
query
required
string

Responses

Find Recipes by slug

path Parameters
slug
required
string

Responses

Response samples

Content type
application/json
null

Find Posts by slug

path Parameters
slug
required
string

Responses

Response samples

Content type
application/json
null

Get all published pages

Responses

Response samples

Content type
application/json
null

Find Published Pages by slug

path Parameters
slug
required
string

Responses

Response samples

Content type
application/json
null

Get all ingredients

Responses

Response samples

Content type
application/json
null

Find ingredient by slug

path Parameters
slug
required
string

Responses

Response samples

Content type
application/json
null

Get all seminars

Responses

Response samples

Content type
application/json
null

Find seminar by slug

path Parameters
slug
required
string

Responses

Response samples

Content type
application/json
null

Recipes

Get all recipes

query Parameters
difficulty
Array of numbers
ingredient
Array of numbers
cusine
Array of numbers
category
Array of numeric
hasVideo
boolean
createdAt
any
hits
any
hasAuthor
any
flag
Array of numbers

Responses

Response samples

Content type
application/json
null

Store a new Recipe

Request Body schema: application/json
user_id
required
integer
difficulty_id
required
integer
cuisine_is
integer
category_id
required
integer
title
required
string
description
string
image
required
string
execution_time
required
integer
preparation_time
integer
waiting_time
integer
required
Array of objects (RecipeIngredient)
required
object (RecipePortion)
required
Array of objects (RecipeInstruction)
Array of objects (RecipeUtensil)

Responses

Request samples

Content type
application/json
{
  • "user_id": 0,
  • "difficulty_id": 0,
  • "cuisine_is": 0,
  • "category_id": 0,
  • "title": "string",
  • "description": "string",
  • "image": "string",
  • "execution_time": 0,
  • "preparation_time": 0,
  • "waiting_time": 0,
  • "ingredients": [
    ],
  • "portions": {
    },
  • "instructions": [
    ],
  • "utensils": [
    ]
}

Find Recipes by id

path Parameters
id
required
number

Responses

Response samples

Content type
application/json
null

Get category recipes

path Parameters
id
required
any
query Parameters
difficulty
Array of numbers
ingredient
Array of numbers
cusine
Array of numbers
hasVideo
boolean
createdAt
any

Responses

Response samples

Content type
application/json
null

Get categorized recipe

path Parameters
categoryId
required
any
recipeId
required
any

Responses

Response samples

Content type
application/json
null

Categories

Get category by slug

path Parameters
slug
required
any

Responses

Response samples

Content type
application/json
null

Posts

Get all posts

Responses

Response samples

Content type
application/json
null

Find Posts by id

path Parameters
id
required
number

Responses

Response samples

Content type
application/json
null

Pages

Get all pages

Responses

Response samples

Content type
application/json
null

Find Pages by id

path Parameters
id
required
number

Responses

Response samples

Content type
application/json
null

Contacts

Store a new Contact

Request Body schema: application/json
form_fields
required
string
form_type
required
string

Responses

Request samples

Content type
application/json
{
  • "form_fields": "string",
  • "form_type": "string"
}

Filters

Get all available filters

Responses

Response samples

Content type
application/json
null

Get all available difficulties

Responses

Response samples

Content type
application/json
null

Get all available main ingredients

Responses

Response samples

Content type
application/json
null

Get all available cusines

Responses

Response samples

Content type
application/json
null

Get all available categories

Responses

Response samples

Content type
application/json
null

Get all available sort options

Responses

Response samples

Content type
application/json
null

Get all featured tags

Responses

Response samples

Content type
application/json
null

Notifications

Fire notification with ingredients

Request Body schema: application/json
ingredients
required
Array of strings

Responses

Request samples

Content type
application/json
{
  • "ingredients": [
    ]
}

Blog Categories

Get all Published Blog Categories

query Parameters
isFeatured
boolean

Responses

Response samples

Content type
application/json
null

Exports

Export Recipe PRF

path Parameters
id
required
number

Responses

Subscribers

Get all Subscribers

Responses

Response samples

Content type
application/json
null

Create a Subscriber

Request Body schema: application/json
email
required
string
name
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "name": "string"
}