Feed format

For integration via API, an alternative solution for importing your data is to use a feed sent to an FTP location.

Ask for an FTP account to be set up and you can have your JSON feed with questions and associated answers sent there directly every night (one JSON file per product).

General feed structure:

blobid0.png

The feed is composed of an array of questions. Each question holds its attributes, as per below:

blobid1.png

Each question holds all of its answers with a “published” status. So the “answer” attribute contains each answer to the question. The answers hold the following attributes:

blobid2.png

Of these attributes, three warrant a short explanation:

  • “is_moderator”: indicates whether the person who wrote this answer is a moderator
  • “is_public”: indicates that this is a so-called “public” answer
  • “reply”: this is an array of discussions between users and moderator(s)

When an answer’s “is_public” and “is_moderator” attributes are set to 0, this indicates a community answer.

Each discussion holds the following attributes:

blobid3.png

 

Was this article helpful?
0 out of 1 found this helpful