Quatrix JavaSctipt APIs
Space shortcuts

Versions Compared

Key

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

...

 

Name TypeDescription

data

required

object

information about key

cb

optional

function

callback function


 

Example

Code Block
languagejs
this.createKey = function(data, cb) {
  return _request({
    method: 'POST',
    url: '/key/create',
    data: data,
    callback: cb
  });
};

 


Example Result

Code Block
languagejs
{
 name: 'newName',
 user: '12345678-1234-1234-123456789098',
 public: "", // base64 encoded public value
 private: "" // base64 encoded private value
}