OBJECT

RootQueryType

link GraphQL Schema definition

  • type RootQueryType {
  • # Find an account by ID
  • #
  • # Arguments
  • # id: [Not documented]
  • account(id: ID!): Account
  • # Finds an album by ID
  • #
  • # Arguments
  • # id: [Not documented]
  • album(id: ID!): Album
  • # Finds an artist by ID
  • #
  • # Arguments
  • # id: [Not documented]
  • artist(id: ID!): Artist
  • # The entry point for browsing music
  • #
  • # Arguments
  • # platform: [Not documented]
  • browse(platform: Platform!): Browse
  • # The main entry point to begin querying and exploring the API.
  • #
  • # Returns different nodes depending on the current API session.
  • me: Viewer
  • # Find entities implementing the node interface by ID
  • #
  • # Arguments
  • # id: The ID of an object.
  • node(id: ID!): Node
  • # Find the currently playing track by sound zone ID
  • #
  • # Arguments
  • # soundZone: [Not documented]
  • nowPlaying(soundZone: ID!): NowPlaying
  • # Get a playlist by its ID
  • #
  • # Arguments
  • # id: [Not documented]
  • playlist(id: ID!): Playlist
  • # Get the calculated complexity for a query
  • queryInfo: QueryInfo
  • # Search for one of `playlists`, `albums` and `artists` and `tracks`.
  • #
  • # Arguments
  • # after: [Not documented]
  • # first: [Not documented]
  • # market: [Not documented]
  • # query: [Not documented]
  • # type: [Not documented]
  • search(
  • after: String,
  • first: Int,
  • market: IsoCountry,
  • query: String!,
  • type: SearchType!
  • ): SearchResultConnection
  • # Search for an artist
  • #
  • # Arguments
  • # after: [Not documented]
  • # before: [Not documented]
  • # first: [Not documented]
  • # last: [Not documented]
  • # query: [Not documented]
  • searchArtist(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • query: String!
  • ): ArtistConnection @deprecated( reason: "Use the new search query instead." )
  • # Find a sound zone by ID
  • #
  • # Arguments
  • # id: [Not documented]
  • soundZone(id: ID!): SoundZone
  • # Get many tracks by id
  • #
  • # Arguments
  • # ids: [Not documented]
  • # market: [Not documented]
  • tracks(ids: [ID!]!, market: IsoCountry!): [Track]
  • }

link Require by

This element is not required by anyone