openapi: 3.2.0 info: title: Fast App API version: 0.1.0 security: - bearer: [] - oauth2: - forms:read - forms:write tags: - name: App paths: /app/login: post: summary: App Login operationId: app_login_app_login_post requestBody: content: application/json: schema: $ref: '#/components/schemas/AppLoginRequest' required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: [] tags: - App /app/refresh: post: summary: App Refresh operationId: app_refresh_app_refresh_post requestBody: content: application/json: schema: $ref: '#/components/schemas/AppRefreshRequest' required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: [] tags: - App /app/logout: post: summary: App Logout operationId: app_logout_app_logout_post requestBody: content: application/json: schema: $ref: '#/components/schemas/AppLogoutRequest' required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: [] tags: - App components: schemas: HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError AppLogoutRequest: properties: refresh_token: type: string title: Refresh Token type: object required: - refresh_token title: AppLogoutRequest ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError AppLoginRequest: properties: email: type: string title: Email password: type: string title: Password device_label: anyOf: - type: string - type: 'null' title: Device Label type: object required: - email - password title: AppLoginRequest AppRefreshRequest: properties: refresh_token: type: string title: Refresh Token type: object required: - refresh_token title: AppRefreshRequest securitySchemes: bearer: type: http scheme: bearer bearerFormat: Emboss API key (sk_...) description: An Emboss API key. See https://getemboss.ai/docs/authentication. oauth2: type: oauth2 description: Sign in with your Emboss account. See https://getemboss.ai/docs/authentication. flows: authorizationCode: authorizationUrl: https://api.getemboss.ai/oauth/authorize tokenUrl: https://api.getemboss.ai/oauth/token scopes: forms:read: Read your forms forms:write: Create and fill forms