Document the API and show how to use curl to access it.