Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Avro schema definitions

    Posted 06-05-2025 19:23

    creading0001 | 2023-02-01 16:36:38 UTC | #1

    Looking for Avro schema definitions for the Conversations API.

    Thanks


    tim.smith | 2023-02-01 16:38:30 UTC | #2

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


    creading0001 | 2023-02-02 21:06:42 UTC | #3

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


    tim.smith | 2023-02-02 21:55:19 UTC | #4

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


    creading0001 | 2023-02-03 19:46:32 UTC | #5

    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


    John_Carnell | 2023-02-06 13:33:47 UTC | #6

    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


    tim.smith | 2023-02-06 14:21:41 UTC | #7

    @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.


    system | 2023-03-09 14:22:08 UTC | #8

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


    This post was migrated from the old Developer Forum.

    ref: 18229