.. _api_references: Справочники =========== .. contents:: Содержание .. _api_references_server_location: Список локаций сервера ###################### Запрос:: GET https://api.service-kp.com/v1/references/server-location HTTP/1.1 200 OK Content-Type: application/json { 'status': 200, 'items': [ { 'id': 1, 'location': 'de', 'name': 'Германия', } ], } .. _api_references_streaming_type: Список типов стриминга ###################### Запрос:: GET https://api.service-kp.com/v1/references/streaming-type HTTP/1.1 200 OK Content-Type: application/json { 'status': 200, 'items': [ { 'id': 1, 'code': 'hls4', 'name': 'HLS4', 'description': 'Description' } ], } .. _api_references_voiceover_type: Список типов переводов ###################### Запрос:: GET https://api.service-kp.com/v1/references/voiceover-type HTTP/1.1 200 OK Content-Type: application/json { 'status': 200, 'items': [ { "id": 1, "title": "Дубляж", "short_title": "DUB" }, ], } .. _api_references_voiceover_author: Список авторов озвучек/переводов ################################ Запрос:: GET https://api.service-kp.com/v1/references/voiceover-author HTTP/1.1 200 OK Content-Type: application/json { 'status': 200, 'items': [ { "id": 1, "title": "Видеосервис", "short_title": null }, ], } .. _api_references_video_quality: Список качеств видео #################### Запрос:: GET https://api.service-kp.com/v1/references/video-quality HTTP/1.1 200 OK Content-Type: application/json { 'status': 200, 'items': [ { "id": 1, "title": "480p", "quality": 480, }, { "id": 2, "title": "720p", "quality": 720, }, ], }