Skip to content

Commit fdadea6

Browse files
authored
Automated update of fixed-spotify-open-api.yml (#261)
1 parent f2d51fe commit fdadea6

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

spotify-web-api-java-generator/fixed-spotify-open-api.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
The base URI for all Web API requests is `https://api.spotify.com/v1`.
99
1010
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.
11-
version: 2024.2.11
11+
version: 2024.3.3
1212
title: Spotify Web API with fixes and improvements from sonallux
1313
termsOfService: https://developer.spotify.com/terms/
1414
contact:
@@ -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'
@@ -4294,6 +4302,7 @@ components:
42944302
timestamp:
42954303
type: integer
42964304
description: Unix Millisecond Timestamp when data was fetched.
4305+
format: int64
42974306
progress_ms:
42984307
type: integer
42994308
description: Progress into the currently playing track or episode. Can be
@@ -4496,6 +4505,7 @@ components:
44964505
example: 1495193577
44974506
description: The Unix timestamp (in seconds) at which this track was
44984507
analyzed.
4508+
format: int64
44994509
analysis_time:
45004510
type: number
45014511
example: 6.93906
@@ -6662,6 +6672,7 @@ components:
66626672
description: A Context Object. Can be `null`.
66636673
timestamp:
66646674
type: integer
6675+
format: int64
66656676
description: Unix Millisecond Timestamp when data was fetched
66666677
progress_ms:
66676678
type: integer

spotify-web-api-java/src/main/generated/de/sonallux/spotify/api/apis/ArtistsApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public GetArtistsTopTracksRequest getArtistsTopTracks(String id) {
5454
/**
5555
* <h4>Get Several Artists</h4>
5656
* <p>Get Spotify catalog information for several artists based on their Spotify IDs.</p>
57-
* @param ids <p>A comma-separated list of the <a href="https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids">Spotify IDs</a> for the artists. Maximum: 50 IDs.</p>
57+
* @param ids <p>A comma-separated list of the <a href="https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids">Spotify IDs</a> for the artists. Maximum: 100 IDs.</p>
5858
* @return a {@link GetMultipleArtistsRequest} object to build and execute the request
5959
*/
6060
public GetMultipleArtistsRequest getMultipleArtists(String ids) {

spotify-web-api-java/src/main/generated/de/sonallux/spotify/api/apis/TracksApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public GetSeveralAudioFeaturesRequest getSeveralAudioFeatures(String ids) {
6363
/**
6464
* <h4>Get Several Tracks</h4>
6565
* <p>Get Spotify catalog information for multiple tracks based on their Spotify IDs.</p>
66-
* @param ids <p>A comma-separated list of the <a href="https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids">Spotify IDs</a>. For example: <code>ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M</code>. Maximum: 50 IDs.</p>
66+
* @param ids <p>A comma-separated list of the <a href="https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids">Spotify IDs</a>. For example: <code>ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M</code>. Maximum: 100 IDs.</p>
6767
* @return a {@link GetSeveralTracksRequest} object to build and execute the request
6868
*/
6969
public GetSeveralTracksRequest getSeveralTracks(String ids) {

spotify-web-api-java/src/main/generated/de/sonallux/spotify/api/apis/artists/GetMultipleArtistsRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class GetMultipleArtistsRequest {
2020
/**
2121
* Get Several Artists request
2222
* @param apiClient <p>The API client</p>
23-
* @param ids <p>A comma-separated list of the <a href="https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids">Spotify IDs</a> for the artists. Maximum: 50 IDs.</p>
23+
* @param ids <p>A comma-separated list of the <a href="https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids">Spotify IDs</a> for the artists. Maximum: 100 IDs.</p>
2424
*/
2525
public GetMultipleArtistsRequest(ApiClient apiClient, String ids) {
2626
this.apiClient = apiClient;

spotify-web-api-java/src/main/generated/de/sonallux/spotify/api/apis/tracks/GetSeveralTracksRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class GetSeveralTracksRequest {
2020
/**
2121
* Get Several Tracks request
2222
* @param apiClient <p>The API client</p>
23-
* @param ids <p>A comma-separated list of the <a href="https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids">Spotify IDs</a>. For example: <code>ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M</code>. Maximum: 50 IDs.</p>
23+
* @param ids <p>A comma-separated list of the <a href="https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids">Spotify IDs</a>. For example: <code>ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M</code>. Maximum: 100 IDs.</p>
2424
*/
2525
public GetSeveralTracksRequest(ApiClient apiClient, String ids) {
2626
this.apiClient = apiClient;

0 commit comments

Comments
 (0)