diff --git a/openapi/components/parameters.yaml b/openapi/components/parameters.yaml index 170a4bbe..94f6de35 100644 --- a/openapi/components/parameters.yaml +++ b/openapi/components/parameters.yaml @@ -23,6 +23,13 @@ sort: schema: $ref: ./schemas/SortOption.yaml description: The sort order of the results. +groupMemberSort: + name: sort + in: query + required: false + schema: + $ref: ./schemas/GroupSearchSort.yaml + description: The sort order of Group Member results order: name: order in: query diff --git a/openapi/components/paths/groups.yaml b/openapi/components/paths/groups.yaml index a71f1d90..8b620633 100644 --- a/openapi/components/paths/groups.yaml +++ b/openapi/components/paths/groups.yaml @@ -505,6 +505,7 @@ paths: parameters: - $ref: ../parameters.yaml#/number - $ref: ../parameters.yaml#/offset + - $ref: ../parameters.yaml#/groupMemberSort responses: '200': $ref: ../responses/groups/GroupMemberListResponse.yaml diff --git a/openapi/components/schemas/GroupMember.yaml b/openapi/components/schemas/GroupMember.yaml index 3bf0f667..d3ef1d1a 100644 --- a/openapi/components/schemas/GroupMember.yaml +++ b/openapi/components/schemas/GroupMember.yaml @@ -19,6 +19,10 @@ properties: type: array items: $ref: ./GroupRoleID.yaml + mRoleIds: + type: array + items: + $ref: ./GroupRoleID.yaml joinedAt: type: string format: date-time @@ -44,4 +48,9 @@ properties: managerNotes: description: "Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user." type: string - nullable: true \ No newline at end of file + nullable: true + lastPostReadAt: + type: string + format: date-time + hasJoinedFromPurchase: + type: boolean \ No newline at end of file diff --git a/openapi/components/schemas/GroupMemberLimitedUser.yaml b/openapi/components/schemas/GroupMemberLimitedUser.yaml index 15da7b86..aaacd788 100644 --- a/openapi/components/schemas/GroupMemberLimitedUser.yaml +++ b/openapi/components/schemas/GroupMemberLimitedUser.yaml @@ -9,4 +9,12 @@ properties: thumbnailUrl: type: string iconUrl: - type: string \ No newline at end of file + type: string + profilePicOverride: + type: string + currentAvatarThumbnailImageUrl: + type: string + currentAvatarTags: + type: array + items: + $ref: ./Tag.yaml \ No newline at end of file diff --git a/openapi/components/schemas/GroupSearchSort.yaml b/openapi/components/schemas/GroupSearchSort.yaml new file mode 100644 index 00000000..59f31742 --- /dev/null +++ b/openapi/components/schemas/GroupSearchSort.yaml @@ -0,0 +1,6 @@ +title: GroupSearchSort +type: string +enum: + - joinedAt:asc + - joinedAt:desc +example: joinedAt:asc \ No newline at end of file