This is the API documentation for preferences.