Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3) submit one of the API methods passing in the calculated hash to prove you have authority to access the Noojee API within 10 seconds.

Obtaining a timestamp

The timestamp must be retrieved from the Noojee Api.

...

 curl -i  -X POST http://127.0.0.1/servicemanager/rest/Time

Hash the key and timestamp

Next you must hash the API-Key and timestamp. To do this generate a concatenated string with the api key and timestamp separated by a colon (:) then use a sha256Hex operation to generate the hash which is passed as a security token.

...

Using the the timestamp and hashing the api key ensures that the API-Key is never exposed.

Submiting a method

Now that you have the security token you can pass it to one of the recording api methods.

...