{
    "openapi": "3.0.0",
    "info": {
        "title": "Yaffa API's List",
        "version": "0.1"
    },
    "paths": {
        "/api/v1/get-categories": {
            "get": {
                "tags": [
                    "Category"
                ],
                "summary": "get category screen",
                "description": "This api will be used to get category screen information",
                "operationId": "page Category",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/get-editors-chat": {
            "get": {
                "tags": [
                    "Editors-Chat"
                ],
                "summary": "get editors chat screen",
                "description": "This api will be used to get editors chat screen information",
                "operationId": "Editors Chat",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/comment": {
            "post": {
                "tags": [
                    "Comment"
                ],
                "summary": "send comment",
                "description": "This api will be used to set comment user",
                "operationId": "Comment",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "allOf": [
                                    {
                                        "required": [
                                            "commenter_name",
                                            "comment",
                                            "article_id",
                                            "device_id",
                                            "type"
                                        ],
                                        "properties": {
                                            "type": {
                                                "title": "article or video",
                                                "description": "",
                                                "type": "string",
                                                "format": "string",
                                                "enum": [
                                                    "article",
                                                    "video"
                                                ],
                                                "example": "article"
                                            },
                                            "commenter_name": {
                                                "title": "commenter name",
                                                "description": "",
                                                "type": "string",
                                                "format": "srting",
                                                "example": "yaseen"
                                            },
                                            "comment": {
                                                "title": "comment",
                                                "description": "",
                                                "type": "string",
                                                "format": "string",
                                                "example": "Lord, protect our people in Gaza"
                                            },
                                            "article_id": {
                                                "title": "article id",
                                                "description": "set article or video id",
                                                "type": "integer",
                                                "format": "integer",
                                                "example": "1"
                                            },
                                            "device_id": {
                                                "title": "device id",
                                                "description": "",
                                                "type": "string",
                                                "format": "string",
                                                "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                                            },
                                            "reply_id": {
                                                "title": "reply id",
                                                "description": "",
                                                "type": "integer",
                                                "format": "integer",
                                                "example": ""
                                            }
                                        },
                                        "type": "object"
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/like": {
            "post": {
                "tags": [
                    "Like"
                ],
                "summary": "send like",
                "description": "This api will be used to set like post",
                "operationId": "Like",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "allOf": [
                                    {
                                        "required": [
                                            "comment_id",
                                            "article_id",
                                            "device_id"
                                        ],
                                        "properties": {
                                            "comment_id": {
                                                "title": "comment_id",
                                                "description": "",
                                                "type": "integer",
                                                "format": "integer",
                                                "example": "1"
                                            },
                                            "article_id": {
                                                "title": "article id",
                                                "description": "",
                                                "type": "integer",
                                                "format": "integer",
                                                "example": "1"
                                            },
                                            "device_id": {
                                                "title": "device id",
                                                "description": "",
                                                "type": "string",
                                                "format": "string",
                                                "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                                            }
                                        },
                                        "type": "object"
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/weather-prayers": {
            "get": {
                "tags": [
                    "Home"
                ],
                "summary": "get weather prayers ",
                "description": "This api will be used to get weather prayers information",
                "operationId": "weather-prayers",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/breaking-news": {
            "get": {
                "tags": [
                    "Home"
                ],
                "summary": "get breaking news ",
                "description": "This api will be used to get breaking news information",
                "operationId": "breaking news",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/home": {
            "get": {
                "tags": [
                    "Home"
                ],
                "summary": "get main screen ",
                "description": "This api will be used to get main screen information",
                "operationId": "main screen",
                "parameters": [
                    {
                        "name": "device_id",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        },
                        "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                    },
                    {
                        "name": "onesignal_id",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        },
                        "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "12"
                    },
                    {
                        "name": "offset",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "0"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/click/{id}": {
            "post": {
                "tags": [
                    "Ads"
                ],
                "summary": "send Clicks",
                "description": "This api will be used to set increment ads clicks",
                "operationId": "Clicks",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "1"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/splash-ad": {
            "get": {
                "tags": [
                    "Ads"
                ],
                "summary": "get splash ad ",
                "description": "This api will be used to get splash ad information",
                "operationId": "splash-ad",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/home/test": {
            "get": {
                "tags": [
                    "Home"
                ],
                "summary": "get main screen test ",
                "description": "This api will be used to get main screen test information",
                "operationId": "main screen test",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/dynamic-link": {
            "get": {
                "tags": [
                    "Home"
                ],
                "summary": "get dynamic-link",
                "description": "This api will be used to get dynamic-linkinformation",
                "operationId": "dynamic-link",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "1"
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "The type of content (video, shop, news, greeting, podcast)",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "video",
                                "shop",
                                "news",
                                "greeting",
                                "podcast"
                            ],
                            "example": "post"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/search": {
            "get": {
                "tags": [
                    "Home"
                ],
                "summary": "get search",
                "description": "This api will be used to get searchinformation",
                "operationId": "search",
                "parameters": [
                    {
                        "name": "keyword",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "12"
                    },
                    {
                        "name": "offset",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "0"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/contact": {
            "post": {
                "tags": [
                    "Message"
                ],
                "summary": "send Message",
                "description": "This api will be used to set message user",
                "operationId": "Message",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "allOf": [
                                    {
                                        "required": [
                                            "name",
                                            "phone",
                                            "subject",
                                            "message",
                                            "form_type"
                                        ],
                                        "properties": {
                                            "form_type": {
                                                "title": "type of contact",
                                                "description": "",
                                                "type": "string",
                                                "format": "string",
                                                "enum": [
                                                    "contact-us",
                                                    "advertising",
                                                    "news",
                                                    "greetings"
                                                ],
                                                "example": "contact-us"
                                            },
                                            "name": {
                                                "title": "note",
                                                "description": "sender's name",
                                                "type": "string",
                                                "format": "string",
                                                "example": "Ali"
                                            },
                                            "phone": {
                                                "title": "phone",
                                                "description": "sender's phone",
                                                "type": "string",
                                                "format": "string",
                                                "example": "0595333333"
                                            },
                                            "subject": {
                                                "title": "subject",
                                                "description": "subject",
                                                "type": "string",
                                                "format": "string",
                                                "example": "subject ex"
                                            },
                                            "message": {
                                                "title": "message",
                                                "description": "message",
                                                "type": "string",
                                                "format": "string",
                                                "example": "message ex"
                                            },
                                            "images[]": {
                                                "description": "أرفق صور",
                                                "type": "array",
                                                "items": {
                                                    "type": "string",
                                                    "format": "binary"
                                                }
                                            },
                                            "videos[]": {
                                                "description": "أرفق فيدوهات",
                                                "type": "array",
                                                "items": {
                                                    "type": "string",
                                                    "format": "binary"
                                                }
                                            }
                                        },
                                        "type": "object"
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/remove-onesignal": {
            "post": {
                "tags": [
                    "Message"
                ],
                "summary": "remove Message",
                "description": "This api will be used to remove message user",
                "operationId": "Message remove",
                "parameters": [
                    {
                        "name": "onesignal_id",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        },
                        "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/add-onesignal": {
            "post": {
                "tags": [
                    "Message"
                ],
                "summary": "add Message",
                "description": "This api will be used to add message user",
                "operationId": "Message add",
                "parameters": [
                    {
                        "name": "onesignal_id",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        },
                        "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/get-about-page": {
            "get": {
                "tags": [
                    "Static-Page"
                ],
                "summary": "get about screen test ",
                "description": "This api will be used to get about screen test information",
                "operationId": "page aboutUs test",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/get-privacy-policy": {
            "get": {
                "tags": [
                    "Static-Page"
                ],
                "summary": "get privacy-policy screen test ",
                "description": "This api will be used to get privacy-policy screen test information",
                "operationId": "page privacy-policy test",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/polls/vote": {
            "post": {
                "tags": [
                    "Poll"
                ],
                "summary": "send Poll",
                "description": "This api will be used to set poll user",
                "operationId": "Poll",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "allOf": [
                                    {
                                        "required": [
                                            "option_id",
                                            "poll_id",
                                            "device_id"
                                        ],
                                        "properties": {
                                            "poll_id": {
                                                "title": "poll question",
                                                "description": "ID of the poll option being voted for",
                                                "type": "integer",
                                                "format": "number",
                                                "example": ""
                                            },
                                            "option_id": {
                                                "title": "voted option",
                                                "description": "ID of the option ",
                                                "type": "integer",
                                                "format": "number",
                                                "example": ""
                                            },
                                            "device_id": {
                                                "title": "device id",
                                                "description": "",
                                                "type": "string",
                                                "format": "string",
                                                "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                                            }
                                        },
                                        "type": "object"
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/post/{id}": {
            "get": {
                "tags": [
                    "Post"
                ],
                "summary": "get post details ",
                "description": "This api will be used to get post details information",
                "operationId": "post details",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "1"
                    },
                    {
                        "name": "device_id",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        },
                        "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/categories/{id}/posts": {
            "get": {
                "tags": [
                    "Post"
                ],
                "summary": "get posts list by category",
                "description": "This api will be used to get posts list by category information",
                "operationId": "get posts list by category",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "1"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "12"
                    },
                    {
                        "name": "offset",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "0"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/shopps-by-category": {
            "get": {
                "tags": [
                    "Shopping"
                ],
                "summary": "get Shopp screen",
                "description": "This api will be used to get Shopps screen information",
                "operationId": "Shopp",
                "parameters": [
                    {
                        "name": "category",
                        "in": "query",
                        "description": "set category id",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "0"
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "12"
                    },
                    {
                        "name": "offset",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "0"
                    },
                    {
                        "name": "keywords",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        },
                        "example": ""
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/get-internal-shopps/{id}": {
            "get": {
                "tags": [
                    "Shopping"
                ],
                "summary": "get internal shopps screen",
                "description": "This api will be used to get internal shopps screen information",
                "operationId": "Internal-Shopping",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "1"
                    },
                    {
                        "name": "device_id",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        },
                        "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/top-ads": {
            "get": {
                "tags": [
                    "Shopping"
                ],
                "summary": "get internal top-ads",
                "description": "This api will be used to get internal top-ads information",
                "operationId": "top-ads",
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/videos": {
            "get": {
                "tags": [
                    "Videos"
                ],
                "summary": "get videos screen",
                "description": "This api will be used to get videos screen information",
                "operationId": "Videos",
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "15"
                    },
                    {
                        "name": "offset",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "0"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/get-Internal-video/{id}": {
            "get": {
                "tags": [
                    "Videos"
                ],
                "summary": "get internal video screen",
                "description": "This api will be used to get internal video screen information",
                "operationId": "Internal-Video",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "number"
                        },
                        "example": "1"
                    },
                    {
                        "name": "device_id",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "string"
                        },
                        "example": "f45ac875-347c-4a91-bd69-85a20a94d228"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Example of a successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "custom_message": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "Data returned successfully"
                                        },
                                        "custom_code": {
                                            "type": "string",
                                            "format": "string",
                                            "example": "1001"
                                        },
                                        "data": {
                                            "type": "object"
                                        },
                                        "token_data": {
                                            "type": "object"
                                        },
                                        "encrypt": {
                                            "type": "boolean",
                                            "example": "false"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "token": {
                "type": "apiKey",
                "description": "Login with user and password to get the token",
                "name": "token",
                "in": "header"
            },
            "Authorization": {
                "type": "apiKey",
                "description": "Login with user and password to get the token",
                "name": "Authorization",
                "in": "header"
            }
        }
    },
    "tags": [
        {
            "name": "Category",
            "description": "Category"
        },
        {
            "name": "Editors-Chat",
            "description": "Editors-Chat"
        },
        {
            "name": "Comment",
            "description": "Comment"
        },
        {
            "name": "Like",
            "description": "Like"
        },
        {
            "name": "Home",
            "description": "Home"
        },
        {
            "name": "Ads",
            "description": "Ads"
        },
        {
            "name": "Message",
            "description": "Message"
        },
        {
            "name": "Static-Page",
            "description": "Static-Page"
        },
        {
            "name": "Poll",
            "description": "Poll"
        },
        {
            "name": "Post",
            "description": "Post"
        },
        {
            "name": "Shopping",
            "description": "Shopping"
        },
        {
            "name": "Videos",
            "description": "Videos"
        }
    ]
}