cadence icon indicating copy to clipboard operation
cadence copied to clipboard

API documentation

Open mohelsaka opened this issue 8 years ago • 4 comments

I'm thinking of building a Perl or Ruby client for cadence, can you point me to some docs for the API or a guide of how to build new client?

mohelsaka avatar May 30 '18 18:05 mohelsaka

Any help with that?

mohelsaka avatar Jul 16 '18 08:07 mohelsaka

Sorry for the delayed reply, we missed the first notification.

We don't have complete documentation about how to build a new client, but I could clearly help building one. There is AWS SWF Ruby Client which can be used as a starting ground. The service API is defined here. It closely resembles the AWS SWF API, so I would recommend first checking its API Reference for structures and field descriptions. Cadence already diverged from that API and we can provide more info on the differences.

What is your use case? Do you plan to use the new client for some application or platform?

mfateev avatar Jul 16 '18 19:07 mfateev

Currently Cadence uses TChannel as a communication protocol. TChannel doesn't have Ruby or Perl library. We will need to enable HTTP/JSON endpoint on Cadence frontend to work around it.

mfateev avatar Jul 16 '18 20:07 mfateev

#348 covers the HTTP endpoint

dmetzgar avatar Aug 22 '18 22:08 dmetzgar