Rename api into collection_api