# data[].attributes.body
To express purpose:

I went to the shops to get some bread

# data[].attributes.body
After verbs which follow the pattern verb + someone + to do + something:

I asked her to open the window

# data[].attributes.body
After certain adjectives:

I was surprised to see him at the party

# data[].attributes.body
After certain verbs:

I learnt to speak Spanish in Valencia

# data[].attributes.body
After phrasal verbs:

I gave up playing tennis when I hurt my knee

# data[].attributes.body
After verb and preposition combinations:

I don´t approve of people drinking and driving

# data[].attributes.body
After adjective and preposition combinations:

Steven is fantastic at cooking Thai food

# data[].attributes.body
After all prepositions except to:

On hearing the news, she burst into tears

# data[].attributes.body
After certain verbs and expressions, especially those expressing liking/disliking:

I don´t mind getting up early in the morning

# data[].attributes.attachment_link.title
Gerund and Infinitive - English grammar tutorial video lesson

# data[].attributes.body
The infinitive is used:

# data[].attributes.headline
                                    Gerunds

# data[].attributes.subject
                                    Gerunds

# data[].attributes.body
Is a verb which is used as a noun. It can be the subject of a clause or sentence.
You use the gerund: