@appsemble/utils
Version:
Utility functions used in Appsemble internally
31 lines • 940 B
JavaScript
export const pathItems = {
parameters: [{ $ref: '#/components/parameters/appId' }],
get: {
tags: ['main', 'app'],
description: 'Get the current app icon.',
operationId: 'getAppIcon',
responses: {
200: {
description: 'The icon of the app that matches the given id.',
content: {
'image/png': {},
'image/jpeg': {},
'image/tiff': {},
'image/webp': {},
},
},
},
},
delete: {
tags: ['main', 'app'],
description: 'Delete the current app icon.',
operationId: 'deleteAppIcon',
responses: {
204: {
description: 'The icon has been successfully removed',
},
},
security: [{ studio: [] }, { cli: ['apps:write'] }],
},
};
//# sourceMappingURL=icon.js.map