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: components/org.wso2.carbon.identity.api.server.organization.user.sharing.management/org.wso2.carbon.identity.api.server.organization.user.sharing.management.common/src/main/java/org/wso2/carbon/identity/api/server/organization/user/sharing/management/common/constants/UserSharingMgtConstants.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,13 @@ public enum ErrorMessage {
66
66
"Invalid user share patch request body.",
67
67
"The user share patch request body is either null or empty. " +
68
68
"Please provide a valid user share patch request body."),
69
+
ERROR_MISSING_USER_CRITERIA("60006",
70
+
"Missing user criteria in the request body.",
71
+
"The user criteria is missing in the request body. Please provide the user criteria to proceed."),
72
+
ERROR_UNSUPPORTED_USER_SHARE_PATCH_PATH("60007",
73
+
"Unsupported user share patch path.",
74
+
"The provided patch path to update attributes of shared user is not supported. " +
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.api.server.organization.user.sharing.management/org.wso2.carbon.identity.api.server.organization.user.sharing.management.v2/src/gen/java/org/wso2/carbon/identity/api/server/organization/user/sharing/management/v2/UsersApi.java
publicResponsegetUserSharedOrganizations(@ApiParam(value = "The ID of the user.",required=true) @PathParam("userId") StringuserId, @Valid@ApiParam(value = "Base64 encoded cursor value for backward pagination.") @QueryParam("before") Stringbefore, @Valid@ApiParam(value = "Base64 encoded cursor value for forward pagination.") @QueryParam("after") Stringafter, @Valid@ApiParam(value = "Condition to filter the retrieval of records. Supports `sw`, `co`, `ew`, and `eq` operations.") @QueryParam("filter") Stringfilter, @Valid@ApiParam(value = "Maximum number of records to return. If you do not specify this parameter, this will return all shared organizations.") @QueryParam("limit") Integerlimit, @Valid@ApiParam(value = "Determines whether a recursive search should happen. If set to true, includes shared organizations in all levels of the hierarchy; if set to false, includes only shared organizations in the next level of the hierarchy.") @QueryParam("recursive") Booleanrecursive, @Valid@ApiParam(value = "Specifies the required parameters in the response. Supported values: `roles`, `sharingMode`.", allowableValues="sharingMode") @QueryParam("attributes") Stringattributes) {
64
+
publicResponsegetUserSharedOrganizations(@ApiParam(value = "The ID of the user.",required=true) @PathParam("userId") StringuserId, @Valid@ApiParam(value = "Base64 encoded cursor value for backward pagination.") @QueryParam("before") Stringbefore, @Valid@ApiParam(value = "Base64 encoded cursor value for forward pagination.") @QueryParam("after") Stringafter, @Valid@ApiParam(value = "Condition to filter the retrieval of records. Supports `sw`, `co`, `ew`, and `eq` operations.") @QueryParam("filter") Stringfilter, @Valid@ApiParam(value = "Maximum number of records to return. If you do not specify this parameter, this will return all shared organizations.") @QueryParam("limit") Integerlimit, @Valid@ApiParam(value = "Determines whether a recursive search should happen. If set to true, includes shared organizations in all levels of the hierarchy; if set to false, includes only shared organizations in the next level of the hierarchy.") @QueryParam("recursive") Booleanrecursive, @Valid@ApiParam(value = "Specifies the required parameters in the response. Supported values: `roles`, `sharingMode`.") @QueryParam("attributes") Stringattributes) {
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.api.server.organization.user.sharing.management/org.wso2.carbon.identity.api.server.organization.user.sharing.management.v2/src/main/java/org/wso2/carbon/identity/api/server/organization/user/sharing/management/v2/core/UsersApiServiceCore.java
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.api.server.organization.user.sharing.management/org.wso2.carbon.identity.api.server.organization.user.sharing.management.v2/src/main/java/org/wso2/carbon/identity/api/server/organization/user/sharing/management/v2/impl/UsersApiServiceImpl.java
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.api.server.organization.user.sharing.management/org.wso2.carbon.identity.api.server.organization.user.sharing.management.v2/src/main/resources/organization-user-share-v2.yaml
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -384,12 +384,10 @@ paths:
384
384
required: false
385
385
schema:
386
386
type: string
387
-
enum:
388
-
- sharingMode
387
+
example: "roles"
389
388
description: |-
390
389
Specifies the required parameters in the response.
391
390
Supported values: `roles`, `sharingMode`.
392
-
example: "roles"
393
391
responses:
394
392
"200":
395
393
description: Successful response with the user's shared organizations.
0 commit comments