Parsing data of an array in a pipe

how do I get the response of a key for all elements in an array using pipes? I am currently using the recommended method for the response which is to put the index of the array in the key (example: data.courses.0.content). However, the issue with this is that I only get the element of keys in the array that I specify and not all the elements.