Project

Profile

Help

Story #5519

closed

Story #5517: [EPIC] Automation Hub Release Blockers

As an API user, I have an 'exclude' field that is the opposite of the 'fields' parameter

Added by bmbouter about 5 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Problem

Currently Pulp provides a 'fields' parameter. The want to exclude the one or two large fields, e.g. docs blobs and include all others which causes their query to look like:

http://localhost:5002/pulp/api/v3/content/ansible/collection_versions/?is_highest=True&offset=0&limit=10&fields=artifact,id,authors,description,documentation,homepage,issues,is_certified,license,name,namespace,repository,version,contents

Solution

Adding an 'excludes' parameter that is the opposite of the 'fields' parameter would make it much easier for clients who only want to exclude a small set of params.

Also available in: Atom PDF