@appsemble/utils
Version:
Utility functions used in Appsemble internally
42 lines (41 loc) • 1.31 kB
JavaScript
export const pathItems = {
parameters: [
{
name: 'token',
in: 'path',
description: 'The token of the invite.',
required: true,
schema: { type: 'string' },
},
],
post: {
tags: ['main', 'organization', 'invite'],
description: 'Respond to a given invitation.',
operationId: 'respondOrganizationInvite',
requestBody: {
description: `The response of the invitation.
If response is true, user will join the organization. If response is false, the user declines the invite and the invite is removed.`,
required: true,
content: {
'application/json': {
schema: {
type: 'object',
required: ['response'],
properties: {
response: {
type: 'boolean',
},
},
},
},
},
},
responses: {
204: {
description: 'The response has been processed.',
},
},
security: [{ studio: [] }],
},
};
//# sourceMappingURL=respond.js.map