Currently the SDK defaults to using v1 version of API, and it directly adds the prefix v1 to all endpoints.
But some endpoints don't use v1 prefix, due to which we can't use those endpoints with current implementation, for example - api/apps/actionbuttons, here the api version is apps
This PR allows passing the api version of your choice, and defaults to v1 api version, which shouldn't break existing things.
Currently the SDK defaults to using
v1
version of API, and it directly adds the prefixv1
to all endpoints.But some endpoints don't use
v1
prefix, due to which we can't use those endpoints with current implementation, for example -api/apps/actionbuttons
, here the api version isapps
This PR allows passing the api version of your choice, and defaults to
v1
api version, which shouldn't break existing things.RCAI-27