Single Message

This endpoint is designed to accept a single message and pass it through Listener. No transformation or splitting of the message occurs. Call this endpoint each time you want to send a single message.

Definition

POST https://listener-ingest-services.teradata.com/v1/message HTTP/1.1
Authorization: token SOURCE_SECRET_KEY
Content-Type: application/json
Sync: 1
HeaderRequiredSample ValueDescription
AuthorizationRequiredSource Secret keyDetermines to which source the data is sent.
SyncOptional1Requests a UUID from Ingest to ensure Kafka accepted the message. Value must be 1 for synchronous.

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: token 0f6fd50e-9515-4730-92c0-2360b5af56d3" \
  -H "Sync: 1" \
  -X POST -d '{"testing":"123"}' \
  -i \
  https://listener-ingest-services.teradata.com/v1/message

Example Response

HTTP/1.1 201 Created
Content-Type: application/json
{"uuid":"15183245f6e0242ac11000000"}

Response Codes

CodeDescription
201Message successfully received.
401Authorization header not found.
500Message body could not be read or Kafka could not be reached.
502Bad Gateway.
503Service unavailable.
504Gateway timeout.
Note
See the system administrator for frequent responses of 502, 503, or 504. You may need to scale up ingest services or check to see if ingest services are up and running.

results matching ""

    No results matching ""