My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:

        /2.2/users/2855348/associated?types=meta_site;main_site

But, if I filter for meta sites only (types=meta_site), I can see the "Meta Stack Overflow" details in the API result:

        /2.2/users/2855348/associated?types=meta_site

Is this a bug or am I missing something?

up vote 1 down vote accepted

The API results are paged, defaulting to 30 (base) records at a time.

So you need to always check the has_more property and fetch additional pages, if needed.

In your second query, it currently returns 22 records. So you see the "Meta Stack Overflow" result you expect.

However, in your first query, 46 records are available and, because you used the default paging of 30, only the first 30 are returned.

You will find the "Meta Stack Overflow" item in page 2 of those results.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .