brendanhay / gogol

A comprehensive Google Services SDK for Haskell.
Other
281 stars 105 forks source link

assistance needed: trying to hit beta gcloud endpoints #70

Open ababkin opened 7 years ago

ababkin commented 7 years ago

Hi

I'm trying to hit this API endpoint: https://us.gcr.io/v2/<gcp_project_name>/<my_image_name>/tags/list (the endpoint that the following CLI command hits: gcloud beta container images list-tags us.gcr.io/<gcp_project_name>/<my_image_name>)

I realize that gogol likely does not support this API, but I suspect that I could reuse gogol's auth mechanism to authenticate with this endpoint. I don't mind hand-crafting a gogol request for this endpoint, but would really appreciate an advice or assistance as to how to go about it

Thanks

matthew-piziak commented 7 years ago

I suspect this is related to the face that I cannot hit getManagedZonesList, a v2beta1 endpoint, without getting a 403 Forbidden.

matthew-piziak commented 7 years ago

Never mind, mine is actually a Google bug: https://issuetracker.google.com/issues/64573069