Closed estiens closed 5 years ago
You can find more information regarding the schema here: https://github.com/psychonautwiki/bifrost/blob/master/server/graph/schema/rootQuery.js#L7-L196.
Additionally, you can use introspection queries agains the GraphQL endpoint; alas this isn't exactly intuitive and needs to be simplified.
Great, thanks!
A suggestion would be to make use of Swagger (https://swagger.io/) for the API generation to allow an easier dynamically generated wrapper layer for common scripting languages etc
This likely isn't going to be a simple path to go down but would be longer term more sustainable and maintainable for adding additional integration's in future
Swagger won't happen. GraphQL is not a REST-API. Please try to get used to the GraphQL schemata provided as documentation in the API UI or - as previously mentioned - to the schema itself: https://github.com/psychonautwiki/bifrost/blob/master/server/graph/schema/rootQuery.js#L57-L223.
Hi there,
I'm developing a harm reduction chatbot that is going to rely on pulling information from the psychnonaut wiki API. It would be super helpful to have a text document that lists the entire schema that could be returned -- something like
etc etc etc
Also, an endpoint that could return all substances that one can currently get information about.
Let me know if there's any way I could help with this, thanks!