Skip to content

Commit a0f09bf

Browse files
authored
Automated update of Spotify's OpenAPI definition (#185)
1 parent c7a4e9d commit a0f09bf

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

official-spotify-open-api.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
openapi: "3.0.3"
22
info:
33
description: |
4-
You can use Spotify's Web API to discover music and podcasts, manage your Spotify library, control audio playback, and much more. Browse our available Web API endpoints using the sidebar at left, or via the navigation bar on top of this page on smaller screens.
5-
6-
In order to make successful Web API requests your app will need a valid access token. One can be obtained through <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/">OAuth 2.0</a>.
7-
8-
The base URI for all Web API requests is `https://api.spotify.com/v1`.
9-
10-
Need help? See our <a href="https://developer.spotify.com/documentation/web-api/guides/">Web API guides</a> for more information, or visit the <a href="https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer">Spotify for Developers community forum</a> to ask questions and connect with other developers.
4+
You can use Spotify's Web API to discover music and podcasts, manage your Spotify library, control audio playback, and much more. Browse our available Web API endpoints using the sidebar at left, or via the navigation bar on top of this page on smaller screens.
5+
6+
In order to make successful Web API requests your app will need a valid access token. One can be obtained through <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/">OAuth 2.0</a>.
7+
8+
The base URI for all Web API requests is `https://api.spotify.com/v1`.
9+
10+
Need help? See our <a href="https://developer.spotify.com/documentation/web-api/guides/">Web API guides</a> for more information, or visit the <a href="https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer">Spotify for Developers community forum</a> to ask questions and connect with other developers.
1111
version: "1.0.0"
1212
title: "Spotify Web API"
1313
termsOfService: "https://developer.spotify.com/terms/"
@@ -1071,7 +1071,7 @@ paths:
10711071
even if more recent changes have been made to the playlist.
10721072
responses:
10731073
"200":
1074-
$ref: "#/components/responses/PlaylistSnapshotId"
1074+
$ref: "#/components/responses/PlaylistSnapshotId"
10751075
"401":
10761076
$ref: "#/components/responses/Unauthorized"
10771077
"403":
@@ -3917,8 +3917,8 @@ components:
39173917

39183918
Forbidden:
39193919
description: |
3920-
Bad OAuth request (wrong consumer key, bad nonce, expired
3921-
timestamp...). Unfortunately, re-authenticating the user won't help here.
3920+
Bad OAuth request (wrong consumer key, bad nonce, expired
3921+
timestamp...). Unfortunately, re-authenticating the user won't help here.
39223922
content:
39233923
application/json:
39243924
schema:
@@ -3931,7 +3931,7 @@ components:
39313931

39323932
TooManyRequests:
39333933
description: |
3934-
The app has exceeded its rate limits.
3934+
The app has exceeded its rate limits.
39353935
content:
39363936
application/json:
39373937
schema:
@@ -4527,8 +4527,8 @@ components:
45274527
Whether this track or episode is a [local file](https://developer.spotify.com/web-api/local-files-spotify-playlists/) or not.
45284528
track:
45294529
oneOf:
4530-
- $ref: '#/components/schemas/TrackObject'
4531-
- $ref: '#/components/schemas/EpisodeObject'
4530+
- $ref: '#/components/schemas/TrackObject'
4531+
- $ref: '#/components/schemas/EpisodeObject'
45324532
x-spotify-docs-type: TrackObject | EpisodeObject
45334533
description: Information about the track or episode.
45344534

@@ -4551,8 +4551,8 @@ components:
45514551
description: If something is currently playing, return `true`.
45524552
item:
45534553
oneOf:
4554-
- $ref: '#/components/schemas/TrackObject'
4555-
- $ref: '#/components/schemas/EpisodeObject'
4554+
- $ref: '#/components/schemas/TrackObject'
4555+
- $ref: '#/components/schemas/EpisodeObject'
45564556
x-spotify-docs-type: TrackObject | EpisodeObject
45574557
description: The currently playing track or episode. Can be `null`.
45584558
currently_playing_type:
@@ -4609,8 +4609,8 @@ components:
46094609
description: If something is currently playing, return `true`.
46104610
item:
46114611
oneOf:
4612-
- $ref: '#/components/schemas/TrackObject'
4613-
- $ref: '#/components/schemas/EpisodeObject'
4612+
- $ref: '#/components/schemas/TrackObject'
4613+
- $ref: '#/components/schemas/EpisodeObject'
46144614
x-spotify-docs-type: TrackObject | EpisodeObject
46154615
description: The currently playing track or episode. Can be `null`.
46164616
currently_playing_type:
@@ -5444,7 +5444,7 @@ components:
54445444
items:
54455445
type: object
54465446
description: |
5447-
The requested content
5447+
The requested content
54485448
limit:
54495449
type: integer
54505450
example: 20
@@ -5692,7 +5692,7 @@ components:
56925692
items:
56935693
$ref: '#/components/schemas/ImageObject'
56945694
description: |
5695-
Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See [Working with Playlists](/documentation/general/guides/working-with-playlists/). _**Note**: If returned, the source URL for the image (`url`) is temporary and will expire in less than a day._
5695+
Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See [Working with Playlists](/documentation/general/guides/working-with-playlists/). _**Note**: If returned, the source URL for the image (`url`) is temporary and will expire in less than a day._
56965696
name:
56975697
type: string
56985698
description: |
@@ -5755,7 +5755,7 @@ components:
57555755
items:
57565756
$ref: '#/components/schemas/ImageObject'
57575757
description: |
5758-
Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See [Working with Playlists](/documentation/general/guides/working-with-playlists/). _**Note**: If returned, the source URL for the image (`url`) is temporary and will expire in less than a day._
5758+
Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See [Working with Playlists](/documentation/general/guides/working-with-playlists/). _**Note**: If returned, the source URL for the image (`url`) is temporary and will expire in less than a day._
57595759
name:
57605760
type: string
57615761
description: |
@@ -5905,7 +5905,7 @@ components:
59055905
explicit:
59065906
type: boolean
59075907
description: |
5908-
Whether or not the track has explicit lyrics ( `true` = yes it does; `false` = no it does not OR unknown).
5908+
Whether or not the track has explicit lyrics ( `true` = yes it does; `false` = no it does not OR unknown).
59095909
external_ids:
59105910
allOf:
59115911
- $ref: '#/components/schemas/ExternalIdObject'
@@ -5942,7 +5942,7 @@ components:
59425942
name:
59435943
type: string
59445944
description: |
5945-
The name of the track.
5945+
The name of the track.
59465946
popularity:
59475947
type: integer
59485948
description: |

0 commit comments

Comments
 (0)