Type site

Discussion

This type represents a site in the Stack Exchange network.

Fields

aliases
an array of strings
may be absent

api_site_parameter
string

audience
string

closed_beta_date

favicon_url
string

high_resolution_icon_url 2.1
string
may be absent

icon_url
string

launch_date

logo_url
string

markdown_extensions
an array of 'MathJax', 'Prettify', 'Balsamiq' or 'jTab' strings, but new options may be added.
may be absent

name
string

open_beta_date

related_sites

site_state
one of normal, closed_beta, open_beta, or linked_meta

site_type
one of main_site or meta_site, but new options may be added.

site_url
string

styling

twitter_account
string
may be absent

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

Examples

Main Site

{"styling":{"tag_background_color":"#E0EAF1","tag_foreground_color":"#3E6D8E","link_color":"#0077CC"},"related_sites":[{"relation":"meta","api_site_parameter":"meta.example","site_url":"http://meta.example.stackexchange.com/","name":"Meta Example Site"}],"launch_date":1733246735,"open_beta_date":1733160335,"closed_beta_date":1733073935,"site_state":"normal","twitter_account":"@StackExchange","favicon_url":"http://sstatic.net/stackexchange/Img/favicon.ico","icon_url":"http://sstatic.net/stackexchange/Img/apple-touch-icon.png","audience":"example lovers","site_url":"http://example.stackexchange.com","api_site_parameter":"example","logo_url":"http://sstatic.net/stackexchange/Img/logo.png","name":"Example Site","site_type":"main_site"}

Meta Site

{"styling":{"tag_background_color":"#E0EAF1","tag_foreground_color":"#3E6D8E","link_color":"#0077CC"},"related_sites":[{"relation":"parent","api_site_parameter":"example","site_url":"http://example.stackexchange.com/","name":"Example Site"}],"site_state":"linked_meta","twitter_account":"@StackExchange","favicon_url":"http://sstatic.net/stackexchange/Img/favicon.ico","icon_url":"http://sstatic.net/stackexchange/Img/apple-touch-icon.png","audience":"meta example lovers","site_url":"http://example.stackexchange.com","api_site_parameter":"meta.example","logo_url":"http://sstatic.net/stackexchange/Img/logo.png","name":"Meta Example Site","site_type":"meta_site"}

Methods That Return This Type