In the new Smithed Redesign website there's an extra filtering option for filtering out / excluding parameters. (It was discussed during a weekly Smithed Town Hall on discord).
That would require the addition of 2 new queries: no_category and no_version.
/*
* @route GET /packs
* Get a list of packs which meet the specified criteria
*
* ...
*
* @query category: PackCategory[]?
* Which categories should the pack be a part of
*
* @query no_category: PackCategory[]? <--- NEW
* Which categories must the pack not be a part of
*
* @query version: MinecraftVersion[]?
* Which versions should the pack support
*
* @query no_version: MinecraftVersion[]? <--- NEW
* Which versions must the pack not support
*
* ...
*/
It's important to note, that no_version isn't necessary from UX point of view (there aren't many uses for it, if any). However it is there for consistency (assuming it's not too complicated to implement).
In the new Smithed Redesign website there's an extra filtering option for filtering out / excluding parameters. (It was discussed during a weekly Smithed Town Hall on discord).
That would require the addition of 2 new queries:
no_categoryandno_version.It's important to note, that
no_versionisn't necessary from UX point of view (there aren't many uses for it, if any). However it is there for consistency (assuming it's not too complicated to implement).