1 Reply Latest reply on Jan 13, 2016 9:12 PM by urvashi

    REST API share a url outside of collaborate

    Powell

      Hey all,

      Jive 8 REST api on prem

      So creating a share is

      POST /api/core/v3/shares

      {

         "content" : {

         "type" : "text/html",

         "text" : "Hey, you should join in on this thing!"

         },

         "participants" : [

         "http://jive.somecompany.com/api/core/v3/people/2345"

         ],

         "shared" : "http://jive.somecompany.com/api/core/v3/contents/12345"

      }

      Easy enough.

       

      What if I want to 'share' a URL to an external site...

      using something like

        "shared" : "http://www.foo.bar/somepage.html"

      Will give an error like:

      {

        "error" : {

        "status" : 400,

        "code" : "objectInvalidURI",

        "message" : "Invalid object URI http://www.foo.bar/somepage.html"

        }

      }

       

       

      Is there any way to do this?

       

      Thanks!

      Powell