IBM / lmctl

Cloud Pak for Network Automation (CP4NA) (previously ALM/TNCO) command line tool
Apache License 2.0
4 stars 19 forks source link

Support usage of versioned API paths #112

Open dvaccarosenna opened 2 years ago

dvaccarosenna commented 2 years ago

CP4NA now features versioned paths (e.g. /api/v1/). We should update the lmctl client to use the versioned paths.

Unversioned paths are still supported so this change is not urgent.

Consideration needs to be given to how we will handle multiple versions of the same API moving forward. Either:

In addition, it may be useful if lmctl attempts to detect the version of the API supported by any given CP4NA environment.