Skip to content

Commit 0912770

Browse files
authored
Automated update of Spotify's OpenAPI definition (#487)
1 parent 532a03d commit 0912770

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

fixed-spotify-open-api.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,8 +1294,6 @@ paths:
12941294
Save Tracks for Current User
12951295
description: |
12961296
Save one or more tracks to the current user's 'Your Music' library.
1297-
parameters:
1298-
- $ref: "#/components/parameters/QueryTrackIds"
12991297
requestBody:
13001298
content:
13011299
application/json:
@@ -1308,13 +1306,13 @@ paths:
13081306
ids:
13091307
type: array
13101308
description: |
1311-
A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
1309+
A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `timestamped_ids` is present in the body, any IDs listed in the query parameters (deprecated) or the `ids` field in the body will be ignored._
13121310
items:
13131311
type: string
13141312
timestamped_ids:
13151313
type: array
13161314
description: |
1317-
A JSON array of objects containing track IDs with their corresponding timestamps. Each object must include a track ID and an `added_at` timestamp. This allows you to specify when tracks were added to maintain a specific chronological order in the user's library.<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `timestamped_ids` is present in the body, any IDs listed in the query parameters or the `ids` field in the body will be ignored._
1315+
A JSON array of objects containing track IDs with their corresponding timestamps. Each object must include a track ID and an `added_at` timestamp. This allows you to specify when tracks were added to maintain a specific chronological order in the user's library.<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `timestamped_ids` is present in the body, any IDs listed in the query parameters (deprecated) or the `ids` field in the body will be ignored._
13181316
items:
13191317
type: object
13201318
required:

official-spotify-open-api.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,8 +1331,6 @@ paths:
13311331
Save Tracks for Current User
13321332
description: |
13331333
Save one or more tracks to the current user's 'Your Music' library.
1334-
parameters:
1335-
- $ref: '#/components/parameters/QueryTrackIds'
13361334
requestBody:
13371335
content:
13381336
application/json:
@@ -1345,13 +1343,13 @@ paths:
13451343
ids:
13461344
type: array
13471345
description: |
1348-
A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
1346+
A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `timestamped_ids` is present in the body, any IDs listed in the query parameters (deprecated) or the `ids` field in the body will be ignored._
13491347
items:
13501348
type: string
13511349
timestamped_ids:
13521350
type: array
13531351
description: |
1354-
A JSON array of objects containing track IDs with their corresponding timestamps. Each object must include a track ID and an `added_at` timestamp. This allows you to specify when tracks were added to maintain a specific chronological order in the user's library.<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `timestamped_ids` is present in the body, any IDs listed in the query parameters or the `ids` field in the body will be ignored._
1352+
A JSON array of objects containing track IDs with their corresponding timestamps. Each object must include a track ID and an `added_at` timestamp. This allows you to specify when tracks were added to maintain a specific chronological order in the user's library.<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `timestamped_ids` is present in the body, any IDs listed in the query parameters (deprecated) or the `ids` field in the body will be ignored._
13551353
items:
13561354
type: object
13571355
required:

0 commit comments

Comments
 (0)