Skip to content

Commit 86d2abb

Browse files
committed
Remove the spotify policy stuff
1 parent 4263b36 commit 86d2abb

File tree

2 files changed

+97
-0
lines changed

2 files changed

+97
-0
lines changed

official-spotify-open-api.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ paths:
1919
x-spotify-docs-category: Albums
2020
get:
2121
operationId: get-an-album
22+
x-spotify-policy-list:
23+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
2224
tags:
2325
- Albums
2426
x-spotify-docs-endpoint-name: Get an Album
@@ -46,6 +48,8 @@ paths:
4648
x-spotify-docs-category: Albums
4749
get:
4850
operationId: get-multiple-albums
51+
x-spotify-policy-list:
52+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
4953
tags:
5054
- Albums
5155
x-spotify-docs-endpoint-name: Get Multiple Albums
@@ -73,6 +77,8 @@ paths:
7377
x-spotify-docs-category: Albums
7478
get:
7579
operationId: get-an-albums-tracks
80+
x-spotify-policy-list:
81+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
7682
tags:
7783
- Albums
7884
- Tracks
@@ -106,6 +112,8 @@ paths:
106112
tags:
107113
- Artists
108114
operationId: get-an-artist
115+
x-spotify-policy-list:
116+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
109117
x-spotify-docs-endpoint-name: Get an Artist
110118
x-spotify-docs-console-url: /console/get-artist/?id=0OdUWJ0sBjDrqHygGUXeCF
111119
summary: |
@@ -132,6 +140,8 @@ paths:
132140
tags:
133141
- Artists
134142
operationId: get-multiple-artists
143+
x-spotify-policy-list:
144+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
135145
x-spotify-docs-endpoint-name: Get Multiple Artists
136146
x-spotify-docs-console-url: /console/get-several-artists/?ids=0oSGxfWSnnOXhD2fKuz2Gy,3dBVyJ7JuOMt4GE9607Qin
137147
summary: |
@@ -167,6 +177,8 @@ paths:
167177
- Artists
168178
- Albums
169179
operationId: get-an-artists-albums
180+
x-spotify-policy-list:
181+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
170182
x-spotify-docs-endpoint-name: Get an Artist's Albums
171183
x-spotify-docs-console-url: /console/get-artist-albums/?album_type=single&limit=2&market=ES&id=1vCWHaC5f2uS3yhpwWbIA6
172184
summary: |
@@ -198,6 +210,8 @@ paths:
198210
- Artists
199211
- Tracks
200212
operationId: get-an-artists-top-tracks
213+
x-spotify-policy-list:
214+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
201215
x-spotify-docs-endpoint-name: Get an Artist's Top Tracks
202216
x-spotify-docs-console-url: /console/get-artist-top-tracks/?country=SE&id=43ZHCT0cAZBISjO8DG9PnE
203217
summary: |
@@ -225,6 +239,8 @@ paths:
225239
tags:
226240
- Artists
227241
operationId: get-an-artists-related-artists
242+
x-spotify-policy-list:
243+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
228244
x-spotify-docs-endpoint-name: Get an Artist's Related Artists
229245
x-spotify-docs-console-url: /console/get-artist-related-artists/?id=43ZHCT0cAZBISjO8DG9PnE
230246
summary: |
@@ -251,6 +267,8 @@ paths:
251267
tags:
252268
- Shows
253269
operationId: get-a-show
270+
x-spotify-policy-list:
271+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
254272
x-spotify-docs-endpoint-name: Get a Show
255273
x-spotify-docs-console-url: /console/get-show/?id=38bS44xjbVVZ3No3ByF1dJ
256274
summary: |
@@ -280,6 +298,8 @@ paths:
280298
tags:
281299
- Shows
282300
operationId: get-multiple-shows
301+
x-spotify-policy-list:
302+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
283303
x-spotify-docs-endpoint-name: Get Multiple Shows
284304
x-spotify-docs-console-url: /console/get-several-shows/?ids=5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ
285305
summary: |
@@ -308,6 +328,8 @@ paths:
308328
- Shows
309329
- Episodes
310330
operationId: get-a-shows-episodes
331+
x-spotify-policy-list:
332+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
311333
x-spotify-docs-endpoint-name: Get a Show's Episodes
312334
x-spotify-docs-console-url: /console/get-show-episodes/
313335
summary: |
@@ -338,6 +360,8 @@ paths:
338360
tags:
339361
- Episodes
340362
operationId: get-an-episode
363+
x-spotify-policy-list:
364+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
341365
x-spotify-docs-endpoint-name: Get an Episode
342366
x-spotify-docs-console-url: /console/get-episode/?id=512ojhOuo1ktJprKbVcKyQ
343367
summary: |
@@ -376,6 +400,8 @@ paths:
376400
tags:
377401
- Episodes
378402
operationId: get-multiple-episodes
403+
x-spotify-policy-list:
404+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
379405
x-spotify-docs-endpoint-name: Get Multiple Episodes
380406
x-spotify-docs-console-url: /console/get-several-episodes/?ids=77o6BIVlYM3msb4MMIL1jH,0Q86acNRm6V9GYx55SXKwf
381407
summary: |
@@ -410,6 +436,8 @@ paths:
410436
x-spotify-docs-category: Audiobooks
411437
get:
412438
operationId: get-an-audiobook
439+
x-spotify-policy-list:
440+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
413441
tags:
414442
- Audiobooks
415443
x-spotify-docs-endpoint-name: Get an Audiobook
@@ -438,6 +466,8 @@ paths:
438466
x-spotify-docs-category: Audiobooks
439467
get:
440468
operationId: get-multiple-audiobooks
469+
x-spotify-policy-list:
470+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
441471
tags:
442472
- Audiobooks
443473
x-spotify-docs-endpoint-name: Get Several Audiobooks
@@ -466,6 +496,8 @@ paths:
466496
x-spotify-docs-category: Audiobooks
467497
get:
468498
operationId: get-audiobook-chapters
499+
x-spotify-policy-list:
500+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
469501
tags:
470502
- Audiobooks
471503
- Chapters
@@ -604,6 +636,8 @@ paths:
604636
x-spotify-docs-category: Chapters
605637
get:
606638
operationId: get-a-chapter
639+
x-spotify-policy-list:
640+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
607641
tags:
608642
- Chapters
609643
x-spotify-docs-endpoint-name: Get a Chapter
@@ -632,6 +666,8 @@ paths:
632666
x-spotify-docs-category: Chapters
633667
get:
634668
operationId: get-several-chapters
669+
x-spotify-policy-list:
670+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
635671
tags:
636672
- Chapters
637673
x-spotify-docs-endpoint-name: Get Several Chapters
@@ -662,6 +698,8 @@ paths:
662698
tags:
663699
- Tracks
664700
operationId: get-track
701+
x-spotify-policy-list:
702+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
665703
x-spotify-docs-endpoint-name: Get a Track
666704
x-spotify-docs-console-url: /console/get-track/?id=3n3Ppam7vgaVa1iaRUc9Lp
667705
summary: |
@@ -699,6 +737,8 @@ paths:
699737
tags:
700738
- Tracks
701739
operationId: get-several-tracks
740+
x-spotify-policy-list:
741+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
702742
x-spotify-docs-endpoint-name: Get Several Tracks
703743
x-spotify-docs-console-url: /console/get-several-tracks/?ids=3n3Ppam7vgaVa1iaRUc9Lp,3twNvmDtFQtAd5gMKedhLD
704744
summary: |
@@ -856,6 +896,8 @@ paths:
856896
tags:
857897
- Playlists
858898
operationId: get-playlist
899+
x-spotify-policy-list:
900+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
859901
x-spotify-docs-endpoint-name: Get a Playlist
860902
x-spotify-docs-console-url: /console/get-playlist/?playlist_id=59ZbFPES4DQwEjBpWHzrtC&user_id=spotify
861903
summary: |
@@ -957,6 +999,8 @@ paths:
957999
- Playlists
9581000
- Tracks
9591001
operationId: get-playlists-tracks
1002+
x-spotify-policy-list:
1003+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
9601004
x-spotify-docs-endpoint-name: Get a Playlist's Items
9611005
x-spotify-docs-console-url: /console/get-playlist-tracks/?playlist_id=21THa8j9TaSGuXYNBU5tsC&user_id=spotify_espa%C3%B1a
9621006
summary: |
@@ -2003,6 +2047,8 @@ paths:
20032047
operationId: get-featured-playlists
20042048
x-spotify-docs-endpoint-name: Get All Featured Playlists
20052049
x-spotify-docs-console-url: /console/get-featured-playlists/?country=SE&limit=2
2050+
x-spotify-policy-list:
2051+
- $ref: '#/components/x-spotify-policy/MultipleIntegrations'
20062052
summary: |
20072053
Get Featured Playlists
20082054
description: |
@@ -2200,6 +2246,8 @@ paths:
22002246
tags:
22012247
- Playlists
22022248
operationId: get-playlist-cover
2249+
x-spotify-policy-list:
2250+
$ref: '#/components/x-spotify-policy/metadataPolicyList'
22032251
x-spotify-docs-endpoint-name: Get a Playlist Cover Image
22042252
x-spotify-docs-console-url: /console/get-playlist-images?playlist_id=3cEYpjA9oz9GiPac4AsH4n
22052253
summary: |
@@ -2254,6 +2302,8 @@ paths:
22542302
operationId: get-new-releases
22552303
x-spotify-docs-endpoint-name: Get All New Releases
22562304
x-spotify-docs-console-url: /console/get-new-releases/?country=SE
2305+
x-spotify-policy-list:
2306+
- $ref: '#/components/x-spotify-policy/MultipleIntegrations'
22572307
summary: |
22582308
Get New Releases
22592309
description: |
@@ -3147,6 +3197,8 @@ paths:
31473197
tags:
31483198
- Player
31493199
operationId: get-information-about-the-users-current-playback
3200+
x-spotify-policy-list:
3201+
$ref: '#/components/x-spotify-policy/playerPolicyList'
31503202
x-spotify-docs-endpoint-name: Get Information About The User's Current Playback
31513203
x-spotify-docs-console-url: /console/get-user-player/
31523204
summary: |
@@ -3174,6 +3226,8 @@ paths:
31743226
tags:
31753227
- Player
31763228
operationId: transfer-a-users-playback
3229+
x-spotify-policy-list:
3230+
$ref: '#/components/x-spotify-policy/playerPolicyList'
31773231
x-spotify-docs-endpoint-name: Transfer a User's Playback
31783232
x-spotify-docs-console-url: /console/put-user-player
31793233
summary: |
@@ -3247,6 +3301,8 @@ paths:
32473301
tags:
32483302
- Player
32493303
operationId: get-the-users-currently-playing-track
3304+
x-spotify-policy-list:
3305+
$ref: '#/components/x-spotify-policy/playerPolicyList'
32503306
x-spotify-docs-endpoint-name: Get the User's Currently Playing Track
32513307
x-spotify-docs-console-url: /console/get-users-currently-playing-track/
32523308
summary: |
@@ -3276,6 +3332,8 @@ paths:
32763332
tags:
32773333
- Player
32783334
operationId: start-a-users-playback
3335+
x-spotify-policy-list:
3336+
$ref: '#/components/x-spotify-policy/playerPolicyList'
32793337
x-spotify-docs-endpoint-name: Start/Resume a User's Playback
32803338
x-spotify-docs-console-url: /console/put-play/
32813339
summary: |
@@ -3348,6 +3406,8 @@ paths:
33483406
tags:
33493407
- Player
33503408
operationId: pause-a-users-playback
3409+
x-spotify-policy-list:
3410+
$ref: '#/components/x-spotify-policy/playerPolicyList'
33513411
x-spotify-docs-endpoint-name: Pause a User's Playback
33523412
x-spotify-docs-console-url: /console/put-pause/
33533413
summary: |
@@ -3383,6 +3443,8 @@ paths:
33833443
tags:
33843444
- Player
33853445
operationId: skip-users-playback-to-next-track
3446+
x-spotify-policy-list:
3447+
$ref: '#/components/x-spotify-policy/playerPolicyList'
33863448
x-spotify-docs-endpoint-name: Skip User’s Playback To Next Track
33873449
x-spotify-docs-console-url: /console/post-next/
33883450
summary: |
@@ -3418,6 +3480,8 @@ paths:
34183480
tags:
34193481
- Player
34203482
operationId: skip-users-playback-to-previous-track
3483+
x-spotify-policy-list:
3484+
$ref: '#/components/x-spotify-policy/playerPolicyList'
34213485
x-spotify-docs-endpoint-name: Skip User’s Playback To Previous Track
34223486
x-spotify-docs-console-url: /console/post-previous/
34233487
summary: |
@@ -3454,6 +3518,8 @@ paths:
34543518
tags:
34553519
- Player
34563520
operationId: seek-to-position-in-currently-playing-track
3521+
x-spotify-policy-list:
3522+
$ref: '#/components/x-spotify-policy/playerPolicyList'
34573523
x-spotify-docs-endpoint-name: Seek To Position In Currently Playing Track
34583524
x-spotify-docs-console-url: /console/put-seek/
34593525
summary: |
@@ -3640,6 +3706,8 @@ paths:
36403706
tags:
36413707
- Player
36423708
operationId: get-recently-played
3709+
x-spotify-policy-list:
3710+
$ref: '#/components/x-spotify-policy/playerPolicyList'
36433711
x-spotify-docs-endpoint-name: Get Current User's Recently Played Tracks
36443712
x-spotify-docs-console-url: /console/get-recently-played/
36453713
summary: |
@@ -3700,6 +3768,8 @@ paths:
37003768
tags:
37013769
- Player
37023770
operationId: get-queue
3771+
x-spotify-policy-list:
3772+
$ref: '#/components/x-spotify-policy/playerPolicyList'
37033773
x-spotify-docs-endpoint-name: Get the User's Queue
37043774
x-spotify-docs-console-url: /console/get-queue/
37053775
summary: |
@@ -3722,6 +3792,8 @@ paths:
37223792
tags:
37233793
- Player
37243794
operationId: add-to-queue
3795+
x-spotify-policy-list:
3796+
$ref: '#/components/x-spotify-policy/playerPolicyList'
37253797
x-spotify-docs-endpoint-name: Add an item to queue
37263798
x-spotify-docs-console-url: /console/post-queue/
37273799
summary: |
@@ -3843,6 +3915,17 @@ components:
38433915
Upload images to Spotify on your behalf.
38443916
streaming: |
38453917
Play content and control playback on your other devices.
3918+
x-spotify-policy:
3919+
$ref: '../policies.yaml'
3920+
metadataPolicyList:
3921+
- $ref: '#/components/x-spotify-policy/Downloading'
3922+
- $ref: '#/components/x-spotify-policy/VisualAlteration'
3923+
- $ref: '#/components/x-spotify-policy/Attribution'
3924+
playerPolicyList:
3925+
- $ref: '#/components/x-spotify-policy/CommercialStreaming'
3926+
- $ref: '#/components/x-spotify-policy/ContentAlteration'
3927+
- $ref: '#/components/x-spotify-policy/Synchronization'
3928+
- $ref: '#/components/x-spotify-policy/Broadcasting'
38463929
responses:
38473930
Unauthorized:
38483931
description: |
@@ -5377,6 +5460,8 @@ components:
53775460
type: string
53785461
description: |
53795462
A URL to a 30 second preview (MP3 format) of the track.
5463+
x-spotify-policy-list:
5464+
- $ref: '#/components/x-spotify-policy/StandalonePreview'
53805465
track_number:
53815466
type: integer
53825467
description: |
@@ -6205,6 +6290,8 @@ components:
62056290
type: string
62066291
description: |
62076292
A link to a 30 second preview (MP3 format) of the track. Can be `null`
6293+
x-spotify-policy-list:
6294+
- $ref: '#/components/x-spotify-policy/StandalonePreview'
62086295
track_number:
62096296
type: integer
62106297
description: |
@@ -6271,6 +6358,8 @@ components:
62716358
example: https://p.scdn.co/mp3-preview/2f37da1d4221f40b9d1a98cd191f4d6f1646ad17
62726359
description: |
62736360
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.
6361+
x-spotify-policy-list:
6362+
- $ref: '#/components/x-spotify-policy/StandalonePreview'
62746363
description:
62756364
type: string
62766365
example: |
@@ -6820,6 +6909,8 @@ components:
68206909
example: https://p.scdn.co/mp3-preview/2f37da1d4221f40b9d1a98cd191f4d6f1646ad17
68216910
description: |
68226911
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.
6912+
x-spotify-policy-list:
6913+
- $ref: '#/components/x-spotify-policy/StandalonePreview'
68236914
available_markets:
68246915
type: array
68256916
items:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
description: Remove the spotify policy stuff
2+
operations:
3+
- op: delete
4+
path: "$.components.x-spotify-policy"
5+
- op: delete
6+
path: "$..x-spotify-policy-list"

0 commit comments

Comments
 (0)