feat: API endpoints for Issues

for plugging into the editor