Actions
Story #7941
closedTask #7938: [EPIC] As a user, I have improved Galaxy V3 sync performance
As a user, I have a new v3/metadata/collection_versions/ endpoint returning all collection_versions unpaginated
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
For example when the user requests this: /pulp_ansible/galaxy/<path:path>/api/v3/metadata/collection_versions/
They will receive this:
[{
"version": "string",
"href": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"artifact": "string",
"collection": {
"id": "string",
"name": "string",
"href": "string"
},
"download_url": "string",
"name": "string",
"namespace": {
"name": "string"
},
"metadata": {
"authors": [],
"contents": {},
"dependencies": {},
"description": "string",
"documentation": "string",
"homepage": "string",
"issues": "string",
"license": [],
"repository": "string",
"tags": []
}
},
...,
{
"version": "string",
"href": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"artifact": "string",
"collection": {
"id": "string",
"name": "string",
"href": "string"
},
"download_url": "string",
"name": "string",
"namespace": {
"name": "string"
},
"metadata": {
"authors": [],
"contents": {},
"dependencies": {},
"description": "string",
"documentation": "string",
"homepage": "string",
"issues": "string",
"license": [],
"repository": "string",
"tags": []
}
}]
This is the same data as returned by the existing collection-version-detail endpoint except:
- It does not paginate
- It is all aggregated into a single response, so it's really a list view.
- It does not contain the
links
andresults
portion of the response ... just the list of serialized collections.
Related issues
Actions
New endpoint - all collection versions unpaginated
https://pulp.plan.io/issues/7941 closes #7941
(cherry picked from commit 0db524e54470c4ed6ccf342de49b1fc1cb52aa45)