Skip to content

Commit 9fa845e

Browse files
authored
Merge pull request #85 from adobe-apiplatform/CTIR-20161
Add documentation for excludeGroups query parameter
2 parents 5cf62c6 + 5b75c32 commit 9fa845e

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

docs/en/api/getUsersByGroup.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ __Throttle Limits__: Maximum 25 requests per minute per a client. See [Throttlin
3636
| X-Request-Id | header | false | {% include_relative partials/requestIdDescription.md %} |
3737
| directOnly | query | false | {% include_relative partials/directOnlyDescription.md %} |
3838
| status | query | false | For product profiles only, return only active or inactive members. Pass `active` to list users that have been provisioned for the product and have an active license. Pass `inactive` to list users who have been added to the product profile but do not have an _active_ license. When not provided, lists all member users regardless of their entitlement status.|
39+
| excludeGroups | query | false | Default value is `false`. When `true` is passed the response will exclude the `groups` array from being returned for each individual user. See [example](#getUsersWithNoGroupsExample). |
3940
{:.bordertablestyle}
4041

4142
## <a name="responses" class="api-ref-subtitle">Responses</a>
@@ -118,6 +119,46 @@ A successful request returns a response body with the requested user data in JSO
118119
}
119120
```
120121

122+
<a name="getUsersWithNoGroupsExample" class="api-ref-subtitle">Response returning three members of the Document Cloud 1 group. The `groups` array for each user has been excluded in the response as the query parameter `excludeGroups=true` was included:</a>
123+
124+
```json
125+
{
126+
"lastPage": false,
127+
"result": "success",
128+
"groupName": "Document Cloud 1",
129+
"users": [
130+
{
131+
"email": "[email protected]",
132+
"status": "active",
133+
"username": "john",
134+
"domain": "example.com",
135+
"country": "US",
136+
"type": "federatedID",
137+
"tags": [
138+
"edu_student"
139+
]
140+
},
141+
{
142+
"email": "[email protected]",
143+
"status": "active",
144+
"username": "jane",
145+
"domain": "example.com",
146+
"country": "US",
147+
"type": "federatedID"
148+
},
149+
{
150+
"email": "[email protected]",
151+
"status": "active",
152+
"username": "bob",
153+
"domain": "example.com",
154+
"country": "US",
155+
"type": "federatedID"
156+
}
157+
...
158+
]
159+
}
160+
```
161+
121162
<a name="getUsersExampleLastPage" class="api-ref-subtitle">Response to request for the last page:
122163

123164
```json

docs/en/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ Welcome to the documentation center for User Management APIs from Adobe.
1111

1212
News:
1313
<div class="isa_info">
14+
<p>From Jan 16th 2024, a new query parameter <code>excludeGroups</code> will be available in <a href="api/getUsersByGroup.html">Get Users by Group</a> to exclude the return of other group membership information for each user.</p>
15+
<p>Further information and examples can be found within the API documentation.</p>
16+
<p>This does not impact existing clients.</p>
17+
<hr class="api-ref-rule">
1418
<p>From July 25th 2023, a new tags property will be returned as part of a user's response in the following APIs:</p>
1519
<ul>
1620
<li><a href="api/getUser.html">Get User Information</a></li>

0 commit comments

Comments
 (0)