8
0

- Add more components

This commit is contained in:
2023-03-28 18:36:33 +03:00
parent d8e57a6b2c
commit 826b0e39ec
2 changed files with 86 additions and 5 deletions

View File

@ -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: