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
The `collectionIdOrAlias` is a generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId).
93
+
94
+
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 a Collection instance, given the search parameters to identify it.
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'
@@ -61,7 +61,7 @@ export abstract class ApiRepository {
61
61
switch(ApiConfig.dataverseApiAuthMechanism){
62
62
caseDataverseApiAuthMechanism.SESSION_COOKIE:
63
63
/*
64
-
We set { withCredentials: true } to send the JSESSIONID cookie in the requests for API authentication.
64
+
We set { withCredentials: true } to send the JSESSIONID cookie in the requests for API authentication.
65
65
This is required, along with the session auth feature flag enabled in the backend, to be able to authenticate using the JSESSIONID cookie.
66
66
Auth mechanisms like this are configurable to set the one that fits the particular use case of js-dataverse. (For the SPA MVP, it is the session cookie API auth).
0 commit comments