{
    "openapi": "3.0.0",
    "info": {
        "title": "API Documentation for Dreams Application",
        "version": "1.0.0"
    },
    "paths": {
        "/api/categories": {
            "post": {
                "tags": [
                    "Categories"
                ],
                "summary": "Display All categories",
                "operationId": "App\\Http\\Controllers\\Api\\ReveApiController::categories",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "site_id": {
                                        "type": "integer"
                                    },
                                    "type": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "default": {
                        "description": "successful operation"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    }
                ]
            }
        },
        "/api/categorie": {
            "post": {
                "tags": [
                    "Categories"
                ],
                "summary": "Display One categorie",
                "operationId": "App\\Http\\Controllers\\Api\\ReveApiController::categorie",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "site_id": {
                                        "type": "integer"
                                    },
                                    "categorie_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "default": {
                        "description": "successful operation"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    }
                ]
            }
        },
        "/api/reves": {
            "post": {
                "tags": [
                    "Categories"
                ],
                "summary": "Display All Reves Related To One categorie",
                "operationId": "App\\Http\\Controllers\\Api\\ReveApiController::CatgorieWithReves",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "site_id": {
                                        "type": "integer"
                                    },
                                    "categorie_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "default": {
                        "description": "successful operation"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    }
                ]
            }
        },
        "/api/reve": {
            "post": {
                "tags": [
                    "Categories"
                ],
                "summary": "Display One Reve Related To One Categorie",
                "operationId": "App\\Http\\Controllers\\Api\\ReveApiController::reve",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "site_id": {
                                        "type": "integer"
                                    },
                                    "categorie_id": {
                                        "type": "integer"
                                    },
                                    "reve_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "default": {
                        "description": "successful operation"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    }
                ]
            }
        },
        "/api/reve/related": {
            "post": {
                "tags": [
                    "Categories"
                ],
                "summary": "Display all reves related to one reve",
                "operationId": "App\\Http\\Controllers\\Api\\ReveApiController::reveRelated",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "site_id": {
                                        "type": "integer"
                                    },
                                    "categorie_id": {
                                        "type": "integer"
                                    },
                                    "reve_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "default": {
                        "description": "successful operation"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    }
                ]
            }
        },
        "/api/all-reves": {
            "post": {
                "tags": [
                    "Categories"
                ],
                "summary": "Display All Reves Related To One categorie without paginator",
                "operationId": "App\\Http\\Controllers\\Api\\ReveApiController::allReves",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "site_id": {
                                        "type": "integer"
                                    },
                                    "categorie_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "default": {
                        "description": "successful operation"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    }
                ]
            }
        },
        "/api/search": {
            "post": {
                "tags": [
                    "Categories"
                ],
                "summary": "search reves",
                "operationId": "App\\Http\\Controllers\\Api\\ReveApiController::search",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "site_id": {
                                        "type": "integer"
                                    },
                                    "search": {
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "default": {
                        "description": "successful operation"
                    }
                },
                "security": [
                    {
                        "bearer": []
                    }
                ]
            }
        },
        "/api/contact": {
            "post": {
                "tags": [
                    "Contacts"
                ],
                "summary": "Contacts",
                "operationId": "App\\Http\\Controllers\\Api\\V1\\Admin\\ContactsApiController::contact",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "firstname": {
                                        "type": "string"
                                    },
                                    "lastname": {
                                        "type": "string"
                                    },
                                    "country": {
                                        "type": "string"
                                    },
                                    "email": {
                                        "type": "string"
                                    },
                                    "question": {
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "default": {
                        "description": "successful operation"
                    }
                }
            }
        }
    },
    "security": [
        []
    ]
}