Rename api to perma_api to avoid tastypie conflict