docs for API views