how to populate the Time unit in header ?

how to show Dynamic header for time uni, which Is mentioned in the product level ( I mention the quota and time unit in product level.)

for example "x- ratelimt-timeunit = day, month,seconds,minutes?"

header needs to display the time unit accordingly to the product quota specifications.

Solved Solved
0 4 214
1 ACCEPTED SOLUTION

I figure out the Issue.I used the java script switch case to populate the time unit value in headers dynamically.

View solution in original post

4 REPLIES 4

I don't think that information is available in a context variable. It's not documented.

@Dino-at-Google Thanks for the Response.

I figure out the Issue.I used the java script switch case to populate the time unit value in headers dynamically.

But how do you know what to use for the time unit? Where do you get the information?