| Priority | hostname | reseller | domain |
|---|---|---|---|
| 1 | H | R | D |
| 2 | H | R | * |
| 3 | H | * | D |
| 4 | H | * | * |
| 5 | * | R | D |
| 6 | * | R | * |
| 7 | * | * | D |
| 8 | * | * | * |
domain query param scopes the lookup. Without it, only domain=* rows are candidates.matched-hostname and a fully merged assets array from the full hierarchy candidate set. Each asset includes source-hostname, source-reseller, source-domain, source-brand-name indicating which hierarchy level contributed it. Note: file-access-url is not included on hierarchy asset entries.Authorization: Bearer ********************matched-hostname is populated. Asset entries include source-* fields but not file-access-url.curl --location -g --request GET 'https://awqacore01.crexendocloud.com/ns-api/v2/resellers/{{reseller}}/brands/portal.acme.com/active?domain' \
--header 'Authorization: Bearer <token>'{
"id": "5d41402abc4b2a76b9719d911017c592",
"hostname": "portal.acme.com",
"reseller": "acme",
"domain": "*",
"brand-name": "ACME Blue",
"currently-active": 1,
"matched-hostname": "portal.acme.com",
"color-primary": "#1E40AF",
"border-radius": "rounded",
"icon-style": "baseline",
"assets": [
{
"id": "c20ad4d76fe97759aa27a0c99bff6710",
"brand-id": "5d41402abc4b2a76b9719d911017c592",
"asset-type": "logo",
"filename": "acme-logo.png",
"mime-type": "image/png",
"width": 200,
"height": 80,
"file-size-bytes": 45678,
"source-hostname": "*",
"source-reseller": "acme",
"source-domain": "*",
"source-brand-name": "default"
}
]
}