|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 1.2.0 (2026-10-26) |
| 4 | + |
| 5 | +Full Changelog: [v1.1.1...v1.2.0](https://github.com/moderation-api/sdk-php/compare/v1.1.1...v1.2.0) |
| 6 | + |
| 7 | +### ⚠ Breaking changes |
| 8 | + |
| 9 | +- `GET /authors`: removed the enum value `reportCount` from the `query` request parameter `sortBy` |
| 10 | +- `GET /queue/{id}`: the response property `queue/description` became nullable for the status `200` |
| 11 | +- `GET /queue/{id}`: removed the required property `queue/filter` from the response with the `200` status |
| 12 | +- `GET /queue/{id}/items`: added `subschema #1, subschema #2` to the `data/items/content` response property `anyOf` list for the response status `200` |
| 13 | +- `GET /queue/{id}/items`: the response property `data/items/authorId` became nullable for the status `200` |
| 14 | +- `GET /queue/{id}/items`: the response property `data/items/contentType` became nullable for the status `200` |
| 15 | +- `GET /queue/{id}/items`: the response property `data/items/conversationId` became nullable for the status `200` |
| 16 | +- `GET /queue/{id}/items`: the response property `data/items/language` became nullable for the status `200` |
| 17 | +- `GET /queue/{id}/items`: the response property `data/items/labels/items/flagged` became optional for the status `200` |
| 18 | +- `GET /queue/{id}/items`: the `data/items/content` response's property `type` changed from `string` to `any` for status `200` |
| 19 | +- `POST /queue/{id}/items/{itemId}/resolve`: removed the request body |
| 20 | +- `POST /queue/{id}/items/{itemId}/unresolve`: removed the request body |
| 21 | +- `GET /queue/{id}/stats`: the response property `topReviewers/items/name` became nullable for the status `200` |
| 22 | +- `GET /queue/{id}/stats`: the response property `topReviewers/items/userId` became nullable for the status `200` |
| 23 | +- `GET /queue/{id}/stats`: removed the required property `actionStats` from the response with the `200` status |
| 24 | +- `GET /queue/{id}/stats`: removed the required property `reviewStats/averageTimeToReview` from the response with the `200` status |
| 25 | +- `GET /queue/{id}/stats`: removed the required property `topReviewers/items/averageTimePerReview` from the response with the `200` status |
| 26 | +- `GET /queue/{id}/stats`: removed the required property `topReviewers/items/topActions` from the response with the `200` status |
| 27 | +- `GET /queue/{id}/stats`: removed the required property `trends/flaggedContentTrends` from the response with the `200` status |
| 28 | + |
| 29 | +### API changes |
| 30 | + |
| 31 | +- `GET /actions`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 32 | +- `GET /actions`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 33 | +- `POST /actions`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 34 | +- `POST /actions/execute`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 35 | +- `POST /actions/execute`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 36 | +- `POST /actions/{actionId}/execute`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 37 | +- `POST /actions/{actionId}/execute`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 38 | +- `DELETE /actions/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 39 | +- `DELETE /actions/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 40 | +- `GET /actions/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 41 | +- `GET /actions/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 42 | +- `PUT /actions/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 43 | +- `PUT /actions/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 44 | +- `GET /auth`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 45 | +- `GET /auth`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 46 | +- `POST /auth`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 47 | +- `GET /authors`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 48 | +- `GET /authors`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 49 | +- `POST /authors`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 50 | +- `DELETE /authors/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 51 | +- `DELETE /authors/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 52 | +- `GET /authors/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 53 | +- `GET /authors/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 54 | +- `PUT /authors/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 55 | +- `PUT /authors/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 56 | +- `DELETE /channels/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 57 | +- `DELETE /channels/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 58 | +- `GET /channels/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 59 | +- `PUT /channels/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 60 | +- `PUT /channels/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 61 | +- `POST /channels/{id}/duplicate`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 62 | +- `POST /channels/{id}/duplicate`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 63 | +- `POST /moderate`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 64 | +- `POST /moderate/image`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 65 | +- `POST /moderate/text`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 66 | +- `POST /projects`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 67 | +- `DELETE /projects/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 68 | +- `GET /projects/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 69 | +- `PUT /projects/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 70 | +- `PUT /projects/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 71 | +- `POST /projects/{id}/duplicate`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 72 | +- `POST /projects/{id}/duplicate`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 73 | +- `GET /projects/{projectId}/channels`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 74 | +- `POST /projects/{projectId}/channels`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 75 | +- `POST /projects/{projectId}/channels`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 76 | +- `GET /queue/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 77 | +- `GET /queue/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 78 | +- `GET /queue/{id}/items`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 79 | +- `GET /queue/{id}/items`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 80 | +- `POST /queue/{id}/items/{itemId}/resolve`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 81 | +- `POST /queue/{id}/items/{itemId}/unresolve`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 82 | +- `GET /queue/{id}/stats`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 83 | +- `GET /queue/{id}/stats`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 84 | +- `POST /webhooks`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 85 | +- `DELETE /webhooks/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 86 | +- `GET /webhooks/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 87 | +- `PUT /webhooks/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 88 | +- `PUT /webhooks/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 89 | +- `GET /wordlist`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 90 | +- `GET /wordlist`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 91 | +- `GET /wordlist/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 92 | +- `GET /wordlist/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 93 | +- `PUT /wordlist/{id}`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 94 | +- `PUT /wordlist/{id}`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 95 | +- `GET /wordlist/{id}/embedding-status`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 96 | +- `GET /wordlist/{id}/embedding-status`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 97 | +- `DELETE /wordlist/{id}/words`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 98 | +- `DELETE /wordlist/{id}/words`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 99 | +- `POST /wordlist/{id}/words`: added the new `project_name_ambiguous` enum value to the `code` response property for the response status `400` |
| 100 | +- `POST /wordlist/{id}/words`: added the new `queue_item_not_found` enum value to the `code` response property for the response status `404` |
| 101 | +- `GET /authors`: deleted the `query` request parameter `contentTypes` |
| 102 | +- `GET /queue/{id}/items`: deleted the `query` request parameter `sortDirection` |
| 103 | +- `GET /queue/{id}/items`: deleted the `query` request parameter `sortField` |
| 104 | +- a breaking change was detected but the version is still `1.1.0` |
| 105 | +- `GET /analytics/authors`: endpoint added |
| 106 | +- `GET /analytics/automation`: endpoint added |
| 107 | +- `GET /analytics/channels`: endpoint added |
| 108 | +- `GET /analytics/policies`: endpoint added |
| 109 | +- `GET /analytics/summary`: endpoint added |
| 110 | +- `GET /analytics/volumes`: endpoint added |
| 111 | +- `POST /feedback`: endpoint added |
| 112 | +- `POST /projects/{id}/api-keys`: endpoint added |
| 113 | +- `GET /queue`: endpoint added |
| 114 | +- `GET /queue/{id}`: the `queue/resolvedItemsCount` response's property `type` was narrowed from `number` to `integer` for status `200` |
| 115 | +- `GET /queue/{id}`: the `queue/totalItemsCount` response's property `type` was narrowed from `number` to `integer` for status `200` |
| 116 | +- `GET /queue/{id}`: the `queue/unresolvedItemsCount` response's property `type` was narrowed from `number` to `integer` for status `200` |
| 117 | +- `GET /queue/{id}`: added the required property `queue/isDefault` to the response with the `200` status |
| 118 | +- `GET /queue/{id}/items`: added the new optional `query` request parameter `sort` |
| 119 | +- `GET /queue/{id}/items`: added the optional property `data/items/labels/items/manual` to the response with the `200` status |
| 120 | +- `GET /queue/{id}/items`: added the optional property `data/items/labels/items/matches` to the response with the `200` status |
| 121 | +- `GET /queue/{id}/items`: added the optional property `data/items/labels/items/shadow_flagged` to the response with the `200` status |
| 122 | +- `GET /queue/{id}/items`: removed the optional property `data/items/actions` from the response with the `200` status |
| 123 | +- `GET /queue/{id}/items`: the response property `data/items/authorId` became required for the status `200` |
| 124 | +- `GET /queue/{id}/items`: the response property `data/items/contentType` became required for the status `200` |
| 125 | +- `GET /queue/{id}/items`: the response property `data/items/conversationId` became required for the status `200` |
| 126 | +- `GET /queue/{id}/items`: the response property `data/items/language` became required for the status `200` |
| 127 | +- `GET /queue/{id}/items`: added the required property `data/items/contentId` to the response with the `200` status |
| 128 | +- `GET /queue/{id}/items`: added the required property `data/items/severity` to the response with the `200` status |
| 129 | +- `POST /queue/{id}/items/resolve`: endpoint added |
| 130 | +- `POST /queue/{id}/items/{itemId}/resolve`: removed the optional property `comment` from the response with the `200` status |
| 131 | +- `POST /queue/{id}/items/{itemId}/unresolve`: the `status` response property for the response status `200` was restricted to a list of enum values |
| 132 | +- `GET /queue/{id}/stats`: removed the optional property `topReviewers/items/accuracyScore` from the response with the `200` status |
| 133 | +- `GET /queue/{id}/stats`: the `reviewStats/totalPending` response's property `type` was narrowed from `number` to `integer` for status `200` |
| 134 | +- `GET /queue/{id}/stats`: the `reviewStats/totalReviewed` response's property `type` was narrowed from `number` to `integer` for status `200` |
| 135 | +- `GET /queue/{id}/stats`: the `topReviewers/items/reviewCount` response's property `type` was narrowed from `number` to `integer` for status `200` |
| 136 | +- `GET /queue/{id}/stats`: the `trends/dailyReviewCounts/items/count` response's property `type` was narrowed from `number` to `integer` for status `200` |
| 137 | +- `POST /wordlist`: endpoint added |
| 138 | + |
3 | 139 | ## 1.1.1 (2026-10-22) |
4 | 140 |
|
5 | 141 | Full Changelog: [v1.1.0...v1.1.1](https://github.com/moderation-api/sdk-php/compare/v1.1.0...v1.1.1) |
|
0 commit comments