Migrate V3 content types or api to V4

I did not find “root/api/” folder in V4. So how can i migrate my V3 api or content types to V4?