GraphQL api for Discourse

I want to port the issues from GitHub to Discourse for my use case. My question is that
1- Is there any GraphQL API available to do it.
2- Can someone point to me the available documentation with sample code for REST API.

  1. No there is not.
  2. Sure, check out and How to reverse engineer the Discourse API

Any Go library available to ease the task?

Not that I’m aware of, no. There was previously an importer, but it was discontinued due to lack of use/interest. Not sure if the code was open sourced or not.

Hi @Minhaj, I’m currently building a discourse-graphql plugin as a personal project. Let me know if you’re looking for a specific query field and I can add it to the plugin for you.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.