lexicongovernance / pluraltools-backend

Backend implementation of the plural voting tool.
https://demo.lexicongovernance.org/
GNU General Public License v3.0
3 stars 1 forks source link

Create groups endpoint #355

Closed MartinBenediktBusch closed 3 months ago

MartinBenediktBusch commented 3 months ago

Overview

Create groups endpint that shows all usersToGroups relationships for a given group id: groups/[id]/users-to-groups

Expected Output

groupId: 'aad04a6b-7759-435a-bdab-3db7c44496f2',
      users: [
        {
       id: xxx
      username: xxx,
      firstName: xxx,
       lastName: xxx
    },
         {
       id: xxx
      username: xxx,
      firstName: xxx,
       lastName: xxx
    },
      ]
    }