GetRisk » 이력 » 버전 5
이름없음, 2021/06/10 05:30
1 | 1 | 이름없음 | h1. GetRisk |
---|---|---|---|
2 | 2 | 이름없음 | |
3 | 3 | 이름없음 | * 사용자 개인정보 위험도를 제공합니다. |
4 | 2 | 이름없음 | |
5 | 5 | 이름없음 | <pre><code class="c"> |
6 | getRisk( |
||
7 | param: PrivacyRiskRequest |
||
8 | ): PrivacyRiskResponse |
||
9 | </code></pre> |
||
10 | |||
11 | 3 | 이름없음 | *PrivacyRiskRequest (param)* |
12 | 2 | 이름없음 | |
13 | | *field* | *type* | *description* | *note* | |
||
14 | | did | String | | | |
||
15 | 4 | 이름없음 | | command | String | | 값 : risk | |
16 | 2 | 이름없음 | | dids | String[] | | | |
17 | |||
18 | *PrivacyRiskResponse* |
||
19 | |||
20 | | *field* | *type* | *description* | *note* | |
||
21 | 4 | 이름없음 | | command | String | | 값 : risk | |
22 | 2 | 이름없음 | | privacyRiskPoint | int | | | |
23 | | privacyRiskLevels | PrivacyRisk | | | |
||
24 | |||
25 | *PrivacyRiskResponse* |
||
26 | |||
27 | | *field* | *type* | *description* | *note* | |
||
28 | | levels | int[] | | | |
||
29 | | updatedAt | String | | | |
||
30 | |||
31 | --- |
||
32 | |||
33 | *Request Example* |
||
34 | |||
35 | <pre><code class="java"> |
||
36 | query { |
||
37 | getRisk (param: { |
||
38 | 3 | 이름없음 | did: "G5rw9qAMbozGxySHkMaztD" |
39 | command: "risk" |
||
40 | 2 | 이름없음 | dids: [ |
41 | "8r1EVq7FkjDgJfLUtmcVbt", |
||
42 | "9JeV9FywLU84VctwhXAhds", |
||
43 | "FLc9dk5vJ3GrBizT8Af5q7", |
||
44 | "MEN8BfZYmni9pPS7Pd723o", |
||
45 | 3 | 이름없음 | "QEcRb81498jvU7PSP7Biqc" |
46 | 2 | 이름없음 | ] |
47 | }) { |
||
48 | privacyRiskPoint |
||
49 | privacyRiskLevels { |
||
50 | levels |
||
51 | } |
||
52 | } |
||
53 | } |
||
54 | </code></pre> |
||
55 | |||
56 | *Response Example* |
||
57 | |||
58 | <pre><code class="java"> |
||
59 | { |
||
60 | "data": { |
||
61 | "getRisk": { |
||
62 | "privacyRiskPoint": 0, |
||
63 | "privacyRiskLevels": { |
||
64 | "levels": [ |
||
65 | [ |
||
66 | 0, |
||
67 | 10 |
||
68 | ], |
||
69 | [ |
||
70 | 10, |
||
71 | 20 |
||
72 | ], |
||
73 | [ |
||
74 | 20, |
||
75 | 30 |
||
76 | ], |
||
77 | [ |
||
78 | 30, |
||
79 | 40 |
||
80 | ], |
||
81 | [ |
||
82 | 40, |
||
83 | 50 |
||
84 | ], |
||
85 | [ |
||
86 | 50, |
||
87 | 60 |
||
88 | ], |
||
89 | [ |
||
90 | 60, |
||
91 | 70 |
||
92 | ], |
||
93 | [ |
||
94 | 70, |
||
95 | 80 |
||
96 | ], |
||
97 | [ |
||
98 | 80, |
||
99 | 90 |
||
100 | ], |
||
101 | [ |
||
102 | 90, |
||
103 | 1000000000 |
||
104 | ] |
||
105 | ] |
||
106 | } |
||
107 | } |
||
108 | } |
||
109 | } |
||
110 | </code></pre> |