Re: Package version via REST API

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

 



Brendan Early wrote:
> Vasco Gervasi wrote:
>> 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).
>>
> Have you tried using https://mdapi.fedoraproject.org/? For
> latest you would specify the rawhide branch.

Somehwat unrelated, but is it intentional that the branch
entry in mdapi for f36 does not match the others?

    $ curl -sS https://mdapi.fedoraproject.org/branches |
        jq -r '.[] | select(. | startswith("f"))'
    f28
    f29
    f30
    f31
    f32
    f33
    f34
    f35
    fc36

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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