| Interface Address |
/hub/getResourceHistory |
| Description |
Resource owner calls this function to query the operation record of the resource. |
| Interface request parameter |
| No. |
Parameter |
Type |
Required |
Description |
| 1 |
|
QueryResourceHistoryReq |
Y |
Wrapper class |
| QueryPermissionReq |
| 1 |
uid |
String |
Y |
ID in the Hub |
| 2 |
url |
String |
N |
The path of the stored resource |
| 3 |
operation |
String |
N |
Authorization type. WRITE: Add; UPDATE: Update; DELETE: delete |
| 4 |
sign |
String |
Y |
Signature |
| Interface response parameter |
| No. |
Parameter |
Type |
Description |
| 1 |
|
List<ResourceHistoryInfo> |
Response data |
| PermissionInfo |
| 1 |
OperationUid |
String |
Operator’s ID in the Hub |
| 2 |
ownerUid |
String |
Owner’s ID in the Hub |
| 3 |
operation |
String |
Authorization type. WRITE: Add; UPDATE: Update; DELETE: delete |
| 4 |
OperationTime |
LocalDateTime |
Operation time |
| 5 |
url |
String |
The path of the stored resource |
| 6 |
key |
String |
Ciphertext key |
| 7 |
content |
String |
Ciphertext resource content |