diff --git a/api/v4/source/definitions.yaml b/api/v4/source/definitions.yaml index a4d3cb9458..b0871a8147 100644 --- a/api/v4/source/definitions.yaml +++ b/api/v4/source/definitions.yaml @@ -3059,6 +3059,19 @@ components: format: int64 has_syncables: type: boolean + GroupMember: + type: object + properties: + group_id: + type: string + user_id: + type: string + create_at: + type: integer + format: int64 + delete_at: + type: integer + format: int64 GroupSyncableTeam: type: object properties: diff --git a/api/v4/source/groups.yaml b/api/v4/source/groups.yaml index ced5d1221e..d679496384 100644 --- a/api/v4/source/groups.yaml +++ b/api/v4/source/groups.yaml @@ -854,7 +854,9 @@ content: application/json: schema: - $ref: "#/components/schemas/StatusOK" + type: array + items: + $ref: "#/components/schemas/GroupMember" post: tags: - groups @@ -898,7 +900,9 @@ content: application/json: schema: - $ref: "#/components/schemas/StatusOK" + type: array + items: + $ref: "#/components/schemas/GroupMember" "/api/v4/groups/{group_id}/stats": get: tags: