UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

40 lines 1.73 kB
export const pathItems = { parameters: [{ $ref: '#/components/parameters/appId' }], get: { tags: ['main', 'app', 'snapshot'], description: 'Get a list of snapshots made of the app.', operationId: 'getAppSnapshots', responses: { 200: { description: 'The available snapshots', content: { 'application/json': { schema: { type: 'array', items: { type: 'object', properties: { id: { type: 'number', description: 'The ID of the snapshot.' }, $created: { type: 'string', format: 'date-time', description: 'The creation date of the snapshot.', }, $author: { type: 'object', properties: { id: { $ref: '#/components/schemas/User/properties/id' }, name: { $ref: '#/components/schemas/User/properties/name' }, }, }, }, }, }, }, }, }, }, security: [{ studio: [] }, { cli: ['apps:write'] }], }, }; //# sourceMappingURL=snapshots.js.map