openapi: 3.2.0 info: title: Fast Keys API version: 0.1.0 security: - bearer: [] - oauth2: - forms:read - forms:write tags: - name: Keys paths: /keys: post: summary: Create Key operationId: create_key_keys_post requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateKeyBody' responses: '201': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Keys get: summary: List Keys operationId: list_keys_keys_get parameters: - name: owner in: query required: true schema: type: string title: Owner responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Keys /keys/{key_id}: delete: summary: Delete Key operationId: delete_key_keys__key_id__delete parameters: - name: key_id in: path required: true schema: type: string format: uuid title: Key Id - name: owner in: query required: true schema: type: string title: Owner responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Keys patch: summary: Patch Key operationId: patch_key_keys__key_id__patch parameters: - name: key_id in: path required: true schema: type: string format: uuid title: Key Id - name: owner in: query required: true schema: type: string title: Owner requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KeyPatchBody' responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Keys components: schemas: KeyPatchBody: properties: action: anyOf: - type: string enum: - enable - disable - type: 'null' title: Action label: anyOf: - type: string - type: 'null' title: Label type: object title: KeyPatchBody HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError 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 CreateKeyBody: properties: owner: type: string title: Owner label: anyOf: - type: string - type: 'null' title: Label type: object required: - owner title: CreateKeyBody 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