admin_post_themes: Create a theme

Description Usage Arguments Value

Description

Create a theme

Usage

1
2
3
4
5
6
admin_post_themes(
  name,
  settings_json,
  organization_ids = NULL,
  logo_file_id = NULL
)

Arguments

name

string required. The name of this theme.

settings_json

string required. The JSON-encoded theme configuration.

organization_ids

array optional. List of organization ID's allowed to see this theme.

logo_file_id

string optional. The ID of the logo image file.

Value

A list containing the following elements:

id

integer, The ID of this theme.

name

string, The name of this theme.

organizationIds

array, List of organization ID's allowed to use this theme.

settings

string, The theme configuration object.

logoFile

list, A list containing the following elements:

  • id integer, The ID of the logo image file.

  • downloadUrl string, The URL of the logo image file.

createdAt

string,

updatedAt

string,


civisanalytics/civis-r documentation built on June 27, 2020, 7:25 a.m.