Setup rest framework with read-only endpoints.