List Themes

This applies to: Visual Data Discovery

You can list the themes defined for your Symphony environment.

To list themes:

  • Use the /api/customization/themesAPI endpoint in a GET request. For example:

    curl -X GET "http://<ip-address>:<port>/composer/api/customization/themes" -H "accept: application/vnd.composer.v3+json"

    where <ip-address> is the IP address or host name of your Symphony instance and <port> is its port.

    A list of the themes defined to your environment is provided in the body of the response output.

The response output might look like this, with three themes defined: modern, dark, and mytheme. The ID for a theme is generated by Symphonys when the theme is created in the system.

[
{ "createdDate": "2020-04-29 10:26:17.135", "lastModifiedDate": "2020-04-29 10:26:18.078",
"id": "dark",
"name": "dark",
"system": true
},
{
"createdDate": "2020-04-29 10:26:17.135",
"lastModifiedDate": "2020-04-29 10:26:18.078",
"id": "modern",
"name": "modern",
"system": true
},
{
"createdByUserID": "<user>",
"lastModifiedByUserID": "<user>",
"createdDate": "2020-04-29 13:09:54.855",
"lastModifiedDate": "2020-04-29 13:24:56.902",
"id": "5ea97ca22aa608336f499a5b",
"name": "mytheme",
"system": false
}
]