My scenario: i want to create a spfx web part that uses a rest API that will query all the alerts throughout the whole site collection for the current user.
I want to know which API to use and better if there already is a sample i can use. I am new to spfx and am building this web part using react