chadtmiller.com/group-host
atmosphere group host
0
0
{
"lexicon": 1,
"id": "org.atgrp.internal.getBrand",
"defs": {
"main": {
"type": "query",
"description": "How this host shows itself, as its operator names it: its name, its logo and the links to its operator's pages, each only when set. Anyone may ask. For the console to draw on every page.",
"parameters": {
"type": "params",
"properties": {}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["links", "backgrounds", "colors"],
"properties": {
"name": {
"type": "string",
"maxLength": 400,
"maxGraphemes": 40,
"description": "Its name (SERVICE_NAME); absent for the console's own."
},
"logo": {
"type": "string",
"format": "uri",
"description": "Its logo (LOGO_URL), which the host serves at /img/host, as a page is to draw it; absent when it has none."
},
"palette": {
"type": "string",
"knownValues": ["paper", "slate", "neutral", "sage", "mauve"],
"maxLength": 64,
"description": "Which of the console's palettes its pages are in (PALETTE): its paper, cards, lines and ink; absent for the console's own, paper."
},
"links": {
"type": "ref",
"ref": "#links"
},
"backgrounds": {
"type": "ref",
"ref": "#backgrounds"
},
"colors": {
"type": "ref",
"ref": "#colors"
}
}
}
}
},
"links": {
"type": "object",
"description": "Its operator's pages, each absent when not set.",
"properties": {
"home": {
"type": "string",
"format": "uri",
"description": "Its operator's home page (HOME_URL)."
},
"privacyPolicy": {
"type": "string",
"format": "uri",
"description": "Its privacy policy (PRIVACY_POLICY_URL)."
},
"termsOfService": {
"type": "string",
"format": "uri",
"description": "Its terms of service (TERMS_OF_SERVICE_URL)."
},
"support": {
"type": "string",
"format": "uri",
"description": "Where people get help (SUPPORT_URL)."
}
}
},
"colors": {
"type": "object",
"description": "The colour of what acts on its pages, each as #rrggbb or #rgb, absent when not set.",
"properties": {
"primary": {
"type": "string",
"maxLength": 7,
"description": "In a light colour scheme, and in a dark one unless primaryDark is set (PRIMARY_COLOR)."
},
"primaryDark": {
"type": "string",
"maxLength": 7,
"description": "In a dark colour scheme (PRIMARY_COLOR_DARK)."
}
}
},
"backgrounds": {
"type": "object",
"description": "The pictures behind the card an app's request is approved on, by colour scheme, each absent when not set.",
"properties": {
"light": {
"type": "string",
"format": "uri",
"description": "In a light colour scheme (BACKGROUND_LIGHT_URL), which the host serves at /img/background-light."
},
"dark": {
"type": "string",
"format": "uri",
"description": "In a dark one (BACKGROUND_DARK_URL), which the host serves at /img/background-dark."
}
}
}
}
}