Listing themes

Retrieve details of all themes for a particular tenant.

Procedure

  1. In a REST client platform, add the authentication details of the tenant from where you want to retrieve details of all themes.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "mcsp_or_isv_token"
    }
    
  2. Make a GET request at the URL of the project.

    URL syntax: <domain>/apis/v1/rest/themes

    Method: GET

    If the request is successful, you receive the response code for success.

    {
    output: 
    	[{
    	"name": "<theme_name>",
    	"uid": "<theme_uid>",
    	"settings": 
    			{
    			"description": "<theme_name>",
    			"theme":<theme_values_obj>,
    			"footerContent": "<theme_footerContent>",
    			"aboutPageContent": "<theme_aboutPageContent>"
    			},
    	"active": <true || false>,
    	}]
    }