Skip to content

Commit 4e227db

Browse files
authored
Merge pull request #7191 from keboola/ms/dmd-1365/reviewers-to-reviewer-ids
DMD-1365 Rename reviewers→reviewerIds in MR requests + align OpenAPI schema
2 parents 138dd5f + e308378 commit 4e227db

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

apiary.apib

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9957,6 +9957,7 @@ other buckets (production buckets or buckets belongs the other development branc
99579957
+ `scheduled`
99589958
+ `none`
99599959
+ autoMergeAt (optional, string) - ISO 8601 datetime for scheduled auto-merge, required when autoMergeStrategy is "scheduled" (e.g. "2026-04-01T12:00:00+00:00")
9960+
+ reviewerIds (optional, array[number]) - list of user IDs to assign as reviewers
99609961
99619962
+ Request (application/json)
99629963
@@ -10140,6 +10141,7 @@ Detail of Merge request also contains `content` of changed objects.
1014010141
+ `scheduled`
1014110142
+ `none`
1014210143
+ autoMergeAt (optional, string) - ISO 8601 datetime for scheduled auto-merge, required when autoMergeStrategy is "scheduled" (e.g. "2026-04-01T12:00:00+00:00")
10144+
+ reviewerIds (optional, array[number]) - list of user IDs to assign as reviewers; omit to keep unchanged, send empty array to clear
1014310145
1014410146
+ Request (application/json)
1014510147

src/Keboola/StorageApi/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ public function pullTableToBranch(string $tableId): string
986986
* externalId?: ?string,
987987
* autoMergeStrategy?: ?string,
988988
* autoMergeAt?: ?string,
989-
* reviewers?: list<int>
989+
* reviewerIds?: list<int>
990990
* } $data
991991
* @return int - created MR id
992992
*/
@@ -1021,7 +1021,7 @@ public function getMergeRequest(int $mergeRequestId): array
10211021
* externalId?: string,
10221022
* autoMergeStrategy?: ?string,
10231023
* autoMergeAt?: ?string,
1024-
* reviewers?: list<int>
1024+
* reviewerIds?: list<int>
10251025
* } $data
10261026
* @return array mrData
10271027
*/

0 commit comments

Comments
 (0)