diff --git a/Documentation/rest-api-groups.txt b/Documentation/rest-api-groups.txt index 63d0b4019e..45c5e34b98 100644 --- a/Documentation/rest-api-groups.txt +++ b/Documentation/rest-api-groups.txt @@ -1516,8 +1516,8 @@ permits users to apply to join the group, or manage their membership. |`options` ||link:#group-options-info[Options of the group] |`description` |only for internal groups|The description of the group. |`group_id` |only for internal groups|The numeric ID of the group. -|`owner` |deprecated, only for internal groups|The name of the owner group. -|`owner_id` |deprecated, only for internal groups|The URL encoded UUID of the owner group. +|`owner` |only for internal groups|The name of the owner group. +|`owner_id` |only for internal groups|The URL encoded UUID of the owner group. |`created_on` |only for internal groups|The link:rest-api.html#timestamp[timestamp] of when the group was created. |`_more_groups`|optional, only for internal groups, not set if `false`| diff --git a/java/com/google/gerrit/extensions/common/GroupInfo.java b/java/com/google/gerrit/extensions/common/GroupInfo.java index a4ab4cfee9..b21475c128 100644 --- a/java/com/google/gerrit/extensions/common/GroupInfo.java +++ b/java/com/google/gerrit/extensions/common/GroupInfo.java @@ -24,8 +24,8 @@ public class GroupInfo extends GroupBaseInfo { // These fields are only supplied for internal groups. public String description; public Integer groupId; - @Deprecated public String owner; - @Deprecated public String ownerId; + public String owner; + public String ownerId; public Timestamp createdOn; public Boolean _moreGroups;