@appsemble/utils
Version:
Utility functions used in Appsemble internally
30 lines (29 loc) • 916 B
JavaScript
export const pathItems = {
parameters: [
{
name: 'appMemberId',
in: 'path',
description: 'The id of the member on which to perform the operation',
required: true,
schema: { $ref: '#/components/schemas/AppMember/properties/id' },
},
],
get: {
tags: ['common', 'app-member'],
description: `Get an app member’s profile picture.
This will return a 404 if the user has not uploaded one.`,
operationId: 'getAppMemberPicture',
responses: {
200: {
description: 'The profile picture of the app member.',
content: {
'image/png': {},
'image/jpeg': {},
'image/tiff': {},
'image/webp': {},
},
},
},
},
};
//# sourceMappingURL=picture.js.map