heroic icon indicating copy to clipboard operation
heroic copied to clipboard

add x-client-id to markdown documentation examples for /query/[metrics|batch]

Open sming opened this issue 5 years ago • 0 comments

basically need to find a neat way of adding "x-client-id: my-app" to the example cURLs given in https://spotify.github.io/heroic/docs/api/post-query-metrics and https://spotify.github.io/heroic/docs/api/post-query-batch .

it's not that easy since we want this only to be added to these two endpoints. Probably need to create a "sub class" of whatever spits out the curl -XPOST ... text.

sming avatar Feb 04 '21 14:02 sming