import requests
url = 'https://your-artifactory-url.com/api/storage/archive-repo/archive-folder'
response = requests.get(url)
if response.status_code == 200:
    archive_data = response.json()
    entries = archive_data['children']
    for entry in entries:
        print(entry['uri'])
else:
    print('Failed to get archive data')
import requests
url = 'https://your-artifactory-url.com/api/storage/archive-repo/archive-folder'
response = requests.get(url)
if response.status_code == 200:
    archive_data = response.json()
    entries = archive_data['children']
    for entry in entries:
        if entry['uri'].endswith('.zip'):
            print(entry['uri'])
else:
    print('Failed to get archive data')
这段代码将仅输出以' .zip”结尾的文件。根据你的需要进行更改。