Skip to content

Commit a265a03

Browse files
sonalluxgithub-actions[bot]
authored andcommitted
Automated update of Spotify's OpenAPI definition
1 parent b8125f5 commit a265a03

File tree

2 files changed

+32
-12
lines changed

2 files changed

+32
-12
lines changed

fixed-spotify-open-api.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2258,23 +2258,23 @@ paths:
22582258
- Playlists
22592259
operationId: check-if-user-follows-playlist
22602260
summary: |
2261-
Check if Users Follow Playlist
2261+
Check if Current User Follows Playlist
22622262
description: |
2263-
Check to see if one or more Spotify users are following a specified playlist.
2263+
Check to see if the current user is following a specified playlist.
22642264
parameters:
22652265
- $ref: '#/components/parameters/PathPlaylistId'
22662266
- name: ids
2267-
required: true
2267+
required: false
22682268
in: query
22692269
schema:
22702270
title: Spotify user IDs
22712271
description: |
2272-
A comma-separated list of [Spotify User IDs](/documentation/web-api/concepts/spotify-uris-ids) ; the ids of the users that you want to check to see if they follow the playlist. Maximum: 5 ids.
2273-
example: "jmperezperez,thelinmichael,wizzler"
2272+
**Deprecated** A single item list containing current user's [Spotify Username](/documentation/web-api/concepts/spotify-uris-ids). Maximum: 1 id.
2273+
example: jmperezperez
22742274
type: string
22752275
responses:
22762276
"200":
2277-
$ref: '#/components/responses/ArrayOfBooleans'
2277+
$ref: '#/components/responses/SingletonArrayOfBoolean'
22782278
"401":
22792279
$ref: '#/components/responses/Unauthorized'
22802280
"403":
@@ -3985,6 +3985,16 @@ components:
39853985
- true
39863986
items:
39873987
type: boolean
3988+
SingletonArrayOfBoolean:
3989+
description: "Array of boolean, containing a single boolean"
3990+
content:
3991+
application/json:
3992+
schema:
3993+
type: array
3994+
example:
3995+
- true
3996+
items:
3997+
type: boolean
39883998
Queue:
39893999
description: Information about the queue
39904000
content:

official-spotify-open-api.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,23 +2329,23 @@ paths:
23292329
- Playlists
23302330
operationId: check-if-user-follows-playlist
23312331
summary: |
2332-
Check if Users Follow Playlist
2332+
Check if Current User Follows Playlist
23332333
description: |
2334-
Check to see if one or more Spotify users are following a specified playlist.
2334+
Check to see if the current user is following a specified playlist.
23352335
parameters:
23362336
- $ref: '#/components/parameters/PathPlaylistId'
23372337
- name: ids
2338-
required: true
2338+
required: false
23392339
in: query
23402340
schema:
23412341
title: Spotify user IDs
23422342
description: |
2343-
A comma-separated list of [Spotify User IDs](/documentation/web-api/concepts/spotify-uris-ids) ; the ids of the users that you want to check to see if they follow the playlist. Maximum: 5 ids.
2344-
example: jmperezperez,thelinmichael,wizzler
2343+
**Deprecated** A single item list containing current user's [Spotify Username](/documentation/web-api/concepts/spotify-uris-ids). Maximum: 1 id.
2344+
example: jmperezperez
23452345
type: string
23462346
responses:
23472347
'200':
2348-
$ref: '#/components/responses/ArrayOfBooleans'
2348+
$ref: '#/components/responses/SingletonArrayOfBoolean'
23492349
'401':
23502350
$ref: '#/components/responses/Unauthorized'
23512351
'403':
@@ -4118,6 +4118,16 @@ components:
41184118
items:
41194119
type: boolean
41204120

4121+
SingletonArrayOfBoolean:
4122+
description: Array of boolean, containing a single boolean
4123+
content:
4124+
application/json:
4125+
schema:
4126+
type: array
4127+
example: [true]
4128+
items:
4129+
type: boolean
4130+
41214131
Queue:
41224132
description: Information about the queue
41234133
content:

0 commit comments

Comments
 (0)