The following API endpoints return information about contributions, and include an anon flag if the performer was an anonymous/IP user.
- ApiQueryImageInfo
- ApiQueryLogEvents
- ApiQueryRecentChanges
- anything that extends ApiQueryRevisionsBase
Following the decision to consider temporary users as a separate type of user in T337103: Decide a standard approach for classifying temporary, IP and registered users, we should add a temp flag to these in order to flag temporary users too.