API referenceV2Analyzer tests
List all analyzer test templates
Retrieves a paginated list of all available analyzer test templates. Templates are reusable validators that can be assigned to attributes with specific configurations.
Authorization
bearerAuth AuthorizationBearer <token>
ProductsUp Keycloak JWT bearer token.
In: header
Query Parameters
firstResult?integer
Starting item (pagination offset)
Default
0maxResults?integer
Items per page
Default
50Response Body
application/json
application/json
curl -X GET "https://export-template-api.productsup.com/V2/analyzer-test-templates"{
"data": [
{
"id": "length_check",
"name": "Length Validation",
"description": "Validates text length with min/max bounds.",
"deprecated": false,
"variables": {
"value": {
"type": "integer",
"minimum": 0,
"description": "Length threshold value",
"required": true
},
"operator": {
"type": "string",
"enum": [
">",
"<",
">=",
"<=",
"=",
"!="
],
"description": "Comparison operator",
"required": true
}
}
}
],
"pagination": {
"firstResult": 0,
"maxResults": 50,
"count": 5,
"total": 5
}
}{
"errors": {
"message": "Resource access denied."
}
}How is this guide?
List sites using an export template GET
Returns a paginated list of site-export template connections. Each connection (site_channel_id) is returned as an individual row.
Assign analyzer test templates to an attribute POST
Assigns one or more analyzer test templates to an attribute (export field). Each assignment includes a template ID and its configuration parameters.