notes view api routing.