Skip to content

Commit dbaf925

Browse files
authored
Automated update of Spotify's OpenAPI definition (#286)
1 parent 8c17239 commit dbaf925

File tree

1 file changed

+25
-22
lines changed

1 file changed

+25
-22
lines changed

official-spotify-open-api.yml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ paths:
677677
- Search
678678
operationId: search
679679
x-spotify-policy-list:
680-
- $ref: '#/components/x-spotify-policy/MachineLearning'
680+
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
681681
summary: |
682682
Search for Item
683683
description: |
@@ -1866,7 +1866,7 @@ paths:
18661866
- Playlists
18671867
operationId: get-featured-playlists
18681868
x-spotify-policy-list:
1869-
- $ref: '#/components/x-spotify-policy/MultipleIntegrations'
1869+
- $ref: '#/components/x-spotify-policy/policies/MultipleIntegrations'
18701870
summary: |
18711871
Get Featured Playlists
18721872
description: |
@@ -2108,7 +2108,7 @@ paths:
21082108
- Albums
21092109
operationId: get-new-releases
21102110
x-spotify-policy-list:
2111-
- $ref: '#/components/x-spotify-policy/MultipleIntegrations'
2111+
- $ref: '#/components/x-spotify-policy/policies/MultipleIntegrations'
21122112
summary: |
21132113
Get New Releases
21142114
description: |
@@ -2394,7 +2394,7 @@ paths:
23942394
- Tracks
23952395
operationId: get-several-audio-features
23962396
x-spotify-policy-list:
2397-
- $ref: '#/components/x-spotify-policy/MachineLearning'
2397+
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
23982398
summary: |
23992399
Get Tracks' Audio Features
24002400
description: |
@@ -2427,7 +2427,7 @@ paths:
24272427
- Tracks
24282428
operationId: get-audio-features
24292429
x-spotify-policy-list:
2430-
- $ref: '#/components/x-spotify-policy/MachineLearning'
2430+
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
24312431
summary: |
24322432
Get Track's Audio Features
24332433
description: |
@@ -2491,7 +2491,7 @@ paths:
24912491
- Tracks
24922492
operationId: get-recommendations
24932493
x-spotify-policy-list:
2494-
- $ref: '#/components/x-spotify-policy/MachineLearning'
2494+
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
24952495
summary: |
24962496
Get Recommendations
24972497
description: |
@@ -3631,21 +3631,24 @@ components:
36313631
streaming: |
36323632
Play content and control playback on your other devices.
36333633
x-spotify-policy:
3634-
$ref: '../policies.yaml'
3634+
policies:
3635+
$ref: '../policies.yaml'
36353636
metadataPolicyList:
3636-
- $ref: '#/components/x-spotify-policy/Downloading'
3637-
- $ref: '#/components/x-spotify-policy/VisualAlteration'
3638-
- $ref: '#/components/x-spotify-policy/Attribution'
3637+
- $ref: '#/components/x-spotify-policy/policies/Downloading'
3638+
- $ref: '#/components/x-spotify-policy/policies/VisualAlteration'
3639+
- $ref: '#/components/x-spotify-policy/policies/Attribution'
36393640
metadataWithMachineLearningPolicyList:
3640-
- $ref: '#/components/x-spotify-policy/Downloading'
3641-
- $ref: '#/components/x-spotify-policy/VisualAlteration'
3642-
- $ref: '#/components/x-spotify-policy/Attribution'
3643-
- $ref: '#/components/x-spotify-policy/MachineLearning'
3641+
- $ref: '#/components/x-spotify-policy/policies/Downloading'
3642+
- $ref: '#/components/x-spotify-policy/policies/VisualAlteration'
3643+
- $ref: '#/components/x-spotify-policy/policies/Attribution'
3644+
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
36443645
playerPolicyList:
3645-
- $ref: '#/components/x-spotify-policy/CommercialStreaming'
3646-
- $ref: '#/components/x-spotify-policy/ContentAlteration'
3647-
- $ref: '#/components/x-spotify-policy/Synchronization'
3648-
- $ref: '#/components/x-spotify-policy/Broadcasting'
3646+
- $ref: '#/components/x-spotify-policy/policies/CommercialStreaming'
3647+
- $ref: '#/components/x-spotify-policy/policies/ContentAlteration'
3648+
- $ref: '#/components/x-spotify-policy/policies/Synchronization'
3649+
- $ref: '#/components/x-spotify-policy/policies/Broadcasting'
3650+
downloading:
3651+
$ref: '#/components/x-spotify-policy/policies/Downloading'
36493652
responses:
36503653
Unauthorized:
36513654
description: |
@@ -5207,7 +5210,7 @@ components:
52075210
description: |
52085211
A URL to a 30 second preview (MP3 format) of the track.
52095212
x-spotify-policy-list:
5210-
- $ref: '#/components/x-spotify-policy/StandalonePreview'
5213+
- $ref: '#/components/x-spotify-policy/policies/StandalonePreview'
52115214
track_number:
52125215
type: integer
52135216
description: |
@@ -6037,7 +6040,7 @@ components:
60376040
description: |
60386041
A link to a 30 second preview (MP3 format) of the track. Can be `null`
60396042
x-spotify-policy-list:
6040-
- $ref: '#/components/x-spotify-policy/StandalonePreview'
6043+
- $ref: '#/components/x-spotify-policy/policies/StandalonePreview'
60416044
track_number:
60426045
type: integer
60436046
description: |
@@ -6105,7 +6108,7 @@ components:
61056108
description: |
61066109
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.
61076110
x-spotify-policy-list:
6108-
- $ref: '#/components/x-spotify-policy/StandalonePreview'
6111+
- $ref: '#/components/x-spotify-policy/policies/StandalonePreview'
61096112
description:
61106113
type: string
61116114
example: |
@@ -6656,7 +6659,7 @@ components:
66566659
description: |
66576660
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.
66586661
x-spotify-policy-list:
6659-
- $ref: '#/components/x-spotify-policy/StandalonePreview'
6662+
- $ref: '#/components/x-spotify-policy/policies/StandalonePreview'
66606663
available_markets:
66616664
type: array
66626665
items:

0 commit comments

Comments
 (0)