How to get the Octopus all Artifactory Package version and Package names

Hi,

I want to get all the Octopus Artifacts Package names and versions using API,
I don’t find any API’s
could you help me how to get the API.

Hi @QT4A and welcome to the forums,

Unfortunately, as Artifactory isn’t part of Octopus Deploy, we won’t have an Octopus api endpoint that will access the Artifactory feed. Most (if not, all) of our integrations are built around using the 3rd party tools API. In this case the way that Octopus would integrate with artifactory would be using Artifactory’s API calls or Artifactory’s specific API calls for the feed that it provides. Whenever you use a Feed that is connected to Octopus, Octopus interrogates the feed in realtime - nothing about the results returned from the feed are cached.

You should look at Artifactorys API endpoints. From a quick Google, you might consider starting here:
https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-ArtifactSearch(QuickSearch)

If you wanted to move your feed to the Built-in Octopus Feed, you can get a list of all of the packages available to you, using this url:
https://<Octopus_Instance>/api/<Space-ID>/Packages

I found the above URL by viewing all of my API endpoints:
https://<Octopus_Instance>/api/

I hope this points you in the right direction.

Let me know if I can help further.

Regards,

Dane

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.