Skip to content

Commit

Permalink
Merge pull request #1 from GoldElysium/fix/channel-list-endpoint
Browse files Browse the repository at this point in the history
fix: change 'suborg' to 'group' for list channels endpoint
  • Loading branch information
sphinxrave authored Aug 20, 2023
2 parents dc1e205 + 61f962e commit 998bcb3
Showing 1 changed file with 53 additions and 1 deletion.
54 changes: 53 additions & 1 deletion openapi/holodex_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,58 @@ components:
type: boolean
description:
type: string
ChannelWithGroup:
type: object
properties:
id:
type: string
name:
type: string
english_name:
type: string
nullable: true
type:
type: string
enum:
- vtuber
- subber
org:
type: string
nullable: true
group:
type: string
nullable: true
photo:
type: string
nullable: true
banner:
type: string
nullable: true
twitter:
type: string
nullable: true
video_count:
type: string
nullable: true
subscriber_count:
type: string
nullable: true
view_count:
type: string
nullable: true
clip_count:
type: string
nullable: true
lang:
type: string
nullable: true
published_at:
type: string
format: date-time
inactive:
type: boolean
description:
type: string
Video:
type: object
x-examples: {}
Expand Down Expand Up @@ -979,7 +1031,7 @@ paths:
type: array
description: Array of Channels up to `limit` count.
items:
$ref: "#/components/schemas/Channel"
$ref: "#/components/schemas/ChannelWithGroup"
operationId: get-channels
description: ""
parameters:
Expand Down

0 comments on commit 998bcb3

Please sign in to comment.