Hi, I am trying to browse the topics with the grap...
# general
z
Hi, I am trying to browse the topics with the graphql API but I only get an empty list as a result even though i see my topics being published in the topic browser (in the management console). I also properly mapped the port when launching the umh-core instance with docker, so i have access to the graphql port :
Copy code
yaml
services:
  umh-core:
    image: management.umh.app/oci/united-manufacturing-hub/umh-core:v0.43.9
    container_name: umh-core
    restart: unless-stopped
    ports:
      - "8090:8090"
When I try the curl command present in the documentation :
Copy code
bash
curl -X POST http://localhost:8090/graphql -H "Content-Type: application/json" -d '{"query": "{ topics(limit: 10) { topic } }"}'
I get empty topic list :
Copy code
json
{"data":{"topics":[]}}
maybe I missed something, does anyone have any idea on what could be happening ? https://cdn.discordapp.com/attachments/984082664678125578/1432652700629209189/image.png?ex=6901d54d&is=690083cd&hm=6eadc8daba1f2f21da21504aeade1bb1e94bf855e1720e1dd760a3bd177f4f52& https://cdn.discordapp.com/attachments/984082664678125578/1432652701530853376/image.png?ex=6901d54d&is=690083cd&hm=ab0a31c4f4e092741ec1655f5ec5fb6cde8be745049c8780b4557a182db3a4fe&
2 Views