I assume the cheat is something like using the playlist API that returns individual results for whether a video exists or not.
So you issue an API to create a playlist with video IDs x, x+1, x+2, ..., and then when you retrieve the list, only x+2 is in it since it is the assigned ID.