zestones — gestern um 09:50 Uhr
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 :
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 :
curl -X POST
http://localhost:8090/graphql -H "Content-Type: application/json" -d '{"query": "{ topics(limit: 10) { topic } }"}'
I get empty topic list :
{"data":{"topics":[]}}
maybe I missed something, does anyone have any idea on what could be happening ?
Bild
Bild
Brian Pribe — gestern um 14:36 Uhr
I think it’s only for current state too when I read the docs
zestones — gestern um 14:41 Uhr
yes it is for current state, that's why i was expecting to see the published topics in "real time" similar to the topic browser in the management console. But I never get anything returned, even though topics are being published (1 per second), I expected to at least see the current topic
Jermuk — gestern um 18:43 Uhr
let me look into that
(posting it into umh-support would have been better next time 🙂 )