11.2.4.2 Register Hub User by Public Key


Interface Address /hub/regiterByIdPublicKey
Description Register by Public key. This function allows users define the ID by themselves. If successful, returns the user's ID in the Hub.
Interface request parameter
No. Parameter Type Required Description
1 RegisterHubReq Y Wrapper class
RegisterHubReq
1 id String N Self-defined Hub ID
2 publicKey String Y Public key
3 cryptoType String Y Encryption Algorithm: ECDSA
Interface response parameter
No. Parameter Type Description
1 RegisterHubResult Wrapper class of the returned value
RegisterHubResult
1 success Boolean Whether it is successful
2 uid String ID in the Hub
3 message String Result description
© 2019-2023 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2023-02-16 12:22:03

results matching ""

    No results matching ""

    results matching ""

      No results matching ""