openapi: 3.2.0 info: description: '## Confluent Metadata API - Swagger UI --- This tool (SwaggerUI) and the Open API spec file are provided _for development / test purposes only_: - **Do _not_ enable in Production.** - **This tool only works with HTTP.** ### Authenticating Authentication is performed by HTTP Basic Auth or by presenting a bearer token.' title: MDS Tokens and Authentication API version: '1.0' x-api-id: 9a0c4222-9190-4816-b872-1a9cf002afab x-audience: external-public servers: - url: / security: - basicAuth: [] - bearerAuth: [] tags: - name: Tokens and Authentication paths: /security/1.0/authenticate: get: description: Callable by LDAP users. operationId: getToken responses: '200': content: application/json: schema: $ref: '#/components/schemas/AuthenticationResponse' description: authenticated default: content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' description: Error Response summary: Get a bearer token tags: - Tokens and Authentication components: schemas: ErrorDetail: properties: error_type: type: string message: type: string required: - error_type - type type: object AuthenticationResponse: example: auth_token: auth_token token_type: token_type expires_in: 0.8008281904610115 properties: auth_token: type: string token_type: type: string expires_in: type: number type: object ErrorResponse: properties: status_code: description: Optional - http status code example: 400 type: integer error_code: description: Optional - Kafka error code (typically 5 digits) type: integer type: description: Optional - Type of error example: INVALID REQUEST DATA type: string message: description: Required - Top level error message example: Bad request type: string errors: description: Optional - List of errors items: $ref: '#/components/schemas/ErrorDetail' type: array required: - message type: object securitySchemes: basicAuth: scheme: basic type: http bearerAuth: bearerFormat: JWT scheme: bearer type: http