{
    "openapi": "3.0.0",
    "info": {
        "title": "Kandy",
        "description": "Here you can find all the api available for Vulcan CMS",
        "contact": {
            "email": "apiteam@swagger.io"
        },
        "version": "1.0.0"
    },
    "servers": [
        {
            "url": "/api/vulcan",
            "description": "OpenApi host"
        }
    ],
    "paths": {
        "/login": {
            "post": {
                "tags": [
                    "Auth"
                ],
                "summary": "Login",
                "operationId": "login",
                "parameters": [
                    {
                        "name": "email",
                        "in": "query",
                        "description": "email",
                        "required": true
                    },
                    {
                        "name": "password",
                        "in": "query",
                        "description": "password",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation"
                    }
                }
            }
        },
        "/trackings/find": {
            "get": {
                "tags": [
                    "Tracking"
                ],
                "summary": "Find Tracking link",
                "operationId": "findTrackingLink",
                "parameters": [
                    {
                        "name": "siteId",
                        "in": "query",
                        "description": "Id of the site",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "brandId",
                        "in": "query",
                        "description": "Id of the brand",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "verticalId",
                        "in": "query",
                        "description": "Id of the vertical",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "countryIsoCode2",
                        "in": "query",
                        "description": "Country Iso Code 2",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "minLength": 2,
                            "maxLength": 2
                        }
                    }
                ],
                "responses": {
                    "default": {
                        "description": "Invalid ID supplied"
                    },
                    "404": {
                        "description": "Pet not found"
                    },
                    "400": {
                        "description": "Validation exception"
                    }
                },
                "security": [
                    {
                        "Authorization": []
                    }
                ]
            }
        },
        "/checkLink": {
            "get": {
                "tags": ["Tracking"],
                "summary": "Get information on a tracking link",
                "description": "",
                "operationId": "linkInformation",
                "responses": {},
                "security": [
                    {
                        "Authorization": []
                    }
                ],
                "parameters": [
                    {
                        "name": "url",
                        "in": "query",
                        "description": "Url of the link",
                        "required": true,
                        "style": "form",
                        "schema": {
                            "type": "string"
                        }
                    }
                ]
            }
        },
        "/verticals": {
            "get": {
                "tags": [
                    "Vertical"
                ],
                "summary": "Get Verticals",
                "operationId": "allVerticals",
                "responses": {
                    "200": {
                        "description": "Successful operation"
                    }
                },
                "security": [
                    {
                        "Authorization": []
                    }
                ]
            }
        },
        "/brands": {
            "get": {
                "tags": ["Brand"],
                "summary": "Get Brands by verticals",
                "description": "",
                "operationId": "brandsByVertical",
                "responses": {},
                "security": [
                    {
                        "Authorization": []
                    }
                ],
                "parameters": [
                    {
                        "name": "verticalId",
                        "in": "query",
                        "description": "Id of the vertical",
                        "required": true,
                        "style": "form",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            }
        },
        "/campaigns/find": {
            "get": {
                "tags": ["Campaign"],
                "summary": "Find Campaigns",
                "description": "",
                "operationId": "findCampaigns",
                "parameters": [
                    {
                        "name": "siteId",
                        "in": "query",
                        "description": "Id of the site",
                        "required": true,
                        "style": "form",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "brandId",
                        "in": "query",
                        "description": "Id of the brand",
                        "required": true,
                        "style": "form",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "countryIsoCode2",
                        "in": "query",
                        "description": "ISO code 2 of the country",
                        "required": false,
                        "style": "form",
                        "schema": {
                            "type": "string",
                            "minLength": 2,
                            "maxLength": 2
                        }
                    },
                    {
                        "name": "verticalId",
                        "in": "query",
                        "description": "Id of the vertical",
                        "required": false,
                        "style": "form",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {},
                "security": [
                    {
                        "Authorization": []
                    }
                ]
            }
        },
        "/clickIdParameters": {
            "get": {
                "tags": ["Click ID Parameter"],
                "summary": "Get Click ID Parameters",
                "description": "",
                "operationId": "clickIdParameters",
                "responses": {},
                "security": [
                    {
                        "Authorization": []
                    }
                ]
            }
        }
    },
    "components": {
        "securitySchemes": {
            "Authorization": {
                "type": "apiKey",
                "name": "Authorization",
                "in": "header"
            }
        }
    }
}