Types Of User Objects


There are two different objects that represent a user in the API, the full user object and the smaller shallow_user object. Which is returned depends on the method being called, methods that are focused on users return the full object while others return the shallow one.

By way of example, /users returns full user objects but /questions returns shallow_users in question.owner.

When constructing filters, you need to be aware of this distinction as excluding properties on user does not exclude then on shallow_users , and vice versus.