Forum Discussion
Thanks for the new page reference. However, I don’t see the ‘level’ parm mentioned that Craig Stewart used. Is there a different API for that?
The API you are using will return you a list of runtimes, with summary data. If you take the RUUID from that make another request with the RUUID in the request too, you get the more detailed info.
- koryknick4 years agoEmployee
@vincenr - The ternary statements will optionally include the state, hours, last_hours, and limit query parameters to the API call. The values for these are coming from pipeline parameters so you can configure that at run time rather than have them hardcoded into the call.
- vincenr4 years agoNew Contributor III
Hi Craig,
Just wondering why you had to do all the ternary comparisons with state and hours to get the call to work? Is that analogous to SQL where if sometimes you don’t deal with nulls correctly you won’t get all the results or get incorrect results?