Package version via REST API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I would to query the available version (ideally just the latest) for a specific package and fedora release via a REST API call (not dnf).

I have tried this:
```
curl --silent "https://bodhi.fedoraproject.org/updates/?packages=make&releases=f35";
curl --silent "https://bodhi.fedoraproject.org/updates/?packages=bash-completion&releases=f35";
```

It works for some packages (i.e. `make`, `fzf`) but not others (i.e. `bash-completion`).
I am not sure what is the difference between `bodhi.fedoraproject.org` and `packages.fedoraproject.org`.

Any ideas?

Thanks
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux