You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 45a1ad5
Browse filesBrowse the repository at this point in the historyBrowse files
Origin-SHA: 9d2722bd9a483bb8d76d9e290c3094ca172e1c3b
### Minor Changes
- 92926ec: Add the collection group NFT search and facets endpoints (`GET /api/v2/nfts/group/{group}` and `GET /api/v2/nfts/group/{group}/facets`), which search NFTs across every collection in a group, such as `trading_cards`, by normalized attributes (franchise, grader, grade, subject, year, set, language, edition, product type).
In the SDK, `api.nfts.getNFTsByGroup(group, args?)` and `api.nfts.getNFTGroupFacets(group, args?)` take `GetNFTsByGroupArgs` and `GetNFTGroupFacetsArgs` and return `GetNFTsByGroupResponse` and `GetNFTGroupFacetsResponse`. Attribute filters are string arrays sent as repeated query parameters, since a comma-joined value is matched as one literal.
In the CLI, `opensea nfts list-by-group <group>` and `opensea nfts group-facets <group>` take repeatable attribute flags (`--grader PSA --grader CGC`), and the programmatic client gains `nfts.listByGroup` and `nfts.groupFacets`. The CLI HTTP client now sends an array query value as repeated parameters instead of `String(array)`. No existing command passed an array; they join comma-separated values themselves.
### Patch Changes
- Updated dependencies [92926ec]
- @opensea/sdk@12.12.0
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,20 @@
1
1
# @opensea/cli
2
2
3
+
## 2.12.0
4
+
5
+
### Minor Changes
6
+
7
+
- 92926ec: Add the collection group NFT search and facets endpoints (`GET /api/v2/nfts/group/{group}` and `GET /api/v2/nfts/group/{group}/facets`), which search NFTs across every collection in a group, such as `trading_cards`, by normalized attributes (franchise, grader, grade, subject, year, set, language, edition, product type).
8
+
9
+
In the SDK, `api.nfts.getNFTsByGroup(group, args?)` and `api.nfts.getNFTGroupFacets(group, args?)` take `GetNFTsByGroupArgs` and `GetNFTGroupFacetsArgs` and return `GetNFTsByGroupResponse` and `GetNFTGroupFacetsResponse`. Attribute filters are string arrays sent as repeated query parameters, since a comma-joined value is matched as one literal.
10
+
11
+
In the CLI, `opensea nfts list-by-group <group>` and `opensea nfts group-facets <group>` take repeatable attribute flags (`--grader PSA --grader CGC`), and the programmatic client gains `nfts.listByGroup` and `nfts.groupFacets`. The CLI HTTP client now sends an array query value as repeated parameters instead of `String(array)`. No existing command passed an array; they join comma-separated values themselves.
`--include-auto-hidden` also returns NFTs hidden automatically because a third party minted or sent them to the account. NFTs the holder hid themselves stay hidden, and NFTs removed for policy violations are not returned.
183
185
186
+
`list-by-group` searches every collection in a group, such as `trading_cards`, by normalized attributes. The attribute flags, `--collection-slug` and `--facet-type` are repeatable: values of one flag match any of them, and different flags are AND-combined. Use `group-facets` to discover the values and their counts.
0 commit comments