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.

It would be great if the related_site type contained api_site_parameter. I realize that you probably don't want to clutter up related_site with a lot of unnecessary fields, but I think it makes sense to include api_site_parameter since it provides an easy way for an app to jump to a site's meta - the only information that is currently provided is the site name, URL (not too helpful to an app), and the relation to the parent.

share|improve this question
1  
Surely it would be better just to make related_site have jut two fields, relation and site. Where site is just a normal site type. Then use filters to choose what you want. –  Jonathan. Jan 30 '12 at 11:39
    
Even better is to have a context field, and have it not only on this route, but things like badge awards as well. –  Jonathan. Jan 30 '12 at 19:36
add comment

1 Answer 1

up vote 1 down vote accepted

This was added in the last deploy.

Originally I was planning for consumers to maintain the site cache based on host names, but I suppose it's better to have the "query with this" parameter readily available regardless of how a site is discovered.

share|improve this answer
    
Well - api_site_parameter seems like the best option for a key in a database anyway. –  Nathan Osman Jan 31 '12 at 0:03
add comment

You must log in to answer this question.

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