← All operations

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

NameTypeRequiredDefaultDescription
d string yes — Domain to fetch the package for

Working Examples

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": "..."
  }
}