Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions fixed-spotify-open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1311,6 +1311,26 @@ paths:
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._
items:
type: string
timestamped_ids:
type: array
description: |
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._
items:
type: object
required:
- id
- added_at
properties:
id:
type: string
description: |
The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the track.
added_at:
type: string
format: date-time
x-spotify-docs-type: Timestamp
description: |
The timestamp when the track was added to the library. Use ISO 8601 format with UTC timezone (e.g., `2023-01-15T14:30:00Z`). You can specify past timestamps to insert tracks at specific positions in the library's chronological order. The API uses minute-level granularity for ordering, though the timestamp supports millisecond precision.
responses:
"200":
description: Track saved
Expand Down
20 changes: 20 additions & 0 deletions official-spotify-open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,26 @@ paths:
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._
items:
type: string
timestamped_ids:
type: array
description: |
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._
items:
type: object
required:
- id
- added_at
properties:
id:
type: string
description: |
The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the track.
added_at:
type: string
format: date-time
x-spotify-docs-type: Timestamp
description: |
The timestamp when the track was added to the library. Use ISO 8601 format with UTC timezone (e.g., `2023-01-15T14:30:00Z`). You can specify past timestamps to insert tracks at specific positions in the library's chronological order. The API uses minute-level granularity for ordering, though the timestamp supports millisecond precision.
responses:
'200':
description: Track saved
Expand Down