{"swagger":"2.0","info":{"title":"ActorApp API","description":"Апи для работы мобильного приложения и веб-сайта","version":"1.0.0"},"schemes":["https"],"produces":["application/json"],"paths":{"/web/content":{"get":{"description":"Используется для получения контента для главной страницы лендинга","responses":{"200":{"description":"Успешный ответ","schema":{"$ref":"#/definitions/IndexContent"}}}}}},"definitions":{"IndexContent":{"type":"object","properties":{"actors":{"type":"array","description":"актёры для вывода на сайте","items":{"type":"object","properties":{"pk":{"type":"string","description":"Уникальный идентификатор в формате uuid"},"sex":{"type":"string","description":"Пол"},"first_name":{"type":"string","description":"Имя"},"last_name":{"type":"string","description":"Фамилия"},"video_id":{"type":"string","description":"Video_id от ютуба"},"video_side_text":{"type":"string","description":"Текст справа от видео"},"uri":{"type":"string","description":"фрагемент URL адреса, уникален"},"image":{"type":"string","description":"Картинка актёра с тенью, PNG24 на прозрачном фоне"},"image_2x":{"type":"string","description":"Картинка актёра с тенью, PNG24 на прозрачном фоне @2x"},"lead":{"type":"string","description":"Лид-текст про актёра (отображается на сайте в белой плашке под фоткой)"},"gradient_angle":{"type":"number"},"gradient":{"type":"array","description":"Набор точек градиента","items":{"type":"object","description":"Описание одной точки","properties":{"position":{"type":"string","description":"Процентное значение"},"color":{"type":"string","description":"Цвет в формате RGB Hex"}}}},"tags":{"type":"array","description":"Набор тэгов актёра в массиве","items":{"type":"string","description":"Тэг актёра"}},"content_head":{"type":"object","description":"Контент для верхней части страницы","properties":{"lead":{"type":"string","description":"Лид текст справа наверху"},"point_1":{"type":"string","description":"текст под первой галочкой"},"point_2":{"type":"string","description":"текст под второй галочкой"}}}}}},"ga_id":{"type":"string","description":"ID идентификатора отслеживания для Google Analytics"},"app_store_link":{"type":"string","description":"Ссылка на эппловый аппстор"},"google_play_link":{"type":"string","description":"Ссылка на гугловый стор"},"show_login_buttons":{"type":"boolean","description":"Выводить ли в шапке кнопки авторизации и регистрации в ЛК"},"content_second":{"type":"object","description":"Контент для второго блока Следи за ближайшими","properties":{"header":{"type":"string","description":"Заголовок"},"content":{"type":"string","description":"Текст"}}},"content_third":{"type":"object","description":"Контент для третьего блока Участвуй в аукционе","properties":{"header":{"type":"string","description":"Заголовок"},"content":{"type":"string","description":"Текст"}}},"content_fifth":{"type":"object","description":"Контент для пятого блока Закажи подздравление","properties":{"header":{"type":"string","description":"Заголовок"},"content":{"type":"string","description":"Текст"}}},"copyright":{"type":"string","description":"строка копирайта (ООО Инвилл...)"},"legal":{"type":"array","description":"юридическая информация (массив)","items":{"type":"object","properties":{"url":{"type":"string","description":"адрес документа"},"title":{"type":"string","description":"Название документа"}}}}},"example":{"actors":[{"pk":"sdsd","sex":"M","first_name":"Иван","last_name":"Иванов","video_id":"3fnPwj1AMpo","video_side_text":"Get all the benefits of an in-wall or in-ceiling speaker system without any of the hassle. Just replace a few lights around your house, and start streaming crisp, clear audio, everywhere. Just replace a few lights around your house, and start streaming crisp, clear audio, everywhere.\n","uri":"ivan-ivanov","image":"//hello-random-urls.ru/0001_200x300.png","image_2x":"//hello-random-urls.ru/0001_400x600.png","lead":"Get all the benefits of an in-wall or in-ceiling speaker system without any of the hassle. Just replace a few lights around your house, and start streaming crisp, clear audio, everywhere. Get all the benefits of an in-wall or in-ceiling speaker system without any of the hassle. Just replace a few lights around your house, and start streaming crisp, clear audio, everywhere.\n","gradient_angle":45,"gradient":[{"pos":0,"color":"#FFFFFF"},{"pos":100,"color":"#000000"}],"tags":["actor","bdsm","test"],"content_head":{"lead":"Мы проводим супер-аукцион — участвуйте, чтобы попасть на ужин с <NAME>!\n","point_1":"Ближайшие события от <NAME> — в нашем приложении!\n","point_2":"Закажи личное поздравление для своих близких от <NAME>, и он (она) запишет его для вас на видео.\n"}}],"ga_id":"UA1231230120312-112","app_store_link":"https://itunes.apple.com/ru/app/andeks.muzyka/id520797969?mt=8&uo=4&at=1000lqjf&ct=music","google_play_link":"https://play.google.com/store/apps/details?id=ru.yandex.music","show_login_buttons":false,"content_second":{"header":"Следи за ближайшими событиями <span>Ивана</span>\n","content":"Get all the benefits of an <span>in-wall or in-ceiling speaker system</span> without any of the hassle. Just replace a few lights around your house, and start streaming crisp, clear audio, everywhere.\n"},"content_third":{"header":"Участвуй в аукционе на <span>ужин с Иваном</span>!\n","content":"Get all the benefits of an <span>in-wall or in-ceiling speaker system</span> without any of the hassle. Just replace a few lights around your house, and start streaming crisp, clear audio, everywhere.\n"},"content_fifth":{"header":"<span>Закажи поздравление</span> для себя или своих близких\n","content":"Get all the benefits of an <span>in-wall or in-ceiling speaker system</span> without any of the hassle. Just replace a few lights around your house, and start streaming crisp, clear audio, everywhere.\n"}}}},"host":"virtserver.swaggerhub.com","basePath":"/nzhenev/123/1.0.0"}