Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

For Meta Stack Overflow, the 2.0/sites endpoint returns "main_site" rather than "meta_site". All other site_type for other stackexchange sites return correctly.

URL: https://api.stackexchange.com/2.0/sites?filter=!3x9D0xtBGnDvaejbR

Expected (partial) response:

...
{
"site_type": "meta_site",
"name": "Meta Stack Overflow",
"api_site_parameter": "meta.stackoverflow",
"site_url": "http://meta.stackoverflow.com"
},
...

Actual (partial) response:

...
{
"site_type": "main_site",
"name": "Meta Stack Overflow",
"api_site_parameter": "meta.stackoverflow",
"site_url": "http://meta.stackoverflow.com"
},
...

Apologies if this is intended behaviour - if so, the name is very misleading! I searched but didn't find any reference to it in existing bugs / questions.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Meta Stack Overflow is a main site in the sense that it doesn't have any linking between it and Stack Overflow.

Separate rep system, separate user account, distinct ids, etc. etc.

It is weird, but it is accurate. The whole arrangement is a historical accident, with Meta Stack Overflow predating the entire SE 2.0 system.

share|improve this answer
add comment

You must log in to answer this question.

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