Add rest api docs, fix transplant error message

Added some documentation on the '/transplant' endpoint.