API Connect

 View Only
  • 1.  Doing automation using REST APIs

    Posted Fri June 09, 2023 10:17 AM

    Hi #community

    are there any references for doing automation using these REST APIs via Git or anything?

    Thanks



    ------------------------------
    Stefen Salvatore
    ------------------------------


  • 2.  RE: Doing automation using REST APIs

    Posted Wed June 14, 2023 02:28 AM

    The APIs available are very extensive and can be found here https://apic-api.apiconnect.ibmcloud.com/v10/#/documentation/introduction

    How I usually do it is walk through the steps in the UI with the browsers developer tools open, that way you get an idea (the path structure is similar) of what APIs to call and a possible format of the request bodies.



    ------------------------------
    Tom van Oppens
    ------------------------------



  • 3.  RE: Doing automation using REST APIs

    IBM Champion
    Posted Wed June 14, 2023 07:38 PM

    Hi,
    an alternative option to what @Tom van Oppens  indicates is using the --debug flag with the toolkit commands. This will show the sequence of rest api calls made.

    Some starter samples of how to use toolkit command/rest api's are also present in https://github.com/ibm-apiconnect/example-toolkit-scripts. (credits to Ravi Ramnarayan, Eric Fan)



    ------------------------------
    Jeroen Willems
    Integration Architect - Managing Partner
    Integration Designers
    ------------------------------