Interface Address |
/hub/transferowner |
Description |
Change the resource owner in the Hub. |
Interface request parameter |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
TransferOwnerReq |
Y |
Wrapper class |
QueryPermissionReq |
1 |
uid |
String |
Y |
ID in the Hub |
2 |
url |
String |
Y |
The path of the stored resource |
3 |
newOwnerUid |
String |
Y |
New owner’s ID in the Hub |
4 |
newOwnerPublicKey |
String |
Y |
New owner’s public key |
5 |
newKey |
String |
N |
New ciphertext key |
6 |
sign |
String |
Y |
Signature |
Interface response parameter |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
Boolean |
Y |
Return true if success, return false if failure |