anancarv / python-artifactory

Typed interactions with the Jfrog Artifactory REST API
MIT License
60 stars 51 forks source link

Remote Artifactory Version #196

Closed ManiAm closed 1 month ago

ManiAm commented 1 month ago

How can I get the remote antifactory version upon connect. Is there any APIs to do that?

anancarv commented 1 month ago

How can I get the remote antifactory version upon connect. Is there any APIs to do that?

Hey @ManiAm, by default the API version is 1 (See README). You can set the desired api_version when creating the Artifactory object using the param api_version. However, as written in the README it will only be used for the permissions management. Feel free to propose a new MR for allowing it to other resources