adding documentation to backend API.