How to get your own Xdb connection strings using rest API reference of the xDB Cloud service


Sitecore has recently come up with REST API references where you can get instant service responses using Xdb API services.

Here is the list:


Initially, you have to get Nexus token using your Sitecore license file (Xdb enabled) using SSO Encode Sitecore license

       


Once you get Nexus token, you can use Xdb cloud API services   

·         Get Firewall settings
·         Get history processing status
·         Get xDB consumption
·         Get xDB set status
·         List xDB sets
·         SSO Encode Sitecore license

Sample response:
{
  "DeploymentId": "{Your deployment ID}",
  "DeploymentType": "Prod",
  "LicenseId": "XXXXXXXXXXX",
  "SitecoreVersion": "Sitecore.NET 8.2 (rev. 161115)",
  "ReportingServiceUri": "{Service URL}",
  "ReportingServiceCertificate": "KEY",
  "XdbConnectionStrings": {
    "analytics": {Service URL}",
    "tracking.contact": "{Service URL}",
    "tracking.history": "{Service URL}",
    "tracking.live": "{Service URL}",
    "analytics.cloud.index": null
  },
  "XdbCloudVersion": "2.0"
}





Xdb Cloud Client: 

Note: Your Xdb license should have customer set limit to use the number of deployment IDs to integrate into your connection strings file.

Please feel free to add your comments/thoughts.


Regards,

Comments