Skip to content

Commit 120a520

Browse files
authored
Automated update of Spotify's OpenAPI definition (#359)
1 parent d28851b commit 120a520

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

fixed-spotify-open-api.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ paths:
144144
schema:
145145
title: Spotify Artist IDs
146146
description: |
147-
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids) for the artists. Maximum: 50 IDs.
147+
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids) for the artists. Maximum: 100 IDs.
148148
example: "2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E,1vCWHaC5f2uS3yhpwWbIA6"
149149
type: string
150150
responses:
@@ -632,7 +632,15 @@ paths:
632632
Get Spotify catalog information for multiple tracks based on their Spotify IDs.
633633
parameters:
634634
- $ref: '#/components/parameters/QueryMarket'
635-
- $ref: '#/components/parameters/QueryTrackIds'
635+
- name: ids
636+
required: true
637+
in: query
638+
schema:
639+
title: Spotify Track IDs
640+
description: |
641+
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M`. Maximum: 100 IDs.
642+
example: "7ouMYWpwJ422jRcDASZB7P,4VqPOruhp5EdPBeR92t6lQ,2takcwOaAZWiXQijPHIx7B"
643+
type: string
636644
responses:
637645
"200":
638646
$ref: '#/components/responses/ManyTracks'

official-spotify-open-api.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ paths:
154154
schema:
155155
title: Spotify Artist IDs
156156
description: |
157-
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids) for the artists. Maximum: 50 IDs.
157+
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids) for the artists. Maximum: 100 IDs.
158158
example: 2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E,1vCWHaC5f2uS3yhpwWbIA6
159159
type: string
160160
responses:
@@ -673,7 +673,15 @@ paths:
673673
Get Spotify catalog information for multiple tracks based on their Spotify IDs.
674674
parameters:
675675
- $ref: '#/components/parameters/QueryMarket'
676-
- $ref: '#/components/parameters/QueryTrackIds'
676+
- name: ids
677+
required: true
678+
in: query
679+
schema:
680+
title: Spotify Track IDs
681+
description: |
682+
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M`. Maximum: 100 IDs.
683+
example: 7ouMYWpwJ422jRcDASZB7P,4VqPOruhp5EdPBeR92t6lQ,2takcwOaAZWiXQijPHIx7B
684+
type: string
677685
responses:
678686
'200':
679687
$ref: '#/components/responses/ManyTracks'
@@ -6460,7 +6468,7 @@ components:
64606468
We kept on ascending, with occasional periods of quick descent, but in the main always ascending. Suddenly, I became conscious of the fact that the driver was in the act of pulling up the horses in the courtyard of a vast ruined castle, from whose tall black windows came no ray of light, and whose broken battlements showed a jagged line against the moonlit sky.
64616469
description: |
64626470
A description of the chapter. HTML tags are stripped away from this field, use `html_description` field in case HTML tags are needed.
6463-
html_description:
6471+
html_description:
64646472
type: string
64656473
example: |
64666474
<p>We kept on ascending, with occasional periods of quick descent, but in the main always ascending. Suddenly, I became conscious of the fact that the driver was in the act of pulling up the horses in the courtyard of a vast ruined castle, from whose tall black windows came no ray of light, and whose broken battlements showed a jagged line against the moonlit sky.</p>

0 commit comments

Comments
 (0)