Have a query regarding Query Cursor.
There are two limits that I see for Maximum number of query cursors open concurrently per user in the limits cheatsheet doc.
i) 50 for Apex Transactions. ii) 10 for API
So If I have APEX REST Endpoint exposed to a client which makes query in Salesforce through related apex. Would that be counted as part of #1 or #2 ?