Cleaned up rest framework API