Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently, StackAuth returns:

state: linked_meta

...regardless of the state of the parent site.

This makes my logic quite complicated as then I have to match it up with its parent site to find its state.

Can we change it to:

state: linked_meta_private_beta
state: linked_meta_public_beta

* Maybe this can be a v1.1 feature?

share|improve this question

How hard is it to remove "meta." from the api_endpoint and then iterate through the list of about a dozen sites you got already to find the one with a matching host name? In Objective-C, which is generally considered a verbose language, it takes maybe a dozen lines or so to be really thorough and catch corner cases and whatnot...

For reference, here's how I retrieve it.

share|improve this answer
Sorry, but I've never touched Objective-C before in my life :) I'm just asking for something a little more intuitive. – Nathan Osman Jul 10 '10 at 8:34

You must log in to answer this question.

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