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.
1 Answer
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.
-
Well -
api_site_parameterseems like the best option for a key in a database anyway.Nathan Osman– Nathan Osman2012-01-31 00:03:25 +00:00Commented Jan 31, 2012 at 0:03
relationandsite. Wheresiteis just a normal site type. Then use filters to choose what you want.contextfield, and have it not only on this route, but things like badge awards as well.