Smart playlists via the API?

What there is about playlists and API is this ticket: