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
*bimdata.CollaborationApi* | [**getCloudInvitations**](docs/CollaborationApi.md#getCloudInvitations) | **GET** /cloud/{cloud_pk}/invitation | Retrieve all pending invitations in the cloud
235
235
*bimdata.CollaborationApi* | [**getCloudSize**](docs/CollaborationApi.md#getCloudSize) | **GET** /cloud/{id}/size | Get size of all files in the cloud
236
236
*bimdata.CollaborationApi* | [**getCloudUser**](docs/CollaborationApi.md#getCloudUser) | **GET** /cloud/{cloud_pk}/user/{id} | Retrieve a user in a cloud
237
-
*bimdata.CollaborationApi* | [**getCloudUsers**](docs/CollaborationApi.md#getCloudUsers) | **GET** /cloud/{cloud_pk}/user | Retrieve all users in a cloud
237
+
*bimdata.CollaborationApi* | [**getCloudUsers**](docs/CollaborationApi.md#getCloudUsers) | **GET** /cloud/{cloud_pk}/user | Retrieve all users in a cloud, or a list with a filter by email
238
238
*bimdata.CollaborationApi* | [**getClouds**](docs/CollaborationApi.md#getClouds) | **GET** /cloud | Retrieve all clouds
239
239
*bimdata.CollaborationApi* | [**getDocument**](docs/CollaborationApi.md#getDocument) | **GET** /cloud/{cloud_pk}/project/{project_pk}/document/{id} | Retrieve a document
240
240
*bimdata.CollaborationApi* | [**getDocuments**](docs/CollaborationApi.md#getDocuments) | **GET** /cloud/{cloud_pk}/project/{project_pk}/document | Retrieve all documents
*bimdata.CollaborationApi* | [**getProjectSubTree**](docs/CollaborationApi.md#getProjectSubTree) | **GET** /cloud/{cloud_pk}/project/subtree | Retrieve the complete projects tree of the cloud
247
247
*bimdata.CollaborationApi* | [**getProjectTree**](docs/CollaborationApi.md#getProjectTree) | **GET** /cloud/{cloud_pk}/project/{id}/tree | Retrieve the complete DMS tree
248
248
*bimdata.CollaborationApi* | [**getProjectUser**](docs/CollaborationApi.md#getProjectUser) | **GET** /cloud/{cloud_pk}/project/{project_pk}/user/{id} | Retrieve a user in a project
249
-
*bimdata.CollaborationApi* | [**getProjectUsers**](docs/CollaborationApi.md#getProjectUsers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/user | Retrieve all users in a project
249
+
*bimdata.CollaborationApi* | [**getProjectUsers**](docs/CollaborationApi.md#getProjectUsers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/user | Retrieve all users in a project, or a list with a filter by email
250
250
*bimdata.CollaborationApi* | [**getProjects**](docs/CollaborationApi.md#getProjects) | **GET** /cloud/{cloud_pk}/project | Retrieve all projects
251
251
*bimdata.CollaborationApi* | [**getSelfProjects**](docs/CollaborationApi.md#getSelfProjects) | **GET** /user/projects | List current user's projects
252
252
*bimdata.CollaborationApi* | [**getSelfUser**](docs/CollaborationApi.md#getSelfUser) | **GET** /user | Get info about the current user
*bimdata.IfcApi* | [**updateZone**](docs/IfcApi.md#updateZone) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{id} | Update some fields of a zone
388
388
*bimdata.IfcApi* | [**updateZoneSpace**](docs/IfcApi.md#updateZoneSpace) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space/{id} | Update some fields of a space
389
389
*bimdata.SsoApi* | [**acceptInvitation**](docs/SsoApi.md#acceptInvitation) | **POST** /identity-provider/invitation/{id}/accept | Accept an invitation
390
-
*bimdata.SsoApi* | [**deleteUser**](docs/SsoApi.md#deleteUser) | **DELETE** /identity-provider/user | Delete user form BIMData
390
+
*bimdata.SsoApi* | [**deleteUser**](docs/SsoApi.md#deleteUser) | **DELETE** /identity-provider/user | Delete user from BIMData
391
391
*bimdata.SsoApi* | [**denyInvitation**](docs/SsoApi.md#denyInvitation) | **POST** /identity-provider/invitation/{id}/deny | Deny an invitation
392
392
*bimdata.SsoApi* | [**getInvitation**](docs/SsoApi.md#getInvitation) | **GET** /identity-provider/invitation/{id} | Retrieve an invitation
393
393
*bimdata.SsoApi* | [**getInvitations**](docs/SsoApi.md#getInvitations) | **GET** /identity-provider/invitation | Retrieve all invitations
[**getCloudInvitations**](CollaborationApi.md#getCloudInvitations) | **GET** /cloud/{cloud_pk}/invitation | Retrieve all pending invitations in the cloud
33
33
[**getCloudSize**](CollaborationApi.md#getCloudSize) | **GET** /cloud/{id}/size | Get size of all files in the cloud
34
34
[**getCloudUser**](CollaborationApi.md#getCloudUser) | **GET** /cloud/{cloud_pk}/user/{id} | Retrieve a user in a cloud
35
-
[**getCloudUsers**](CollaborationApi.md#getCloudUsers) | **GET** /cloud/{cloud_pk}/user | Retrieve all users in a cloud
35
+
[**getCloudUsers**](CollaborationApi.md#getCloudUsers) | **GET** /cloud/{cloud_pk}/user | Retrieve all users in a cloud, or a list with a filter by email
36
36
[**getClouds**](CollaborationApi.md#getClouds) | **GET** /cloud | Retrieve all clouds
37
37
[**getDocument**](CollaborationApi.md#getDocument) | **GET** /cloud/{cloud_pk}/project/{project_pk}/document/{id} | Retrieve a document
38
38
[**getDocuments**](CollaborationApi.md#getDocuments) | **GET** /cloud/{cloud_pk}/project/{project_pk}/document | Retrieve all documents
[**getProjectSubTree**](CollaborationApi.md#getProjectSubTree) | **GET** /cloud/{cloud_pk}/project/subtree | Retrieve the complete projects tree of the cloud
45
45
[**getProjectTree**](CollaborationApi.md#getProjectTree) | **GET** /cloud/{cloud_pk}/project/{id}/tree | Retrieve the complete DMS tree
46
46
[**getProjectUser**](CollaborationApi.md#getProjectUser) | **GET** /cloud/{cloud_pk}/project/{project_pk}/user/{id} | Retrieve a user in a project
47
-
[**getProjectUsers**](CollaborationApi.md#getProjectUsers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/user | Retrieve all users in a project
47
+
[**getProjectUsers**](CollaborationApi.md#getProjectUsers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/user | Retrieve all users in a project, or a list with a filter by email
48
48
[**getProjects**](CollaborationApi.md#getProjects) | **GET** /cloud/{cloud_pk}/project | Retrieve all projects
49
49
[**getSelfProjects**](CollaborationApi.md#getSelfProjects) | **GET** /user/projects | List current user's projects
50
50
[**getSelfUser**](CollaborationApi.md#getSelfUser) | **GET** /user | Get info about the current user
@@ -1747,11 +1747,11 @@ Name | Type | Description | Notes
1747
1747
1748
1748
## getCloudUsers
1749
1749
1750
-
> [User] getCloudUsers(cloudPk)
1750
+
> [User] getCloudUsers(cloudPk, opts)
1751
1751
1752
-
Retrieve all users in a cloud
1752
+
Retrieve all users in a cloud, or a list with a filter by email
1753
1753
1754
-
Only administrators can see all cloud members Required scopes: cloud:read
1754
+
Only administrators can see cloud members. Required scopes: cloud:read
Copy file name to clipboardExpand all lines: docs/SsoApi.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ All URIs are relative to *https://api.bimdata.io*
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
7
[**acceptInvitation**](SsoApi.md#acceptInvitation) | **POST** /identity-provider/invitation/{id}/accept | Accept an invitation
8
-
[**deleteUser**](SsoApi.md#deleteUser) | **DELETE** /identity-provider/user | Delete user form BIMData
8
+
[**deleteUser**](SsoApi.md#deleteUser) | **DELETE** /identity-provider/user | Delete user from BIMData
9
9
[**denyInvitation**](SsoApi.md#denyInvitation) | **POST** /identity-provider/invitation/{id}/deny | Deny an invitation
10
10
[**getInvitation**](SsoApi.md#getInvitation) | **GET** /identity-provider/invitation/{id} | Retrieve an invitation
11
11
[**getInvitations**](SsoApi.md#getInvitations) | **GET** /identity-provider/invitation | Retrieve all invitations
@@ -72,7 +72,7 @@ null (empty response body)
72
72
73
73
> deleteUser(data)
74
74
75
-
Delete user form BIMData
75
+
Delete user from BIMData
76
76
77
77
NON HANDLED EDGE CASE: The user has been created on the identity provider (exists on the IDP) The user (or an app) has requested an access token (exists on keycloak) But the user has never used the API (doesn't exist on the API) So the API can't delete the user and can't forward the call to keycloak so a zombie user will stay on keycloak
Copy file name to clipboardExpand all lines: src/api/CollaborationApi.js
+42-12Lines changed: 42 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1728,12 +1728,18 @@ export default class CollaborationApi {
1728
1728
1729
1729
1730
1730
/**
1731
-
* Retrieve all users in a cloud
1732
-
* Only administrators can see all cloud members Required scopes: cloud:read
1731
+
* Retrieve all users in a cloud, or a list with a filter by email
1732
+
* Only administrators can see cloud members. Required scopes: cloud:read
1733
1733
* @param {String} cloudPk
1734
+
* @param {Object} opts Optional parameters
1735
+
* @param {String} opts.email Filter the returned list by email
1736
+
* @param {String} opts.emailContains Filter the returned list by email__contains
1737
+
* @param {String} opts.emailStartswith Filter the returned list by email__startswith
1738
+
* @param {String} opts.emailEndswith Filter the returned list by email__endswith
1734
1739
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/User>} and HTTP response
1735
1740
*/
1736
-
getCloudUsersWithHttpInfo(cloudPk){
1741
+
getCloudUsersWithHttpInfo(cloudPk,opts){
1742
+
opts=opts||{};
1737
1743
letpostBody=null;
1738
1744
// verify the required parameter 'cloudPk' is set
1739
1745
if(cloudPk===undefined||cloudPk===null){
@@ -1744,6 +1750,10 @@ export default class CollaborationApi {
1744
1750
'cloud_pk': cloudPk
1745
1751
};
1746
1752
letqueryParams={
1753
+
'email': opts['email'],
1754
+
'email__contains': opts['emailContains'],
1755
+
'email__startswith': opts['emailStartswith'],
1756
+
'email__endswith': opts['emailEndswith']
1747
1757
};
1748
1758
letheaderParams={
1749
1759
};
@@ -1762,13 +1772,18 @@ export default class CollaborationApi {
1762
1772
}
1763
1773
1764
1774
/**
1765
-
* Retrieve all users in a cloud
1766
-
* Only administrators can see all cloud members Required scopes: cloud:read
1775
+
* Retrieve all users in a cloud, or a list with a filter by email
1776
+
* Only administrators can see cloud members. Required scopes: cloud:read
1767
1777
* @param {String} cloudPk
1778
+
* @param {Object} opts Optional parameters
1779
+
* @param {String} opts.email Filter the returned list by email
1780
+
* @param {String} opts.emailContains Filter the returned list by email__contains
1781
+
* @param {String} opts.emailStartswith Filter the returned list by email__startswith
1782
+
* @param {String} opts.emailEndswith Filter the returned list by email__endswith
1768
1783
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/User>}
@@ -2381,13 +2396,19 @@ export default class CollaborationApi {
2381
2396
2382
2397
2383
2398
/**
2384
-
* Retrieve all users in a project
2399
+
* Retrieve all users in a project, or a list with a filter by email
2385
2400
* Each member of a project can see other members of the project Required scopes: cloud:read
2386
2401
* @param {String} cloudPk
2387
2402
* @param {String} projectPk
2403
+
* @param {Object} opts Optional parameters
2404
+
* @param {String} opts.email Filter the returned list by email
2405
+
* @param {String} opts.emailContains Filter the returned list by email__contains
2406
+
* @param {String} opts.emailStartswith Filter the returned list by email__startswith
2407
+
* @param {String} opts.emailEndswith Filter the returned list by email__endswith
2388
2408
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/User>} and HTTP response
Copy file name to clipboardExpand all lines: src/api/SsoApi.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ export default class SsoApi {
85
85
86
86
87
87
/**
88
-
* Delete user form BIMData
88
+
* Delete user from BIMData
89
89
* NON HANDLED EDGE CASE: The user has been created on the identity provider (exists on the IDP) The user (or an app) has requested an access token (exists on keycloak) But the user has never used the API (doesn't exist on the API) So the API can't delete the user and can't forward the call to keycloak so a zombie user will stay on keycloak
90
90
* @param {module:model/SelectUser} data
91
91
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -118,7 +118,7 @@ export default class SsoApi {
118
118
}
119
119
120
120
/**
121
-
* Delete user form BIMData
121
+
* Delete user from BIMData
122
122
* NON HANDLED EDGE CASE: The user has been created on the identity provider (exists on the IDP) The user (or an app) has requested an access token (exists on keycloak) But the user has never used the API (doesn't exist on the API) So the API can't delete the user and can't forward the call to keycloak so a zombie user will stay on keycloak
123
123
* @param {module:model/SelectUser} data
124
124
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
0 commit comments