Login User - Data Displayed

How to write condition. If the particular user sign in his data only to be shown in webpage.
I had api/resource/content. If i fetch the data from this api all datas are displayed only the particular user data to be displayed. How to write ??

Thankyou in advance