@appsemble/utils
Version:
Utility functions used in Appsemble internally
30 lines • 1.09 kB
JavaScript
export const pathItems = {
parameters: [{ $ref: '#/components/parameters/appId' }],
get: {
tags: ['app', 'member', 'current-member'],
description: 'Get a list of groups that the app member is a member of.',
operationId: 'getCurrentAppMemberGroups',
responses: {
200: {
description: 'The list of groups of the app member.',
content: {
'application/json': {
schema: {
type: 'array',
items: {
type: 'object',
properties: {
id: { type: 'number' },
name: { type: 'string' },
role: { type: 'string' },
},
},
},
},
},
},
},
security: [{ app: [] }],
},
};
//# sourceMappingURL=groups.js.map