2 Replies Latest reply on Aug 17, 2016 9:32 AM by Jeff Shurtliff

    Options to filter stream associations in REST API

    Jeff Shurtliff

      Hi all,

       

      I am trying to use the API to locate the ID of a stream association for a specific space so that it can be destroyed.

       

      I tried to run the GET query https://community.rsa.com/api/core/v3/streams/96/associations?filter=place(https://community.rsa.com/api/core/v3/places/27229) to get only the stream association ID for that space, but I get the error below as a response.

      {

        "error" : {

          "status" : 400,

          "code" : "filterInvalid",

          "message" : "Filter type place is not supported by this service"

        }

      }


      Does anyone know what I'm doing wrong, or if there's an alternative way to filter the output of the /core/v3/streams/<stream_id>/associations query to get only the association that I'm looking for?

       

      I've also tried search filtering such as https://community.rsa.com/api/core/v3/streams/96/associations?search=(Knowledge Base) but  it doesn't seem to filter the results at all.

       

      Thanks!

      Jeff