@appsemble/utils
Version:
Utility functions used in Appsemble internally
30 lines • 1.06 kB
JavaScript
export const pathItems = {
parameters: [
{ $ref: '#/components/parameters/appId' },
{ $ref: '#/components/parameters/resourceType' },
{ $ref: '#/components/parameters/resourceId' },
{ $ref: '#/components/parameters/selectedGroupId' },
],
get: {
tags: ['main', 'app', 'resource', 'version'],
description: 'Get the known history of a resource',
operationId: 'getAppResourceVersions',
responses: {
200: {
description: 'The resource that matches the given id.',
content: {
'application/json': {
schema: {
type: 'array',
items: {
$ref: '#/components/responses/resource',
},
},
},
},
},
},
security: [{ studio: [] }, { app: ['resources:manage'] }],
},
};
//# sourceMappingURL=versions.js.map