RestComm / restcomm-sdk-node

The NodeJS SDK for the RestComm REST API
http://www.restcomm.com/
MIT License
1 stars 4 forks source link

Let's get an API definition! Really looking forward to build an NPM for Restcomm! #1

Open sachanacar opened 9 years ago

ivelin commented 9 years ago

@sachanacar , here is a reference point: http://twilio.github.io/twilio-node/

Licensed under MIT. Feel free to fork it as a starting point. https://github.com/twilio/twilio-node

A topic for a separate issue but still related is the use of JS in RVD. Currently RVD allows drag&drop and basic regex with variables. It has been an open topic if, when and how we should enable a more liberal access to underlying APIs within RVD. Creating a node.js SDK for Restcomm brings us closer to the answer.

scottbarstow commented 9 years ago

@sachanacar

To put more meat on the bones Ivelin talked about, we've discussed allowing users the ability to write code within RVD apps and execute the code in a "jailed" environment that only provides access to core APIs in a unique way.

Would be great to kick this around with you when you have a few minutes.

As to a starting point, I have a fork of Twilio node lib that actually works rudimentarily with Restcomm already. I'll see if I can locate it and check the current state. If worthwhile I'll forward.

On Mon, Aug 31, 2015 at 10:51 AM, ivelin notifications@github.com wrote:

@sachanacar https://github.com/sachanacar , here is a reference point: http://twilio.github.io/twilio-node/

Licensed under MIT. Feel free to fork it as a starting point. https://github.com/twilio/twilio-node

A topic for a separate issue but still related is the use of JS in RVD. Currently RVD allows drag&drop and basic regex with variables. It has been an open topic if, when and how we should enable a more liberal access to underlying APIs within RVD. Creating a node.js SDK for Restcomm brings us closer to the answer.

— Reply to this email directly or view it on GitHub https://github.com/Mobicents/restcomm-sdk-node/issues/1#issuecomment-136396306 .

scottbarstow.com @scottbarstow +1-919-349-9473 (m)

sachanacar commented 9 years ago

Yes please, forward anytime!

Shoot me an email, we can skype when you have time to discuss about your code sandbox environment!

In terms of the library itself, I'm pretty familiar with the Twilio node client, what I'd need though to help on Restcomm's node library is a list of the different endpoints available on the Restcomm platform along with what parameters need to be added to the requests (basically, an API definition).

I've developed some documentation for Voxbone that's been pretty useful over the past year. Check out these links for a general understanding:

Provisioning API: https://developers.voxbone.com/docs/v3/inventory/ SMS API: https://developers.voxbone.com/docs/sms/send/

Let me know what you think!

scottbarstow commented 9 years ago

It's documented, albeit a bit difficult to read through in current form, here:

http://docs.telestax.com/apis/

I think your original suggestion of first doing Swagger docs is the way to go, so that it's easy to gen new docs and easier to gen these SDKs.

I'm wrapping up a few projects today, so will ping you to connect on Skype once the dust settles.

On Mon, Aug 31, 2015 at 11:27 AM, Sacha Nacar notifications@github.com wrote:

Yes please, forward anytime!

Shoot me an email, we can skype when you have time to discuss about your code sandbox environment!

In terms of the library itself, I'm pretty familiar with the Twilio node client, what I'd need though to help on Restcomm's node library is a list of the different endpoints available on the Restcomm platform along with what parameters need to be added to the requests (basically, an API definition).

I've developed some documentation for Voxbone that's been pretty useful over the past year. Check out these links for a general understanding:

Provisioning API: https://developers.voxbone.com/docs/v3/inventory/ SMS API: https://developers.voxbone.com/docs/sms/send/

Let me know what you think!

— Reply to this email directly or view it on GitHub https://github.com/Mobicents/restcomm-sdk-node/issues/1#issuecomment-136405892 .

scottbarstow.com @scottbarstow +1-919-349-9473 (m)