Solved

v3/webhooks in 5.0?


Badge +5
  • Trailblazer
  • 12 replies
I've been hearing a rumor that the v3/webhooks endpoint made it into 5.0, but the remaing v3 API's were removed. Can anyone confirm? I have a AHV cluster running 5.0.0.2. I've tried every way I can to POST to that endpoint using Postman, but all I get is 404 errors.

Thanks,
Andrew
icon

Best answer by regana 26 May 2017, 15:18

Now I'm following up on my old threads. 😃

Eventually got the bottom of this. Had to allocate 24gb of memory to the CVM's to get the v3 API's to be exposed.

View original

3 replies

Userlevel 1
Badge +6
I am not sure about this. A post in GO would look like this.
body := `{"api_version" : "3.0", "spec" : { "name" : "` + name + `", "resources" : { "post_url" : "` + url + `", "events_filter_list" : ["` + evt_filter_list + `"] }, "description" : "tast_webhook" }, "metadata" : { "kind" : "webhook" } }`
Userlevel 7
Badge +30
hey regana - following up on old threads tonight, did you ever get to the bottom of this or is this still outstanding?
Badge +5
Now I'm following up on my old threads. 😃

Eventually got the bottom of this. Had to allocate 24gb of memory to the CVM's to get the v3 API's to be exposed.

Reply