Get brand package
GET
/package
Returns the complete resolved package for a domain: active theme colors (light/dark), decorators, and brand metadata. Supports ETag/If-None-Match and Last-Modified caching -- a 304 is returned when the client's cached copy is still current.
Produces:
application/jsontext/html
Idempotent: yes
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
d |
string | yes | — | Domain to fetch the package for |
Working Examples
-
Fetch a package — The full resolved package for memorize.live
https://brand.dauntless.ventures/package?d=memorize.live · JSON response
Response Format
{
"error": false,
"status": 200,
"message": "Success",
"data": {
"domain": "memorize.live",
"light": { "colors": { "...": "..." } },
"dark": { "colors": { "...": "..." } },
"has_light": true,
"has_dark": true,
"last_modified": "...",
"etag": "..."
}
}