Update API spec and API interfaces with new fields.
This commit is contained in:
parent
c881a28be4
commit
17e83547f7
|
@ -611,6 +611,8 @@ export type ApiPodcast = HasLinks & {
|
|||
link?: string | null;
|
||||
description?: string;
|
||||
description_short?: string;
|
||||
/** An array containing podcast-specific branding configuration */
|
||||
branding_config?: any[];
|
||||
language?: string;
|
||||
language_name?: string;
|
||||
author?: string;
|
||||
|
@ -633,12 +635,15 @@ export interface ApiPodcastCategory {
|
|||
export type ApiPodcastEpisode = HasLinks & {
|
||||
id?: string;
|
||||
title?: string;
|
||||
link?: string | null;
|
||||
description?: string;
|
||||
description_short?: string;
|
||||
explicit?: boolean;
|
||||
season_number?: number | null;
|
||||
episode_number?: number | null;
|
||||
created_at?: number;
|
||||
publish_at?: number;
|
||||
is_published?: boolean;
|
||||
publish_at?: number | null;
|
||||
has_media?: boolean;
|
||||
playlist_media_id?: string | null;
|
||||
playlist_media?: ApiSong | null;
|
||||
|
@ -1501,6 +1506,8 @@ export type StationPlaylist = HasAutoIncrementId & {
|
|||
avoid_duplicates?: boolean;
|
||||
/** StationSchedule> */
|
||||
schedule_items?: any[];
|
||||
/** Podcast> */
|
||||
podcasts?: any[];
|
||||
};
|
||||
|
||||
export type StationSchedule = HasAutoIncrementId & {
|
||||
|
|
|
@ -3944,6 +3944,13 @@ components:
|
|||
type: string
|
||||
storage_location_id:
|
||||
type: integer
|
||||
source:
|
||||
type: string
|
||||
playlist_id:
|
||||
type: integer
|
||||
nullable: true
|
||||
playlist_auto_publish:
|
||||
type: boolean
|
||||
title:
|
||||
type: string
|
||||
link:
|
||||
|
@ -3953,6 +3960,10 @@ components:
|
|||
type: string
|
||||
description_short:
|
||||
type: string
|
||||
branding_config:
|
||||
description: 'An array containing podcast-specific branding configuration'
|
||||
type: array
|
||||
items: { }
|
||||
language:
|
||||
type: string
|
||||
language_name:
|
||||
|
@ -3999,23 +4010,42 @@ components:
|
|||
type: string
|
||||
title:
|
||||
type: string
|
||||
link:
|
||||
type: string
|
||||
nullable: true
|
||||
description:
|
||||
type: string
|
||||
description_short:
|
||||
type: string
|
||||
explicit:
|
||||
type: boolean
|
||||
season_number:
|
||||
type: integer
|
||||
nullable: true
|
||||
episode_number:
|
||||
type: integer
|
||||
nullable: true
|
||||
created_at:
|
||||
type: integer
|
||||
publish_at:
|
||||
type: integer
|
||||
is_published:
|
||||
type: boolean
|
||||
publish_at:
|
||||
type: integer
|
||||
nullable: true
|
||||
has_media:
|
||||
type: boolean
|
||||
playlist_media_id:
|
||||
type: string
|
||||
nullable: true
|
||||
playlist_media:
|
||||
nullable: true
|
||||
oneOf:
|
||||
-
|
||||
$ref: '#/components/schemas/Api_Song'
|
||||
media:
|
||||
$ref: '#/components/schemas/Api_PodcastMedia'
|
||||
nullable: true
|
||||
oneOf:
|
||||
-
|
||||
$ref: '#/components/schemas/Api_PodcastMedia'
|
||||
has_custom_art:
|
||||
type: boolean
|
||||
art:
|
||||
|
@ -5012,6 +5042,10 @@ components:
|
|||
description: StationSchedule>
|
||||
type: array
|
||||
items: { }
|
||||
podcasts:
|
||||
description: Podcast>
|
||||
type: array
|
||||
items: { }
|
||||
type: object
|
||||
StationSchedule:
|
||||
type: object
|
||||
|
|
Loading…
Reference in New Issue