Added REST API for uploading annotations