Skip to content

Commit

Permalink
Automated update of Spotify's OpenAPI definition
Browse files Browse the repository at this point in the history
  • Loading branch information
sonallux authored and github-actions[bot] committed May 2, 2024
1 parent 95758cc commit 7215bb0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 12 deletions.
22 changes: 16 additions & 6 deletions fixed-spotify-open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2258,23 +2258,23 @@ paths:
- Playlists
operationId: check-if-user-follows-playlist
summary: |
Check if Users Follow Playlist
Check if Current User Follows Playlist
description: |
Check to see if one or more Spotify users are following a specified playlist.
Check to see if the current user is following a specified playlist.
parameters:
- $ref: '#/components/parameters/PathPlaylistId'
- name: ids
required: true
required: false
in: query
schema:
title: Spotify user IDs
description: |
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.
example: "jmperezperez,thelinmichael,wizzler"
**Deprecated** A single item list containing current user's [Spotify Username](/documentation/web-api/concepts/spotify-uris-ids). Maximum: 1 id.
example: jmperezperez
type: string
responses:
"200":
$ref: '#/components/responses/ArrayOfBooleans'
$ref: '#/components/responses/SingletonArrayOfBoolean'
"401":
$ref: '#/components/responses/Unauthorized'
"403":
Expand Down Expand Up @@ -3985,6 +3985,16 @@ components:
- true
items:
type: boolean
SingletonArrayOfBoolean:
description: "Array of boolean, containing a single boolean"
content:
application/json:
schema:
type: array
example:
- true
items:
type: boolean
Queue:
description: Information about the queue
content:
Expand Down
22 changes: 16 additions & 6 deletions official-spotify-open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2329,23 +2329,23 @@ paths:
- Playlists
operationId: check-if-user-follows-playlist
summary: |
Check if Users Follow Playlist
Check if Current User Follows Playlist
description: |
Check to see if one or more Spotify users are following a specified playlist.
Check to see if the current user is following a specified playlist.
parameters:
- $ref: '#/components/parameters/PathPlaylistId'
- name: ids
required: true
required: false
in: query
schema:
title: Spotify user IDs
description: |
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.
example: jmperezperez,thelinmichael,wizzler
**Deprecated** A single item list containing current user's [Spotify Username](/documentation/web-api/concepts/spotify-uris-ids). Maximum: 1 id.
example: jmperezperez
type: string
responses:
'200':
$ref: '#/components/responses/ArrayOfBooleans'
$ref: '#/components/responses/SingletonArrayOfBoolean'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
Expand Down Expand Up @@ -4118,6 +4118,16 @@ components:
items:
type: boolean

SingletonArrayOfBoolean:
description: Array of boolean, containing a single boolean
content:
application/json:
schema:
type: array
example: [true]
items:
type: boolean

Queue:
description: Information about the queue
content:
Expand Down

0 comments on commit 7215bb0

Please sign in to comment.