From d48614aab28a0f7f550bcc643772a3f740e22aa5 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Thu, 4 Jul 2024 19:54:30 +0000 Subject: [PATCH] Add: `AudioTrack.yaml` --- docs/objects/files/AudioTrack.yaml | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 docs/objects/files/AudioTrack.yaml diff --git a/docs/objects/files/AudioTrack.yaml b/docs/objects/files/AudioTrack.yaml new file mode 100644 index 000000000..4489660d2 --- /dev/null +++ b/docs/objects/files/AudioTrack.yaml @@ -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'