REST API for todo.txt