Skip to content

Commit 36b6c60

Browse files
committed
Add nullable to preview urls
1 parent 6f65967 commit 36b6c60

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

fixed-spotify-open-api.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5160,6 +5160,7 @@ components:
51605160
description: The name of the track.
51615161
preview_url:
51625162
type: string
5163+
nullable: true
51635164
description: |
51645165
A URL to a 30 second preview (MP3 format) of the track.
51655166
track_number:
@@ -5962,6 +5963,7 @@ components:
59625963
The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.<br/>The popularity of a track is a value between 0 and 100, with 100 being the most popular. The popularity is calculated by algorithm and is based, in the most part, on the total number of plays the track has had and how recent those plays are.<br/>Generally speaking, songs that are being played a lot now will have a higher popularity than songs that were played a lot in the past. Duplicate tracks (e.g. the same track from a single and an album) are rated independently. Artist and album popularity is derived mathematically from track popularity. _**Note**: the popularity value may lag actual popularity by a few days: the value is not updated in real time._
59635964
preview_url:
59645965
type: string
5966+
nullable: true
59655967
description: |
59665968
A link to a 30 second preview (MP3 format) of the track. Can be `null`
59675969
track_number:
@@ -6025,6 +6027,7 @@ components:
60256027
properties:
60266028
audio_preview_url:
60276029
type: string
6030+
nullable: true
60286031
example: https://p.scdn.co/mp3-preview/2f37da1d4221f40b9d1a98cd191f4d6f1646ad17
60296032
description: |
60306033
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.
@@ -6556,6 +6559,7 @@ components:
65566559
properties:
65576560
audio_preview_url:
65586561
type: string
6562+
nullable: true
65596563
example: https://p.scdn.co/mp3-preview/2f37da1d4221f40b9d1a98cd191f4d6f1646ad17
65606564
description: |
65616565
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.

official-spotify-open-api.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5207,6 +5207,7 @@ components:
52075207
description: The name of the track.
52085208
preview_url:
52095209
type: string
5210+
nullable: true
52105211
description: |
52115212
A URL to a 30 second preview (MP3 format) of the track.
52125213
x-spotify-policy-list:
@@ -6040,6 +6041,7 @@ components:
60406041
The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.<br/>The popularity of a track is a value between 0 and 100, with 100 being the most popular. The popularity is calculated by algorithm and is based, in the most part, on the total number of plays the track has had and how recent those plays are.<br/>Generally speaking, songs that are being played a lot now will have a higher popularity than songs that were played a lot in the past. Duplicate tracks (e.g. the same track from a single and an album) are rated independently. Artist and album popularity is derived mathematically from track popularity. _**Note**: the popularity value may lag actual popularity by a few days: the value is not updated in real time._
60416042
preview_url:
60426043
type: string
6044+
nullable: true
60436045
description: |
60446046
A link to a 30 second preview (MP3 format) of the track. Can be `null`
60456047
x-spotify-policy-list:
@@ -6107,6 +6109,7 @@ components:
61076109
properties:
61086110
audio_preview_url:
61096111
type: string
6112+
nullable: true
61106113
example: https://p.scdn.co/mp3-preview/2f37da1d4221f40b9d1a98cd191f4d6f1646ad17
61116114
description: |
61126115
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.
@@ -6658,6 +6661,7 @@ components:
66586661
properties:
66596662
audio_preview_url:
66606663
type: string
6664+
nullable: true
66616665
example: https://p.scdn.co/mp3-preview/2f37da1d4221f40b9d1a98cd191f4d6f1646ad17
66626666
description: |
66636667
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.

0 commit comments

Comments
 (0)