API
FAQ

8. FAQ

To request FAQ to display in the Knowledge section, you have to run following graphql query:

query Faqs($filters: FaqFiltersInput, $locale: I18NLocaleCode) {
  faqs(filters: $filters, locale: $locale) {
    data {
      id
      attributes {
        content
        platform
        title
        category
      }
    }
  }
}

With variables:

{
  "filters": {
    "platform": {
      "eq": "RENTINVESTO"
    }
  },
  "locale": "en"
}

Authorization: Bearer ACCESS_TOKEN

Response:

 
{
  "data": {
    "faqs": {
      "data": [
        {
          "id": "1",
          "attributes": {
            "content": "<EDITOR_JS_HTML_CONTENT>",
            "platform": "RENTINVESTO",
            "title": "test"
          }
        }
      ]
    }
  }
}