Type related_site

Discussion

This type represents a site that is related in some way to another site.

Examples include chat and meta, and parent sites.

Applications should be able to gracefully handle the additon of new related site types.

Fields

api_site_parameter
string
may be absent

name
string

relation
one of parent, meta, or chat, but new options may be added.

site_url
string
unchanged in unsafe filters

Fields marked with are included in the default filter, those marked with are excluded in the default filter.

Examples

Parent Site

{"relation":"parent","api_site_parameter":"example","site_url":"http://example.stackexchange.com/","name":"Example Site"}

Meta Site

{"relation":"meta","api_site_parameter":"mtea.example","site_url":"http://meta.example.stackexchange.com/","name":"Meta Example Site"}

Chat Site

{"relation":"chat","api_site_parameter":"mtea.example","site_url":"http://meta.example.stackexchange.com/","name":"Meta Example Site"}

Methods That Return This Type

No methods return this type directly, it is found as a member on the following types.

achievement
flag_option
inbox_item
info
site
notification
question
migration_info