Avro schema definitions

Looking for Avro schema definitions for the Conversations API.

Thanks

Genesys Cloud does not use avro. You can find the Conversations APIs documentation here: https://developer.genesys.cloud/routing/conversations/conversations-apis

Thanks. I can't find the full JSON schema either to be able to convert it to Avro format?

Can you provide some context? I may have some resources to recommend if I can better understand what you're trying to accomplish.

Hi Tim,

So basically we use Avro format for messages that we put on our internal Kafka message bus. We plan to use the conversation API to pull full details of a conversation on event Customer end and then need to publish the conversation to a Kafka topic in Avro format for downstream processing.

Craig

Hi Craig,

Our JSON schemas are defined off Swagger documents, and we enforce a "no-breakage" policy on our APIs. So our JSON contracts for our APIs are stable, so you should be able to work your way back into an AVRO schema using the JSON from the API. It might be a bit time-consuming, but it's doable.

Thanks,
John Carnell
Director, Developer Engagement

1 Like

@creading0001 I assume that swagger to avro converter packages exist and you could use it to transfom the swagger models to avro schemas. The API's definition can be found here: https://api.mypurecloud.com/api/v2/docs/swagger.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.