Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 11.x
  • Verint Community
Verint Community 11.x
Developer Training Disable Activity Stories on REST Requests
  • User Documentation
  • Ask the Community
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • +Getting Started
  • -External Integration
    • +External Authentication
    • -REST API
      • Authentication
      • Disable Abuse Checking on REST Requests
      • Disable Activity Stories on REST Requests
      • Disable Notifications on REST Requests
      • Extended Attributes in REST
      • Making Requests
      • Profile Fields in REST
      • REST Best Practices for Performance
      • +REST SDK
    • Webhooks
  • +Plugins/Framework extension
  • +Automations
  • +UI Customization
  • +Scripting

You are currently reviewing an older revision of this page.

  • History View current version

Disable Activity Stories on REST Requests

When creating or updating content the content is detected by the individual activity story types that handle events applicable to their content detection logic and create activity stories.  Using the REST header "Rest-Disable-ActivityStories" with the value "True" will prevent the activity story service from creating any type of activity story.  If using API key authentication via REST, the user making the REST request must have the "Manage Site" permission.  If using OAuth authentication, the user making the REST request must have the OAuth Permission "Manage Settings".

[TOC]

Why Should I Disable Activity Stories When Using REST

If you're migrating existing content from another system, you may not wish for that content to generate any type of activity story.

Making a REST Request with Activity Stories Disabled

var request = WebRequest.Create("https://mytelligentcommunitysite.com/api.ashx/v2/info.json") as HttpWebRequest;
request.Method = "Get";

// replace the "admin" and "Admin's API key" with your valid user and apikey!
var adminKey = String.Format("{0}:{1}", "Admin's API key", "admin");
var adminKeyBase64 = Convert.ToBase64String(Encoding.UTF8.GetBytes(adminKey));

request.Headers.Add("Rest-User-Token", adminKeyBase64);
request.Headers.Add("Rest-Disable-ActivityStories", "True");

var response = request.GetResponse() as HttpWebResponse;

  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2024 Verint, Inc.
Powered by Verint Community