Return an array of document's ids from get packeage list API