![]() ![]() Thus the value of X-Auth-Key should be computed as follows: In this case the url parameter is '/live_events/1' and the X-Auth-Expires value is '1306886400'. The url parameter is the path part of the request URL minus any query parameters and without any API version prefix.įor example, consider a GET request to by the user 'admin' with the api_key '1acpJN7oEDn3BDDYhQ' that expires on JUTC. ![]() For security, it is recommended that this key be reset periodically. The api_key parameter is the user's secret API key that can be retrieved on the User Profile page. Md5(api_key + md5(url + X-Auth-User + api_key + X-Auth-Expires))Įach parameter in this expression should be entered as a string, and the '+' operator indicates string concatenation without any delimiters. The X-Auth-Key header should be constructed using the following algorithm: For security purposes, Elemental recommends that this value should be ~30 seconds in the future. 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. The X-Auth-User header contains the login of the user to authenticate. The following additional headers must be set: X-Auth-User, X-Auth-Expires, X-Auth-Key. 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. Explore features of the REST API below.Īccording with rest authentification of Elemental: A wide range of available endpoints provide a simple interface to control and query all aspects of the Elemental system. A client program interacts with the server by sending HTTP GET, POST, PUT, or DELETE requests to resources on the server or server cluster. The Elemental Live system can be controlled through a REST interface over HTTP. View of Insomnia get live info call method GETĮxample of GET Web Services REST interface
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |