Closed felixlut closed 8 months ago
Ofc I could have used the data source 🤦♂️
@kelvintaywl btw, just to satisfy my own curiosity, where did you find this endpoint? Looking at the Notes of the README, the endpoint isn't official
@felixlut
ah, sure, I found the API endpoint via inspecting how the circleci
CLI binary looks up the Runner resource-classes (i.e., when you run circleci runner resource-class list [namespace]
.)
I spent more time than I'm willing to admit to find how to get the id from the CCI API. Turns out the endpoints listed in their docs (which is for v3) doesn't return the id, and I was unable to find the specific endpoint in the docs for v2 either.
I went on a wild goose chase from here to here to figure it out...
I'd like to save as many people as I can from being exposed to this