Skip to content

adminAppearanceTheme

One theme by its code.

Arguments

ArgumentTypeDescription
codeString!Theme code, e.g. default.

Fields

Identical to adminAppearanceThemes.

Best practices

  • The argument is the theme code, not an IRI. Pass "default", not /api/admin/appearance/themes/default.
  • An unknown code resolves to an error, not to null with data alongside it.

Permissions

Requires appearance.themes.

Released under the MIT License.