How to get content types and field list with API?

I need this :sweat_smile: