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
Copy file name to clipboardExpand all lines: docs/useCases.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ The different use cases currently available in the package are classified below,
11
11
-[Collections](#Collections)
12
12
-[Collections read use cases](#collections-read-use-cases)
13
13
-[Get a Collection](#get-a-collection)
14
+
-[Get Collection Facets](#get-collection-facets)
14
15
-[Collections write use cases](#collections-write-use-cases)
15
16
-[Create a Collection](#create-a-collection)
16
17
-[Datasets](#Datasets)
@@ -100,6 +101,33 @@ The `collectionIdOrAlias` is a generic collection identifier, which can be eithe
100
101
101
102
If no collection identifier is specified, the default collection identifier; `root` will be used. If you want to search for a different collection, you must add the collection identifier as a parameter in the use case call.
102
103
104
+
#### Get Collection Facets
105
+
106
+
Returns the names of the configured collection facets, given a collection identifier or alias.
The `collectionIdOrAlias` is a generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId).
128
+
129
+
If no collection identifier is specified, the default collection identifier; `root` will be used. If you want to search for a different collection, you must add the collection identifier as a parameter in the use case call.
* Returns the names of the configured collection facets, given a collection identifier or alias.
14
+
*
15
+
* @param {number | string} [collectionIdOrAlias = 'root'] - A generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId)
16
+
* If this parameter is not set, the default value is: 'root'
0 commit comments