@appsemble/utils
Version:
Utility functions used in Appsemble internally
35 lines • 1.17 kB
JavaScript
export const pathItems = {
parameters: [
{ $ref: '#/components/parameters/appId' },
{
name: 'groupId',
in: 'path',
description: 'The ID of the group',
required: true,
schema: { type: 'number', readOnly: true },
},
],
get: {
tags: ['common', 'app', 'group', 'members'],
description: 'Fetch the members of a group and their roles within the group.',
operationId: 'getGroupMembers',
parameters: [{ $ref: '#/components/parameters/selectedGroupId' }],
responses: {
200: {
description: 'The list of all members.',
content: {
'application/json': {
schema: {
type: 'array',
items: {
$ref: '#/components/schemas/OrganizationMember',
},
},
},
},
},
},
security: [{ studio: [] }, { app: ['groups:read'] }],
},
};
//# sourceMappingURL=members.js.map