Forum Discussion

cesarvidril's avatar
11 years ago

Get all QandA with RESTApi

Hi

 

I wan't to know how to get all the qanda board in restapi and after that get the key-word used in the parameters.

 

I know ho to get qanda one by one:
rest("/boards/id/${myQandAId}?restapi.response_style=view");

But the keywords aren't displayed in the response.

 

I know i can get all boards with

rest("/boards")

But i don't know if a filter exist to only get the boards who has "qanda" has interaction_style.

  • Well

     

    After some research i finally got it:

    rest('/boards/style/qanda')

     

    And for who's in research of the same anwers this his how to get the keywords:

    rest('/boards/id/${boardId}/settings/name/board.keywords')

  • sam2 - 

     

    You can achieve this using API V2. 

     

    select * from boards where conversation_style = 'qanda'

    Tariq

    Give kudos if you find my posts helpful or mark solution if it answers your query.

  • Well

     

    After some research i finally got it:

    rest('/boards/style/qanda')

     

    And for who's in research of the same anwers this his how to get the keywords:

    rest('/boards/id/${boardId}/settings/name/board.keywords')

    • sam2's avatar
      sam2
      Guide

      I didn't got the desired result. I am getting empty array in response.