Hey team, I noticed that a lot of the API documentation still links to developer.bettercloud.co...

  • 27 April 2020
  • 8 replies
  • 9 views

Badge +1

Hey team, I noticed that a lot of the API documentation still links to developer.bettercloud.com should there be feature parity with the new “integration center”? Specifically I’m wondering about pre-request scripts…have they been deprecated for BC API calls? I can’t find a place to create one



🗨 Link to Slack thread

8 replies

Userlevel 5
Badge +2

Hey @gillenb, yes all of these live in the Integrations Center now. You can create them via the Extensions section: https://screenshots.bettercloud.com/NQuD12rx

Userlevel 5
Badge +2

and then tie them to an action via: https://screenshots.bettercloud.com/mXuB6k5d

Badge +1

Ah okay great. Thanks for that. The API docs mention that I can execute a pre-req script when calling the Execute Action API. Is that possible as well? Do you know what the value of the BC-Transform-ID would be in this case?

Userlevel 5
Badge +2

Yep! The BC-Transform-ID would be the ID of the Pre-Request

Userlevel 5
Badge +2

so when running the action, it would first run the pre-request based off the ID you pass in and then run the action based on the data passed via the callback

Userlevel 5
Badge +2

@jb.lovell let me know if I missed anything 🙂

Badge +1

Cool good to know this is still supported. Thanks @mikestone-bettercloud. So I’m assuming in order to create a pre-request I need to first create a dummy integration? In this case, I’m not connecting BC to any external service. Instead I’m passing data into BC with an API call and I want to handle the incoming data with a script

Userlevel 5
Badge +2

Yep, that’s right. You’ll need to create a dummy integratio

Reply