Skip to main content
Under Consideration

Automatic API Code Generation

  • August 20, 2021
  • 3 replies
  • 38 views

A lot of functionality in NetBrain can be handled using Python or cURL code. To make handling the code easier it would be great if NB could generate the code for a function for the user to work on.

Examples

  • log in, set tenant and domain of the currently used credentials
  • for any map, provide the code to export the map as Visio
  • for a discovery, recreate this discovery as Python code

This is similar to the code provided already to use a certain API stub.

3 replies

  • New Participant
  • 1 reply
  • August 31, 2021

An API browser built into the API would be awesome for this.  Something similar to what Cisco did with vManage, where you navigate the API tree and the browser has a built in test button for each endpoint in the API.  Build your queries in the browser and copy them over to your script.


Forum|alt.badge.img
  • Known Participant
  • 26 replies
  • September 8, 2021
Updated idea statusOpenNot Planned

Forum|alt.badge.img
  • Known Participant
  • 26 replies
  • October 6, 2021
Updated idea statusOpenUnder Consideration