File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,52 @@ Logs contain the full details related to a request including:
1717
1818### Example
1919
20+ #### CheckPermission
21+
22+ ``` json
23+ {
24+ "specversion" : " 1.0" ,
25+ "id" : " 819b4d52db4797491e31d0228f381543" ,
26+ "source" : " /ps/dev-ps/rc/us-east-1/p/dev-ps-abcd1234" ,
27+ "type" : " /authzed.api.v1.PermissionsService/CheckPermission" ,
28+ "datacontenttype" : " application/json" ,
29+ "time" : " 2023-12-18T17:33:11.783093248Z" ,
30+ "data" : {
31+ "request" : {
32+ "@type" : " type.googleapis.com/authzed.api.v1.CheckPermissionRequest" ,
33+ "consistency" : {
34+ "minimizeLatency" : true
35+ },
36+ "resource" : {
37+ "objectType" : " resource" ,
38+ "objectId" : " firstdoc" ,
39+ "permission" : " read"
40+ },
41+ "subject" : {
42+ "object" : {
43+ "objectType" : " user" ,
44+ "objectId" : " tom"
45+ }
46+ },
47+ "response" : {
48+ "@type" : " type.googleapis.com/authzed.api.v1.CheckPermissionResponse" ,
49+ "checkedAt" : {
50+ "token" : " GgoKCENKcmt4QTA9"
51+ },
52+ "permissionship" : " PERMISSIONSHIP_HAS_PERMISSION"
53+ },
54+ "metadata" : {
55+ "token_hash" : " c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2" ,
56+ "user-agent" : " grpc-go/1.58.3" ,
57+ "x-request-id" : " 819b4d52db4797491e31d0228f381543"
58+ }
59+ }
60+ }
61+ }
62+ ```
63+
64+ #### ReadSchema
65+
2066``` json
2167{
2268 "specversion" : " 1.0" ,
You can’t perform that action at this time.
0 commit comments