Rest endpoint for Segment Metadata Queries

Hey,

what is the actual rest endpoint to query for this http://druid.io/docs/latest/querying/segmentmetadataquery.html ?

I guess it is targeting coordinator, right?

Would you please paste a curl example of such a query? I cannot figure it out

Hi Jakub,

segmentMetadata query is also a kind of druid native queries. You have to submit the query to brokers like below.

curl -L -H’Content-Type: application/json’ -XPOST -d @segmentMeta.json http://{BROKER_IP}:{BROKER_PORT}/druid/v2/?pretty

Jihoon

2017년 6월 20일 (화) 오후 9:44, Jakub Liska liska.jakub@gmail.com님이 작성:

Ah, I should have tried that with the Post data in file, it works, thanks !