Can't get media/component attributes - Strapi v4

All the relations are images has to be populated manually in v4. Please check Population for REST API - Strapi Developer Docs.