Skip to content

Commit

Permalink
Automated update of Spotify's OpenAPI definition (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonallux authored Aug 8, 2023
1 parent 8c17239 commit dbaf925
Showing 1 changed file with 25 additions and 22 deletions.
47 changes: 25 additions & 22 deletions official-spotify-open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ paths:
- Search
operationId: search
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/MachineLearning'
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
summary: |
Search for Item
description: |
Expand Down Expand Up @@ -1866,7 +1866,7 @@ paths:
- Playlists
operationId: get-featured-playlists
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/MultipleIntegrations'
- $ref: '#/components/x-spotify-policy/policies/MultipleIntegrations'
summary: |
Get Featured Playlists
description: |
Expand Down Expand Up @@ -2108,7 +2108,7 @@ paths:
- Albums
operationId: get-new-releases
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/MultipleIntegrations'
- $ref: '#/components/x-spotify-policy/policies/MultipleIntegrations'
summary: |
Get New Releases
description: |
Expand Down Expand Up @@ -2394,7 +2394,7 @@ paths:
- Tracks
operationId: get-several-audio-features
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/MachineLearning'
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
summary: |
Get Tracks' Audio Features
description: |
Expand Down Expand Up @@ -2427,7 +2427,7 @@ paths:
- Tracks
operationId: get-audio-features
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/MachineLearning'
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
summary: |
Get Track's Audio Features
description: |
Expand Down Expand Up @@ -2491,7 +2491,7 @@ paths:
- Tracks
operationId: get-recommendations
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/MachineLearning'
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
summary: |
Get Recommendations
description: |
Expand Down Expand Up @@ -3631,21 +3631,24 @@ components:
streaming: |
Play content and control playback on your other devices.
x-spotify-policy:
$ref: '../policies.yaml'
policies:
$ref: '../policies.yaml'
metadataPolicyList:
- $ref: '#/components/x-spotify-policy/Downloading'
- $ref: '#/components/x-spotify-policy/VisualAlteration'
- $ref: '#/components/x-spotify-policy/Attribution'
- $ref: '#/components/x-spotify-policy/policies/Downloading'
- $ref: '#/components/x-spotify-policy/policies/VisualAlteration'
- $ref: '#/components/x-spotify-policy/policies/Attribution'
metadataWithMachineLearningPolicyList:
- $ref: '#/components/x-spotify-policy/Downloading'
- $ref: '#/components/x-spotify-policy/VisualAlteration'
- $ref: '#/components/x-spotify-policy/Attribution'
- $ref: '#/components/x-spotify-policy/MachineLearning'
- $ref: '#/components/x-spotify-policy/policies/Downloading'
- $ref: '#/components/x-spotify-policy/policies/VisualAlteration'
- $ref: '#/components/x-spotify-policy/policies/Attribution'
- $ref: '#/components/x-spotify-policy/policies/MachineLearning'
playerPolicyList:
- $ref: '#/components/x-spotify-policy/CommercialStreaming'
- $ref: '#/components/x-spotify-policy/ContentAlteration'
- $ref: '#/components/x-spotify-policy/Synchronization'
- $ref: '#/components/x-spotify-policy/Broadcasting'
- $ref: '#/components/x-spotify-policy/policies/CommercialStreaming'
- $ref: '#/components/x-spotify-policy/policies/ContentAlteration'
- $ref: '#/components/x-spotify-policy/policies/Synchronization'
- $ref: '#/components/x-spotify-policy/policies/Broadcasting'
downloading:
$ref: '#/components/x-spotify-policy/policies/Downloading'
responses:
Unauthorized:
description: |
Expand Down Expand Up @@ -5207,7 +5210,7 @@ components:
description: |
A URL to a 30 second preview (MP3 format) of the track.
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/StandalonePreview'
- $ref: '#/components/x-spotify-policy/policies/StandalonePreview'
track_number:
type: integer
description: |
Expand Down Expand Up @@ -6037,7 +6040,7 @@ components:
description: |
A link to a 30 second preview (MP3 format) of the track. Can be `null`
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/StandalonePreview'
- $ref: '#/components/x-spotify-policy/policies/StandalonePreview'
track_number:
type: integer
description: |
Expand Down Expand Up @@ -6105,7 +6108,7 @@ components:
description: |
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/StandalonePreview'
- $ref: '#/components/x-spotify-policy/policies/StandalonePreview'
description:
type: string
example: |
Expand Down Expand Up @@ -6656,7 +6659,7 @@ components:
description: |
A URL to a 30 second preview (MP3 format) of the episode. `null` if not available.
x-spotify-policy-list:
- $ref: '#/components/x-spotify-policy/StandalonePreview'
- $ref: '#/components/x-spotify-policy/policies/StandalonePreview'
available_markets:
type: array
items:
Expand Down

0 comments on commit dbaf925

Please sign in to comment.