@appsemble/utils
Version:
Utility functions used in Appsemble internally
29 lines • 918 B
JavaScript
export const pathItems = {
get: {
description: 'Fetch all completed trainings',
operationId: 'getCompletedTrainings',
responses: {
200: {
description: 'An array of training IDs that the user has completed',
content: {
'application/json': {
schema: {
type: 'array',
items: { type: 'string' },
},
},
},
},
},
security: [{ studio: [] }],
},
delete: {
description: 'Delete all completed trainings from user',
operationId: 'resetTrainingProgress',
responses: {
204: { description: 'Trainings successfully reset ' },
},
security: [{ studio: [] }],
},
};
//# sourceMappingURL=completedTrainings.js.map