GET
/
settings
Get templates
curl --request GET \
  --url https://{FUSION_HOST.com}/api/templating/settings
{
  "app": "your-app-name",
  "entityDirty": true,
  "hierarchyFields": [
    {
      "field": "product_description",
      "fieldName": "product_description",
      "separator": ";"
    }
  ],
  "id": "<string>"
}

Query Parameters

allRequestParams
any
required

allRequestParams

context
string

The context parameter retrieves templates for the specified application. The parameter format is app:your-app-name. Only the first application listed in the context is displayed even if a comma-delimited list is entered in the parameter.

Example:

"app:your-app-name"

hideStaging
boolean
default:false

This field indicates if the request is set to retrieve published or unpublished (staging) templates. The default of false retrieves published templates. If set to true, the request retrieves unpublished (staging) templates.

showDirtyOnly
boolean
default:false

This field indicates if the request is set to retrieve published or unpublished (staging) templates. The default of false retrieves published templates. If set to true, the request retrieves unpublished (staging) templates.

showPublished
boolean

This field indicates if the request is set to retrieve published or unpublished (staging) templates. If set to true, only published templates are retrieved. If set to false, the request retrieves unpublished (staging) templates.

Response

200
application/json

OK