Skip to content

Support usage of versioned API paths #112

@dvaccarosenna

Description

@dvaccarosenna

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:

  • each release of lmctl will use the latest version of the API at the time
  • we provide an option to specify the version of the API the user would like to use

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions