Project

Profile

Help

Issue #3946

closed

Syncing from Galaxy is not working

Added by daviddavis about 6 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
3. High
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 42
Quarter:

Description

It looks like some fields were renamed in the Galaxy API. From the Galaxy team:

Change the namespace query referenced in your email to: "https://galaxy.ansible.com/api/v1/roles/?namespace\_\_name=ansible". Namespace is now an object in galaxy, so it has an id, description, name, and other attributes that you can query.

There is no longer a 'num_pages' value returned in the response object. We return the number of results as 'count', so you can do something like, "math.ceil(float(count)/float(page_size))", in Python to calc the number of pages.

Also available in: Atom PDF