Dimension API for RealTime Node

Hello,

I have a setup where I have coordinator, overlord, realtime and broker nodes. I have configured segment granularity to a day, so that I can query to today’s data only. Now when I am trying to use ‘druid/v2/datasources/test/dimensions’ api to see what all dimensions are there. But this always return blank. Any idea how to make it working or right approach do this?

Thanks,

Navneet

Hi Navneet,

The segment present in realtime nodes does have the dimensions info (https://github.com/druid-io/druid/issues/1474)

the end point will return the data once the segment is handed over to the historical node.

Thanks Nishant. So you are saying historical node must be up to use dimension API. I thought coordinator will provide that info.
Also, Is there a documentation about how http api works on all nodes?

Thanks,

Navneet

Hi Navneet, you can look at http://druid.io/docs/latest/design/broker.html for the broker endpoints. Other nodes have also HTTP endpoints in their docs.