nytimes / elemental-live-client Goto Github PK
View Code? Open in Web Editor NEWJS library to communicate with Elemental live API.
License: Apache License 2.0
JS library to communicate with Elemental live API.
License: Apache License 2.0
we should use the /generate_preview
for preview inputs, the same way the UI does. This way we'll receive errors when trying to generate preview of inputs being used in transmissions. I don't know if the /generate_preview
endpoint is documented but I could see some interesting stuff on their routes.rb
file.
I'll try to work on this and submit a PR.
some extra headers needed to be passed if the api endpoint is not entirely open:
Authentication and REST
When authentication is enabled on the Elemental Live system, additional information must be sent with the REST command in order to properly authenticate the request. The following additional headers must be set: X-Auth-User, X-Auth-Expires, X-Auth-Key.
The X-Auth-User header contains the login of the user to authenticate.
The X-Auth-Expires header contains the Unix timestamp (in UTC) that indicates the time after which the server will no longer accept the request as valid. For security purposes, Elemental recommends that this value should be ~30 seconds in the future.
The X-Auth-Key header should be constructed using the following algorithm:
md5(api_key + md5(url + X-Auth-User + api_key + X-Auth-Expires))
Hi,
Thanks in Advance! Could you please provide proper documents on how we can use api_key and server_ip in code and how to use it in js.
-Kiran
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.