Commit 1884091
Add includesOwnedAudienceGroups Parameter to Audience API (#1602)
line/line-openapi#105
# Enhancement to Shared Audiences API
This PR introduces a new query parameter `includesOwnedAudienceGroups`
to the `/v2/bot/audienceGroup/shared/list` endpoint in the Business
Manager API. This enhancement allows users to specify whether to include
audience groups owned by the user in the response.
## Changes Made
- Added the `includesOwnedAudienceGroups` parameter to the API endpoint.
- **Type**: Boolean
- **Default**: false
- **Description**:
- `true`: Include audience groups owned by the LINE Official Account
Manager.
- `false`: Respond only with audience groups shared by Business Manager.
- Removed the `/v2/bot/audienceGroup/{audienceGroupId}/activate` and
`/v2/bot/audienceGroup/authorityLevel` endpoints.
## Purpose
This update provides more flexibility in retrieving audience groups by
allowing users to filter based on ownership. It is especially useful for
users who manage both shared and owned audience groups. The removal of
certain endpoints is part of a cleanup effort to streamline the API.
Please review the changes and let me know if there are any questions or
further modifications needed.
## Documents and Reference
- [Get List of Shared
Audiences](https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list)
- [Removed
Endpoints](https://developers.line.biz/en/news/2025/03/26/cross-targeting-closing/)
For more information, please refer to the links provided above.
Co-authored-by: github-actions <[email protected]>1 parent 2d4a174 commit 1884091
File tree
6 files changed
+6
-198
lines changed- clients/line-bot-manage-audience-client
- .openapi-generator
- src/main/java/com/linecorp/bot/audience
- client
- model
6 files changed
+6
-198
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | | - | |
32 | 29 | | |
Lines changed: 5 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 47 | | |
61 | 48 | | |
62 | 49 | | |
| |||
128 | 115 | | |
129 | 116 | | |
130 | 117 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 118 | | |
142 | 119 | | |
143 | 120 | | |
| |||
194 | 171 | | |
195 | 172 | | |
196 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
197 | 177 | | |
198 | 178 | | |
199 | 179 | | |
| |||
204 | 184 | | |
205 | 185 | | |
206 | 186 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
| 187 | + | |
| 188 | + | |
219 | 189 | | |
220 | 190 | | |
221 | 191 | | |
| |||
Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 0 additions & 55 deletions
This file was deleted.
Lines changed: 0 additions & 55 deletions
This file was deleted.
Submodule line-openapi updated 1 file
0 commit comments