Skip to main content
GET
{MOCK_ADAPTER_URL}
/
api
/
kafka-exchanges
curl -X GET '{MOCK_ADAPTER_URL}/api/kafka-exchanges' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'EXECUTION-USER: upload_user' \
  -H 'Cache-Control: no-cache' \
  -H 'Accept: */*' \
  -H 'Accept-Encoding: gzip, deflate, br'
Retrieve a list of all available Kafka exchanges configured in the mock adapter service. This endpoint provides information about active Kafka message exchanges that can be used for testing and development purposes.

Authentication

This endpoint requires authentication via Bearer token.
Authorization
string
required
Bearer token for API authentication. Format: Bearer YOUR_API_TOKEN

Headers

EXECUTION-USER
string
The user context for the request execution. Used for audit and tracking purposes.
Cache-Control
string
Cache control directive. Use no-cache to bypass caching.
Accept
string
Content type that the client can accept. Supports */* for all types.
Accept-Encoding
string
Acceptable encoding methods for response compression. Supports gzip, deflate, br.

Request Example

curl -X GET '{MOCK_ADAPTER_URL}/api/kafka-exchanges' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'EXECUTION-USER: upload_user' \
  -H 'Cache-Control: no-cache' \
  -H 'Accept: */*' \
  -H 'Accept-Encoding: gzip, deflate, br'
⌘I