mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 18:24:46 +02:00
Podcast endpoints (#3140)
* Add: `AudioTrack.yaml` * Fix: audiotrack example * Initial: podcast schemas and endpoints * Update schemas * Add: podcasts tag * Update bundled spec
This commit is contained in:
parent
acaf1ac196
commit
c5e60d30e1
8 changed files with 1810 additions and 0 deletions
45
docs/objects/files/AudioTrack.yaml
Normal file
45
docs/objects/files/AudioTrack.yaml
Normal file
|
@ -0,0 +1,45 @@
|
|||
components:
|
||||
schemas:
|
||||
AudioTrack:
|
||||
type: object
|
||||
description: Represents an audio track with various properties.
|
||||
properties:
|
||||
index:
|
||||
type: integer
|
||||
nullable: true
|
||||
description: The index of the audio track.
|
||||
example: null
|
||||
startOffset:
|
||||
type: number
|
||||
format: float
|
||||
nullable: true
|
||||
description: The start offset of the audio track in seconds.
|
||||
example: null
|
||||
duration:
|
||||
type: number
|
||||
format: float
|
||||
nullable: true
|
||||
description: The duration of the audio track in seconds.
|
||||
example: null
|
||||
title:
|
||||
type: string
|
||||
nullable: true
|
||||
description: The title of the audio track.
|
||||
example: null
|
||||
contentUrl:
|
||||
type: string
|
||||
nullable: true
|
||||
description: The URL where the audio track content is located.
|
||||
example: '`/api/items/${itemId}/file/${audioFile.ino}`'
|
||||
mimeType:
|
||||
type: string
|
||||
nullable: true
|
||||
description: The MIME type of the audio track.
|
||||
example: null
|
||||
codec:
|
||||
type: string
|
||||
nullable: true
|
||||
description: The codec used for the audio track.
|
||||
example: aac
|
||||
metadata:
|
||||
$ref: '../metadata/FileMetadata.yaml#/components/schemas/fileMetadata'
|
Loading…
Add table
Add a link
Reference in a new issue