changed HTTP return code for not-found cursors
added documentation for endpoints