Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0: complete rewrite using @graphql-mesh/json-schema #81

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

charlypoly
Copy link
Owner

@charlypoly charlypoly commented Jan 18, 2021

cf: #79


  • build system
  • CLI npm serve
  • public API to get GraphQL Mesh instance and run custom express
  • 🐞 Query.show.episodes is not an array (Spotify doc not matching API response)
  • 🐞 Query.playlistTracks should supports episodes as item (requires custom resolver for union type)
  • "Get Recommendations" requires a custom resolver given the high number of optional query parameters (additionalTypeDefs / additionalResolvers)
  • use transform mock to return a success: true for empty responses

Albums API

  • Get Multiple Albums
  • Get an Album
  • Get an Album's Tracks

Artists API

  • Get Multiple Artists
  • Get an Artist
  • Get an Artist's Top Tracks
  • Get an Artist's Related Artists
  • Get an Artist's Albums

Browse API

  • Get All New Releases
  • Get All Featured Playlists
  • Get All Categories
  • Get a Category
  • Get a Category's Playlists
  • Get Recommendations
  • Get Recommendation Genres

Episodes API

  • Get Multiple Episodes
  • Get an Episode

Follow API

  • Follow a Playlist
  • Unfollow Playlist
  • Check if Users Follow a Playlist
  • Get User's Followed Artists
  • Follow Artists or Users
  • Unfollow Artists or Users
  • Get Following State for Artists/Users

Library API

  • Get User's Saved Albums
  • Save Albums for Current User
  • Remove Albums for Current User
  • Check User's Saved Albums
  • Get User's Saved Tracks
  • Save Tracks for User
  • Remove User's Saved Tracks
  • Check User's Saved Tracks
  • Get User's Saved Shows
  • Save Shows for Current User
  • Remove User's Saved Shows
  • Check User's Saved Shows

Personalization API

  • Get a User's Top Artists and Tracks

Player API

  • Get Information About The User's Current Playback
  • Transfer a User's Playback
  • Get a User's Available Devices
  • Get the User's Currently Playing Track
  • Start/Resume a User's Playback
  • Pause a User's Playback
  • Skip User’s Playback To Next Track
  • Skip User’s Playback To Previous Track
  • Seek To Position In Currently Playing Track
  • Set Repeat Mode On User’s Playback
  • Set Volume For User's Playback
  • Toggle Shuffle For User’s Playback
  • Get Current User's Recently Played Tracks
  • Add an item to queue

Playlists API

  • Get a List of Current User's Playlists
  • Get a List of a User's Playlists
  • Create a Playlist
  • Get a Playlist
  • Change a Playlist's Details
  • Get a Playlist's Items
  • Add Items to a Playlist
  • Reorder or Replace a Playlist's Items
  • Remove Items from a Playlist
  • Get a Playlist Cover Image
  • Upload a Custom Playlist Cover Image

Search API

  • Search for an Item

Shows API

  • Get Multiple Shows
  • Get a Show
  • Get a Show's Episodes

Tracks API

  • Get Several Tracks
  • Get a Track
  • Get Audio Features for Several Tracks
  • Get Audio Features for a Track
  • Get Audio Analysis for a Track

Users Profile API

  • Get Current User's Profile
  • Get a User's Profile

@charlypoly charlypoly self-assigned this Jan 18, 2021
@charlypoly charlypoly changed the title 2.0.0: complete rewrite using GraphQL Mesh JsonSchema 2.0.0: complete rewrite using @graphql-mesh/json-schema Jan 26, 2021
@charlypoly
Copy link
Owner Author

charlypoly commented Jan 6, 2022

Next steps:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant