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
Modify http status code as response for manage-audience (#766)
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.
Co-authored-by: github-actions <[email protected]>
Copy file name to clipboardexpand all lines: linebot/v3/audience/docs/ManageAudience.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ void (empty response body)
160
160
### HTTP response details
161
161
| Status code | Description | Response headers |
162
162
|-------------|-------------|------------------|
163
-
**200** | OK | - |
163
+
**202** | OK | - |
164
164
165
165
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
166
166
@@ -236,7 +236,7 @@ Name | Type | Description | Notes
236
236
### HTTP response details
237
237
| Status code | Description | Response headers |
238
238
|-------------|-------------|------------------|
239
-
**200** | OK | - |
239
+
**202** | OK | - |
240
240
241
241
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
242
242
@@ -312,7 +312,7 @@ Name | Type | Description | Notes
312
312
### HTTP response details
313
313
| Status code | Description | Response headers |
314
314
|-------------|-------------|------------------|
315
-
**200** | OK | - |
315
+
**202** | OK | - |
316
316
317
317
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
318
318
@@ -388,7 +388,7 @@ Name | Type | Description | Notes
388
388
### HTTP response details
389
389
| Status code | Description | Response headers |
390
390
|-------------|-------------|------------------|
391
-
**200** | OK | - |
391
+
**202** | OK | - |
392
392
393
393
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Copy file name to clipboardexpand all lines: linebot/v3/audience/docs/ManageAudienceBlob.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ Name | Type | Description | Notes
161
161
### HTTP response details
162
162
| Status code | Description | Response headers |
163
163
|-------------|-------------|------------------|
164
-
**200** | OK | - |
164
+
**202** | OK | - |
165
165
166
166
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
0 commit comments