Skip to content
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

Modify http status code as response for manage-audience #766

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

github-actions[bot]
Copy link
Contributor

line/line-openapi#87

This change modifies the HTTP status code for the following audience group-related endpoints, as they were incorrect.
Some http status codes are wrong. They should be 202, not 200.

  1. POST /v2/bot/audienceGroup/upload (createAudienceGroup)
  2. PUT /v2/bot/audienceGroup/upload (addAudienceToAudienceGroup)
  3. POST /v2/bot/audienceGroup/upload/byFile (createAudienceForUploadingUserIds)
  4. POST /v2/bot/audienceGroup/click (createClickBasedAudienceGroup)
  5. POST /v2/bot/audienceGroup/imp (createImpBasedAudienceGroup)

You can also check if this change is correct by reading https://developers.line.biz/en/reference/messaging-api/#manage-audience-group.

NOTE: This change is not a modification of the messaging API itself. It is simply a correction of an error in the YAML description.

@Yang-33 Yang-33 merged commit 2e605f1 into master Mar 10, 2025
10 checks passed
@Yang-33 Yang-33 deleted the update-diff-20250310020001 branch March 10, 2025 02:04
@Yang-33 Yang-33 linked an issue Mar 10, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create_audience_group() return None
1 participant