Skip to content

Add includesOwnedAudienceGroups Parameter to Audience API #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 21, 2025

Conversation

asari-mtr
Copy link
Contributor

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

For more information, please refer to the links provided above.

Copy link

NODEJS

You can check generated code in nodejs

Check the diff here

Copy link

JAVA

You can check generated code in java

Check the diff here

Copy link

PYTHON

You can check generated code in python

Check the diff here

Copy link

GO

You can check generated code in go

Check the diff here

Copy link

PHP

You can check generated code in php

Check the diff here

@Yang-33 Yang-33 linked an issue Apr 21, 2025 that may be closed by this pull request
@Yang-33 Yang-33 requested a review from eucyt April 21, 2025 02:54
Copy link
Contributor

@eucyt eucyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@eucyt eucyt added this pull request to the merge queue Apr 21, 2025
Merged via the queue into main with commit bc181f4 Apr 21, 2025
20 checks passed
@eucyt eucyt deleted the add_parameter_to_shared_endpoint_for_manage_audience branch April 21, 2025 07:26
github-merge-queue bot pushed a commit to line/line-bot-sdk-php that referenced this pull request Apr 21, 2025
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 <github-actions@github.com>
github-merge-queue bot pushed a commit to line/line-bot-sdk-java that referenced this pull request Apr 21, 2025
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 <github-actions@github.com>
github-merge-queue bot pushed a commit to line/line-bot-sdk-python that referenced this pull request Apr 21, 2025
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 <github-actions@github.com>
github-merge-queue bot pushed a commit to line/line-bot-sdk-nodejs that referenced this pull request Apr 21, 2025
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 <github-actions@github.com>
github-merge-queue bot pushed a commit to line/line-bot-sdk-go that referenced this pull request Apr 21, 2025
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 <github-actions@github.com>
github-merge-queue bot pushed a commit to line/line-bot-sdk-ruby that referenced this pull request Apr 21, 2025
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 <github-actions@github.com>
renovate bot added a commit to shusann01116/recipena that referenced this pull request Apr 22, 2025
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/line/line-bot-sdk-go/v8](https://redirect.github.com/line/line-bot-sdk-go)
| `v8.12.1` -> `v8.13.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fline%2fline-bot-sdk-go%2fv8/v8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fline%2fline-bot-sdk-go%2fv8/v8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fline%2fline-bot-sdk-go%2fv8/v8.12.1/v8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fline%2fline-bot-sdk-go%2fv8/v8.12.1/v8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>line/line-bot-sdk-go
(github.com/line/line-bot-sdk-go/v8)</summary>

###
[`v8.13.0`](https://redirect.github.com/line/line-bot-sdk-go/releases/tag/v8.13.0):
Add includesOwnedAudienceGroups Parameter to Audience API

[Compare
Source](https://redirect.github.com/line/line-bot-sdk-go/compare/v8.12.1...v8.13.0)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

- Add includesOwnedAudienceGroups Parameter to Audience API by
[@&#8203;github-actions](https://redirect.github.com/github-actions) in
[https://github.com/line/line-bot-sdk-go/pull/577](https://redirect.github.com/line/line-bot-sdk-go/pull/577)

<!-- PR-START line/line-openapi#105 -->

##### Enhancement to Shared Audiences API

Support a new query parameter `includesOwnedAudienceGroups` to the
`client.getSharedAudienceGroups` (GET
`/v2/bot/audienceGroup/shared/list`). This enhancement allows users to
specify whether to include audience groups owned by the user in the
response. It is especially useful for users who manage both shared and
owned audience groups.

##### Specifications

- 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.

##### Remove deprecated API

- Removed the `/v2/bot/audienceGroup/{audienceGroupId}/activate` and
`/v2/bot/audienceGroup/authorityLevel` endpoints.

##### 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.

(original PR is
[https://github.com/line/line-openapi/pull/105](https://redirect.github.com/line/line-openapi/pull/105))

<!-- PR-END line/line-openapi#105 -->

##### line-openapi updates

- Add type as required property in source object of webhook by
[@&#8203;github-actions](https://redirect.github.com/github-actions) in
[https://github.com/line/line-bot-sdk-go/pull/572](https://redirect.github.com/line/line-bot-sdk-go/pull/572)
- chore(deps): update line-openapi digest to
[`954b163`](https://redirect.github.com/line/line-bot-sdk-go/commit/954b163)
by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/566](https://redirect.github.com/line/line-bot-sdk-go/pull/566)
- chore(deps): update line-openapi digest to
[`0e669d0`](https://redirect.github.com/line/line-bot-sdk-go/commit/0e669d0)
by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/568](https://redirect.github.com/line/line-bot-sdk-go/pull/568)
- chore(deps): update line-openapi digest to
[`31fa3c7`](https://redirect.github.com/line/line-bot-sdk-go/commit/31fa3c7)
by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/571](https://redirect.github.com/line/line-bot-sdk-go/pull/571)

##### Dependency updates

- chore(deps): update suzuki-shunsuke/pinact-action action to v0.2.2 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/563](https://redirect.github.com/line/line-bot-sdk-go/pull/563)
- chore(deps): update suzuki-shunsuke/pinact-action action to v1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/564](https://redirect.github.com/line/line-bot-sdk-go/pull/564)
- chore(deps): update dependency
org.apache.maven.plugins:maven-surefire-plugin to v3.5.3 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/565](https://redirect.github.com/line/line-bot-sdk-go/pull/565)
- fix(deps): update dependency io.pebbletemplates:pebble to v3.2.4 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/567](https://redirect.github.com/line/line-bot-sdk-go/pull/567)
- chore(deps): update junit5 monorepo to v5.12.2 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/575](https://redirect.github.com/line/line-bot-sdk-go/pull/575)
- chore(deps): update actions/setup-node action to v4.4.0 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/line/line-bot-sdk-go/pull/576](https://redirect.github.com/line/line-bot-sdk-go/pull/576)

##### Other Changes

- Skip creating PR when only git submodule is updated by
[@&#8203;Yang-33](https://redirect.github.com/Yang-33) in
[https://github.com/line/line-bot-sdk-go/pull/562](https://redirect.github.com/line/line-bot-sdk-go/pull/562)
- Require more jobs in merge queue by
[@&#8203;Yang-33](https://redirect.github.com/Yang-33) in
[https://github.com/line/line-bot-sdk-go/pull/570](https://redirect.github.com/line/line-bot-sdk-go/pull/570)
- Do not create another auto PR when a job runs for PR by
[@&#8203;Yang-33](https://redirect.github.com/Yang-33) in
[https://github.com/line/line-bot-sdk-go/pull/573](https://redirect.github.com/line/line-bot-sdk-go/pull/573)
- Do not create another auto PR when a job runs for PR or merge queue by
[@&#8203;Yang-33](https://redirect.github.com/Yang-33) in
[https://github.com/line/line-bot-sdk-go/pull/574](https://redirect.github.com/line/line-bot-sdk-go/pull/574)
- Drop Go 1.22 and support 1.24 by
[@&#8203;mokuzon](https://redirect.github.com/mokuzon) in
[https://github.com/line/line-bot-sdk-go/pull/578](https://redirect.github.com/line/line-bot-sdk-go/pull/578)

**Full Changelog**:
line/line-bot-sdk-go@v8.12.1...v8.13.0

***

This release is prepared by
[@&#8203;eucyt](https://redirect.github.com/eucyt)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/shusann01116/recipena).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNDguNCIsInVwZGF0ZWRJblZlciI6IjM5LjI0OC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete obsolete features
2 participants