2 Replies Latest reply on Jul 5, 2016 12:26 PM by cpalm

    How to return all questions with answer content together?

    cpalm

      I'm just playing with the API for the first time, so apologies if this is obvious and I'm just missing it.

       

      I want to pull all discussions marked as questions from a place along with the actual content of the accepted answer from each question that has one.  Right now all I'm getting is the URL to the answer, is there a way to do that?  It appears fields=answer is a string, not an array?

       

      Here's what I'm using right now: https://domain.com/api/core/v3/contents?filter=place(https://domain.com/api/core/v3/places/1070499)&filter=type(discussion)&fields=answer