UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

46 lines 1.45 kB
export const pathItems = { parameters: [ { name: 'appMemberId', in: 'path', description: 'The id of the app member on which to perform an operation', required: true, schema: { $ref: '#/components/schemas/AppMember/properties/id' }, }, ], put: { tags: ['common', 'app', 'member'], description: 'Patch an app member.', operationId: 'updateAppMemberRole', parameters: [{ $ref: '#/components/parameters/selectedGroupId' }], requestBody: { content: { 'application/json': { schema: { type: 'object', additionalProperties: false, properties: { role: { type: 'string', }, }, }, }, }, }, responses: { 200: { description: 'The updated app member', content: { 'application/json': { schema: { $ref: '#/components/schemas/AppMember', }, }, }, }, }, security: [{ studio: [] }, { app: [] }], }, }; //# sourceMappingURL=role.js.map