[major] Initial stab at the issues api