Hi,

I found that I have to retrieve
"/pulp/api/v2/repositories/<repo_id>/distributors/" for this.

It also works if I retrieve "
/pulp/api/v2/repositories/<repo_id>/?details=1"


Cristian,


On Fri, Jun 19, 2015 at 11:25 AM, Cristian Falcas <cristi.fal...@gmail.com>
wrote:

> Hello,
>
> I'm trying to get detailed information about repositories via api, but I
> can't find how to do it.
>
> A normal call returns this:
>
> ["scratchpad", {"checksum_type"=>"sha256"}]
> ["display_name", "scl_ruby193_el6"]
> ["description", nil]
> ["last_unit_added", "2015-05-30T02:40:08Z"]
> ["notes", {"_repo-type"=>"rpm-repo"}]
> ["last_unit_removed", nil]
> ["content_unit_counts", {"srpm"=>64, "rpm"=>146}]
> ["_ns", "repos"]
> ["_id", {"$oid"=>"5568841e7fdc0c13fae3a491"}]
> ["id", "scl_ruby193_el6"]
> ["_href", "/pulp/api/v2/repositories/scl_ruby193_el6/"]
>
>
> I would also like to retrieve stuff like feed, verify_feed_ssl,
> remove_missing and other attributes.
>
> Best regards,
> Cristian Falcas
>
>
_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to