11.2.4.8 Query Permissions


Interface Address /hub/queryPermission
Description Resource owner calls this function to query Permissions that have already been created.
Interface request parameter
No. Parameter Type Required Description
1 QueryPermissionReq Y Wrapper class
QueryPermissionReq
1 uid String Y ID in the Hub
2 flag String N YES means accessed; NO means not accessed
3 grantUid String N Authorized ID in the Hub
4 sign String Y Signature
Interface response parameter
No. Parameter Type Description
1 List<PermissionInfo> Response data
PermissionInfo
1 url String The path of the stored resource
2 grant String Permissions
3 grantUid String Authorized ID in the Hub
4 status Integer 0 means deleted; 1 means not deleted
5 createTime LocalDateTime Created date
6 readTime LocalDateTime Read time
7 flag UsedFlag YES means accessed; NO means not accessed.
8 uid String ID in the Hub
9 key String Ciphertext key
10 ownerKey String Owner’s key
© 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 ""