How to download Azure artifact from Universal package type via rest api

Fuchs, Max [ext] 0 Reputation points
2023-08-17T12:35:37.5166667+00:00

Hello,

i would like to download an build artifact from an feed that was published with a pipeline. It is an universal package in .zip format. Is there a way to download this artifact using only the rest api , as we can not use the Azure cli. I have only found example GET request for Python, Maven etc. packages.

Best Max

Community Center | Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. AirGordon 7,150 Reputation points
    2023-08-17T12:44:35.3133333+00:00

    Can you provide some context as to why you need it via a API call rather than with the UniversalPackage task?

    If you do need to orchestrate the download in more of a script environment (powershell/bash) - I'd suggest looking at the AZ DEVOPS CLI.

    The DevOps CLI provides a really nice wrapper for the popular API's.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.