Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Changes #1160

Merged
merged 1 commit into from
Dec 17, 2018
Merged

API Changes #1160

merged 1 commit into from
Dec 17, 2018

Conversation

dralley
Copy link
Contributor

@dralley dralley commented Dec 17, 2018

The schema looks like this:

"_content": {
"file": "/pulp/api/v3/content/file/files/?repository_version=..."
},
"_content_added": {
"file": "/pulp/api/v3/content/file/files/?repository_version_added=..."
},
"_content_removed": {}

Change the get_*content() functions to return a dictionary of types
matched to the respective list of content of that type.

Fix the get_artifact_paths() function to use those new functions
properly.

The schema looks like this:

"_content": {
    "file": "/pulp/api/v3/content/file/files/?repository_version=..."
},
"_content_added": {
    "file": "/pulp/api/v3/content/file/files/?repository_version_added=..."
},
"_content_removed": {}

Change the get_*content() functions to return a dictionary of types
matched to the respective list of content of that type.

Fix the get_artifact_paths() function to use those new functions
properly.
@dralley dralley changed the title Content URLs are now separated by type API Changes Dec 17, 2018
@nixocio
Copy link

nixocio commented Dec 17, 2018

See: #1154

The previous PR was reverted since it was composed by 2 commits.

@nixocio nixocio merged commit 1527728 into pulp:master Dec 17, 2018
@dralley dralley deleted the api-changes branch December 17, 2018 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants