Issue ID:
Type
Bug
Title:
FIX: [Universal package API] Fix empty group behavior, add support for * query on group
Created:
10/31/2023 6:57:06 AM by Alana Tripp
Status:
Awaiting Release on
Last pulled:
11/10/2023 9:42:57 PM
Description:
Note this is somewhat a continuation of PG-2432... Add this note to the docs: *NOTE: When querying with only the `name` parameter, only packages without a group will be returned. To return packages regardless of group name, specify `*` for the group name.* Here are some usage examples... ``` GET /upack/«feed-name»/packages?group=«group»&name=«name»&count=«count» # Default (top 1000 packages): /upack/dev-feed/packages # Packages with the MyGroup group specified /upack/dev-feed/packages?group=MyGroup # Packages with no group name specified /upack/dev-feed/packages?group= # Packages with group/name of MyGroup/MyName /upack/dev-feed/packages?group=MyGroup&name=MyName # Packages with group/name of (empty)/MyName /upack/dev-feed/packages?group=&name=MyName /upack/dev-feed/packages?name=MyName # Packages with name of MyName in any group /upack/dev-feed/packages?group=*&name=MyName ```