api-preview-0.3
This update introduces:
- Formats
- Card Pools
- Restrictions (MWL/Ban lists)
- Snapshots (particular combinations of the three above)
- Card & Printing Search
- More filters for specific fields in existing objects
The search functionality is invoked with a filter value called 'search' on the cards and printing APIs like the following:
https://api-preview.netrunnerdb.com/api/v3/public/cards?filter[search]=is_banned:true%20restriction_id:standard_ban_list_20_09%20t:operation%20f:nbn%20card_pool:rotation_2020
https://api-preview.netrunnerdb.com/api/v3/public/cards?filter[search]=card_pool:rotation_2022%20t:corp_identity%20f:jinteki%20restriction_id:standard_ban_list_22_08%20is_banned:false
https://api-preview.netrunnerdb.com/api/v3/public/printings?filter[search]=illustrator:Zeilinger
https://api-preview.netrunnerdb.com/api/v3/public/printings?filter[search]=r:2022-07-22
What's Changed
- Update rails to 7.0.3.1 to fix dependabot issue 15. by @plural in #72
- Change snapshot resource relationship to fix warning. by @plural in #73
- Restriction format view by @plural in #74
- Make unique index on card_pools_cards. by @plural in #75
- Initial Version of Card Search filter by @plural in #71
- Rename search to card_search in prep for adding printing support. by @plural in #76
- adding getting started section to readme by @thrazznos in #77
- Printing search by @plural in #78
New Contributors
- @thrazznos made their first contribution in #77
Full Changelog: api-preview-0.2...api-preview-0.3