In the /me/associated method, I get back a bunch of JSON - but the
api_site_parameter name is nowhere to be found.
Why? It's kind of important. Could we have it?
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.Sign up to join this community
I don't see any particular reason not to add it, but there are some workarounds you can use in the meantime:
api_site_parametervalue (and associated information) that way.
Use the fact that the domain name can be passed as a valid value for the
site parameter, in all API routes that require it. EG:
Clean up the returned
site_url to fit, i.e.:
var api_site = network_user.site_url.substring( network_user.site_url.indexOf("//") + 2, network_user.site_url.length - 1 );