adobe / target-nodejs-sdk

Adobe Target Node.js SDK
https://www.npmjs.com/package/@adobe/target-nodejs-sdk
Apache License 2.0
26 stars 21 forks source link

Incorrect supplementalDataId format #122

Open Brontojoris opened 9 months ago

Brontojoris commented 9 months ago

https://github.com/adobe/target-nodejs-sdk/blob/main/openapi/delivery/components/AnalyticsRequest.yaml specifies that supplementalDataId format is:

Format <16 hexadecimal digits>-<16 hexadecimal digits>
maxLength: 33
minLength: 33

But then the documentation at: https://github.com/adobe/target-nodejs-sdk/blob/main/openapi/delivery/markdown/api-description.md#adobe-target-automatically-forwards-the-analytics-payload

Uses a different format.

"experienceCloud": {
        "analytics": {
          "supplementalDataId" : "23423498732598234",
          "trackingServer": "ags041.sc.omtrdc.net",
          "logging": "server_side"
        }
      }

So which is correct?

Please update documentation so it is consistent.