Skip to content

Commit 2ab5167

Browse files
authored
Automated update of fixed-spotify-open-api.yml (#317)
* Automated update of fixed-spotify-open-api.yml * chore: update CHANGELOG.md
1 parent cff3461 commit 2ab5167

33 files changed

+38
-37
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88
- `UsersApi#checkIfUserFollowsPlaylist` remove `ids` argument as only the current use can be checked
9+
- Adjust type of `artists` property in `Track` object from `Artist` to `SimplifiedArtist`
910
- Bump jackson to `2.18.1`
1011

1112
## [4.2.0]

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

Lines changed: 5 additions & 5 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.6.16
11+
version: 2024.11.2
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: 100 IDs.
147+
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids) for the artists. Maximum: 50 IDs.
148148
example: "2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E,1vCWHaC5f2uS3yhpwWbIA6"
149149
type: string
150150
responses:
@@ -638,7 +638,7 @@ paths:
638638
schema:
639639
title: Spotify Track IDs
640640
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.
641+
A comma-separated list of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M`. Maximum: 50 IDs.
642642
example: "7ouMYWpwJ422jRcDASZB7P,4VqPOruhp5EdPBeR92t6lQ,2takcwOaAZWiXQijPHIx7B"
643643
type: string
644644
responses:
@@ -5717,7 +5717,7 @@ components:
57175717
artists:
57185718
type: array
57195719
items:
5720-
$ref: "#/components/schemas/ArtistObject"
5720+
$ref: "#/components/schemas/SimplifiedArtistObject"
57215721
description: |
57225722
The artists who performed the track. Each artist object includes a link in `href` to more detailed information about the artist.
57235723
available_markets:
@@ -6766,7 +6766,7 @@ components:
67666766
If a valid user access token is specified in the request header, the country associated with
67676767
the user account will take priority over this parameter.<br/>
67686768
_**Note**: If neither market or user country are provided, the content is considered unavailable for the client._<br/>
6769-
Users can view the country that is associated with their account in the [account settings](https://www.spotify.com/se/account/overview/).
6769+
Users can view the country that is associated with their account in the [account settings](https://www.spotify.com/account/overview/).
67706770
example: ES
67716771
type: string
67726772
QueryLimit:

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: 100 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>
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: 100 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>
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/albums/GetAlbumRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public GetAlbumRequest(ApiClient apiClient, String id) {
3030
}
3131

3232
/**
33-
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/se/account/overview/">account settings</a>.</p>
33+
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/account/overview/">account settings</a>.</p>
3434
* @return this request
3535
*/
3636
public GetAlbumRequest market(String market) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public GetAlbumsTracksRequest(ApiClient apiClient, String id) {
3030
}
3131

3232
/**
33-
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/se/account/overview/">account settings</a>.</p>
33+
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/account/overview/">account settings</a>.</p>
3434
* @return this request
3535
*/
3636
public GetAlbumsTracksRequest market(String market) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public GetMultipleAlbumsRequest(ApiClient apiClient, String ids) {
3030
}
3131

3232
/**
33-
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/se/account/overview/">account settings</a>.</p>
33+
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/account/overview/">account settings</a>.</p>
3434
* @return this request
3535
*/
3636
public GetMultipleAlbumsRequest market(String market) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public GetUsersSavedAlbumsRequest offset(int offset) {
4949
}
5050

5151
/**
52-
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/se/account/overview/">account settings</a>.</p>
52+
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/account/overview/">account settings</a>.</p>
5353
* @return this request
5454
*/
5555
public GetUsersSavedAlbumsRequest market(String market) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public GetArtistsAlbumsRequest includeGroups(String includeGroups) {
3939
}
4040

4141
/**
42-
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/se/account/overview/">account settings</a>.</p>
42+
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/account/overview/">account settings</a>.</p>
4343
* @return this request
4444
*/
4545
public GetArtistsAlbumsRequest market(String market) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public GetArtistsTopTracksRequest(ApiClient apiClient, String id) {
3030
}
3131

3232
/**
33-
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/se/account/overview/">account settings</a>.</p>
33+
* @param market <p>An <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. If a country code is specified, only content that is available in that market will be returned.<br/>If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.<br/><em><strong>Note</strong>: If neither market or user country are provided, the content is considered unavailable for the client.</em><br/>Users can view the country that is associated with their account in the <a href="https://www.spotify.com/account/overview/">account settings</a>.</p>
3434
* @return this request
3535
*/
3636
public GetArtistsTopTracksRequest market(String market) {

0 commit comments

Comments
 (0)