1 Reply Latest reply on Nov 27, 2013 4:54 AM by Ryan Rutan

    How to associate Content with Place?

    neil.mcglennon

      When I create Content (specifically, Document) via the REST API, how can I associate that document with a Place (Space or Group)?

      Jive REST API v3.0 → Content service

       

      What am I missing?

        • Re: How to associate Content with Place?
          Ryan Rutan

          When creating content in a specific place, you need to define the "parent" attribute.  To do this, you need to provide the API reference URI to the place where the content should be stored.

           

          The easiest way to get this value (if this is not a UI, and just a simple REST call) is to user the Places service and check out the @self reference for the place in question, and use that value for parent. 

           

          Hope that helps.