diff --git a/.insomnia/ApiSpec/spc_2b420b2bed1d4d868807303a581fb8c1.yml b/.insomnia/ApiSpec/spc_2b420b2bed1d4d868807303a581fb8c1.yml index 69820d5..59f1e1e 100755 --- a/.insomnia/ApiSpec/spc_2b420b2bed1d4d868807303a581fb8c1.yml +++ b/.insomnia/ApiSpec/spc_2b420b2bed1d4d868807303a581fb8c1.yml @@ -1,7 +1,7 @@ _id: spc_2b420b2bed1d4d868807303a581fb8c1 type: ApiSpec parentId: wrk_cd1160cf39f5497fa4711fe4fd6567de -modified: 1680013585576 +modified: 1680017776645 created: 1679916396495 fileName: youtubekids.yaml contents: >+ @@ -156,12 +156,30 @@ contents: >+ externalChannelId: type: string + # Thumbnail + Thumbnail: + type: object + properties: + url: + type: string + width: + type: number + height: + type: number + # Компактный видеорендерер CompactVideoRenderer: type: object properties: videoId: type: string + thumbnail: + type: object + properties: + thumbnails: + type: array + items: + $ref: '#/components/schemas/Thumbnail' title: $ref: '#/components/schemas/Text' longBylineText: @@ -176,6 +194,13 @@ contents: >+ $ref: '#/components/schemas/NavigationEndpoint' shortBylineText: $ref: '#/components/schemas/Text' + channelThumbnail: + type: object + properties: + thumbnails: + type: array + items: + $ref: '#/components/schemas/Thumbnail' trackingParams: type: string shortViewCountText: @@ -224,11 +249,12 @@ contents: >+ properties: sectionListRenderer: $ref: '#/components/schemas/SectionListRenderer' - trackingParams: type: string + navigationEndpoint: + $ref: '#/components/schemas/NavigationEndpoint' categoryAssets: - $ref: '#/components/schemas/CategoryAssets' + $ref: '#/components/schemas/CategoryAssets' categoryType: type: string @@ -248,6 +274,13 @@ contents: >+ items: $ref: '#/components/schemas/ScreenAnchor' + # Средство визуализации заголовка категории + CategoriesHeaderRenderer: + type: object + properties: + trackingParams: + type: string + # TODO # Параметры контента KidsAppContentSettings: @@ -365,6 +398,11 @@ contents: >+ properties: responseContext: $ref: '#/components/schemas/ResponseContext' + header: + type: object + properties: + kidsCategoriesHeaderRenderer: + $ref: '#/components/schemas/CategoriesHeaderRenderer' contents: type: object properties: diff --git a/.insomnia/Request/req_wrk_cd1160cf39f5497fa4711fe4fd6567de0f6a24fa.yml b/.insomnia/Request/req_wrk_cd1160cf39f5497fa4711fe4fd6567de0f6a24fa.yml index 0887847..2ed8287 100755 --- a/.insomnia/Request/req_wrk_cd1160cf39f5497fa4711fe4fd6567de0f6a24fa.yml +++ b/.insomnia/Request/req_wrk_cd1160cf39f5497fa4711fe4fd6567de0f6a24fa.yml @@ -1,7 +1,7 @@ _id: req_wrk_cd1160cf39f5497fa4711fe4fd6567de0f6a24fa type: Request parentId: fld_wrk_cd1160cf39f5497fa4711fe4fd6567de0f6a24fa -modified: 1680013066020 +modified: 1680014368438 created: 1679919032177 url: "{{ base_url }}/browse" name: Browse resource content @@ -12,7 +12,50 @@ body: text: |- { "context": { - + "client": { + "clientName": "WEB_KIDS", + "clientVersion": "2.20230202.00.00", + "hl": "ru", + "gl": "RU", + "experimentsToken": "string", + "browserName": "Safari", + "deviceMake": "apple", + "browserVersion": "16.2", + "osName": "Macintosh", + "osVersion": "10_15_7", + "platform": "DESKTOP", + "kidsAppInfo": { + "contentSettings": { + "corpusPreference": "KIDS_CORPUS_PREFERENCE_TWEEN", + "kidsNoSearchMode": "YT_KIDS_NO_SEARCH_MODE_OFF" + }, + "categorySettings": { + "enabledCategories": [ + "approved_for_you", + "black_joy", + "camp", + "collections", + "earth", + "explore", + "favorites", + "gaming", + "halloween", + "hero", + "learning", + "making", + "move", + "music", + "reading", + "shared_by_parents", + "shows", + "soccer", + "sports", + "spotlight", + "winter" + ] + } + } + } }, "browseId": "FEkids_home" }