12

The /users/{ids}/associated endpoint of the Stack Exchange API has the option to set ?types=meta_site to get the child meta users of a network account. But when I try it now, I get an empty response for my account (and any other account ID I try).

Making a GET request to https://api.stackexchange.com/2.3/users/17341075/associated?pagesize=100&types=meta_site gives (formatted):

{
  "items": [],
  "has_more": false,
  "quota_max": 10000,
  "quota_remaining": 9965
}

But I do have automatically-created accounts on per-site metas! This issue occurs on all API versions.

I have an API client that tries to find all the sites that I have accounts on (that meet certain criteria) by using the /users/{ids}/associated endpoint. But it seems the only way it can find my active accounts on child metas is to check each site I have a main account on individually, due to this bug.

3
  • 2
    I reported that bug on Stack Apps: /me/associated doesn't return meta sites anymore
    – Glorfindel Mod
    Commented Nov 7, 2021 at 16:40
  • 5
    @Glorfindel Maybe after 1,5 years it will finally get some attention then :-)
    – Mast
    Commented Nov 7, 2021 at 17:45
  • 1
    Still happening for me, I try all of the type options, paging options, and all I get back in the main_sites. It shows in the total the correct number of main_sites + meta_sites (58 for me), but just doesn't display them. my broken link here
    – treckstar
    Commented Jul 16, 2022 at 9:41

0

You must log in to answer this question.

Browse other questions tagged .