How do I populate media in this "complex" structure?

After several tests, I’ve found the solution by myself:

const pageObject = await fetchApi<Page[]>({
	endpoint: "pages",
	query: {
		populate: {
			metadata: {
				populate: "*",
			},
			sections: {
				populate: {
					content: {
						populate: "*",
					},
				},
			},
		},
	},
	wrappedByKey: "data",
});