get:
  tags:
    - All Resources
    - Playlists
    - Public Playlists
    - Tracks
  summary: 'Search for current Tracklist'
  operationId: public.track_positions.current_tracklist
  description: >-
    Getting the most up-to-date tracklist of the playlist. For regular Spotify playlist it fetches the data from Spotify API directly  
    
    Sort by values: 
      * num_days_on
      * earliest_position
      * current
      * last_added_date_time
      * earliest_position_date_time
  security:
    - bearerAuth: [ ]
  parameters:
    - $ref: '../parameters/playlist_id_array_required.yaml'
    - $ref: '../parameters/dsp_array_apple_spotify.yaml'
    - $ref: '../parameters/country_code_array.yaml'
    - $ref: '../parameters/streams_country_code_with_local_array.yaml'
    - $ref: '../parameters/include_current_tracklist.yaml'
    - $ref: '../parameters/bigtable_limit.yaml'
    - $ref: '../parameters/offset.yaml'
    - $ref: '../parameters/sort_by_track_positions_current_tracklist.yaml'
    - $ref: '../parameters/sort_order_array.yaml'
  responses:
    200:
      $ref: '../responses/PlaylistsTrackPositionsCurrentTracklistsResponse.yaml'
    400:
      $ref: '../responses/InvalidInput.yaml'
    401:
      $ref: '../responses/Unauthorized.yaml'
    500:
      $ref: '../responses/InternalError.yaml'