zaraz_zaraz-config-history-response

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-zaraz-zaraz-config-history-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/zaraz_zaraz-config-history-response",
  "title": "zaraz_zaraz-config-history-response",
  "allOf": [
    {
      "$ref": "#/components/schemas/zaraz_api-response-common"
    },
    {
      "properties": {
        "result": {
          "additionalProperties": {
            "allOf": [
              {
                "$ref": "#/components/schemas/zaraz_zaraz-config-row-base"
              },
              {
                "description": "Configuration record correspoding to an ID provided in query params",
                "nullable": true,
                "properties": {
                  "config": {
                    "$ref": "#/components/schemas/zaraz_zaraz-config-return"
                  }
                },
                "required": [
                  "config"
                ],
                "type": "object"
              }
            ]
          },
          "description": "Object where keys are numericc onfiguration IDs",
          "example": {
            "12345": {
              "config": {
                "consent": {
                  "cookieName": "zaraz-consent",
                  "customIntroDisclaimerDismissed": true,
                  "enabled": false
                },
                "dataLayer": true,
                "debugKey": "my-debug-key",
                "settings": {
                  "autoInjectScript": true
                },
                "tools": {
                  "aJvt": {
                    "component": "facebook-pixel",
                    "defaultFields": {
                      "testKey": "TEST123456"
                    },
                    "enabled": true,
                    "name": "Facebook Pixel",
                    "neoEvents": [
                      {
                        "actionType": "pageview",
                        "blockingTriggers": [],
                        "data": {
                          "__zaraz_setting_name": "Page view",
                          "ev": "PageView"
                        },
                        "firingTriggers": [
                          "Pageview"
                        ]
                      }
                    ],
                    "permissions": [
                      "access_client_kv"
                    ],
                    "settings": {
                      "accessToken": "ABcdEFg",
                      "ecommerce": true,
                      "property": "12345"
                    },
                    "type": "component"
                  }
                },
                "triggers": {
                  "ktBn": {
                    "Pageview": {
                      "clientRules": [],
                      "description": "All page loads",
                      "excludeRules": [],
                      "loadRules": [
                        {
                          "match": "{{ client.__zarazTrack }}",
                          "op": "EQUALS",
                          "value": "Pageview"
                        }
                      ],
                      "name": "Pageview",
                      "system": "pageload"
                    }
                  }
                },
                "variables": {
                  "Autd": {
                    "name": "ip",
                    "type": "string",
                    "value": "{{ system.device.ip }}"
                  }
                },
                "zarazVersion": 43
              },
              "createdAt": "2023-02-23T05:05:55.155273Z",
              "id": 12345,
              "updatedAt": "2023-02-23T05:05:55.155273Z",
              "userId": "278d0d0g123cd8e49d45ea64f12faa37"
            },
            "23456": null
          },
          "type": "object"
        }
      }
    }
  ]
}