Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.

Commit fd35c2a

Browse files
committed
add rumble apis
1 parent 2a4956f commit fd35c2a

1 file changed

Lines changed: 104 additions & 1 deletion

File tree

yabcounts.yaml

Lines changed: 104 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ paths:
8989
type: string
9090
publishedAt:
9191
type: string
92+
format: date-time
9293
thumbnail:
9394
type: string
9495
url:
@@ -100,7 +101,109 @@ paths:
100101
properties:
101102
viewCount:
102103
type: integer
103-
likeCouunt:
104+
likeCount:
105+
type: integer
106+
commentCount:
107+
type: integer
108+
/rumble/channel/{channel_id}:
109+
get:
110+
summary: Get a Rumble channel
111+
parameters:
112+
- name: channel_id
113+
in: path
114+
required: true
115+
schema:
116+
type: string
117+
description: The ID of the Rumble channel.
118+
example: _c1804905
119+
- name: fields
120+
in: query
121+
required: false
122+
schema:
123+
type: string
124+
description: Used to specify the specific fields you want from the response.
125+
example: name,statistics.followerCount
126+
responses:
127+
"200":
128+
description: OK
129+
content:
130+
application/json:
131+
schema:
132+
type: object
133+
properties:
134+
id:
135+
type: string
136+
name:
137+
type: string
138+
handle:
139+
type: string
140+
url:
141+
type: string
142+
thumbnail:
143+
type: string
144+
banner:
145+
type: string
146+
description:
147+
type: string
148+
nullable: true
149+
statistics:
150+
type: object
151+
properties:
152+
followerCount:
153+
type: integer
154+
videoCount:
155+
type: integer
156+
likeCount:
157+
type: integer
158+
/rumble/video/{video_id}:
159+
get:
160+
summary: Get a Rumble video
161+
parameters:
162+
- name: video_id
163+
in: path
164+
required: true
165+
schema:
166+
type: string
167+
description: The ID of the Rumble video.
168+
example: 85324457
169+
- name: fields
170+
in: query
171+
required: false
172+
schema:
173+
type: string
174+
description: Used to specify the specific fields you want from the response.
175+
example: name,statistics.viewCount
176+
responses:
177+
"200":
178+
description: OK
179+
content:
180+
application/json:
181+
schema:
182+
type: object
183+
properties:
184+
id:
185+
type: string
186+
name:
187+
type: string
188+
description:
189+
type: string
190+
publishedAt:
191+
type: string
192+
format: date-time
193+
thumbnail:
194+
type: string
195+
url:
196+
type: string
197+
creatorName:
198+
type: string
199+
statistics:
200+
type: object
201+
properties:
202+
viewCount:
203+
type: integer
204+
likeCount:
205+
type: integer
206+
dislikeCount:
104207
type: integer
105208
commentCount:
106209
type: integer

0 commit comments

Comments
 (0)