GetRisk » 이력 » 개정판 2
개정판 1 (이름없음, 2021/06/03 07:47) → 개정판 2/5 (이름없음, 2021/06/03 07:55)
h1. GetRisk
사용자 개인정보 위험도를 제공합니다.
*PrivacyRiskRequest*
| *field* | *type* | *description* | *note* |
| did | String | | |
| command | String | | |
| dids | String[] | | |
*PrivacyRiskResponse*
| *field* | *type* | *description* | *note* |
| command | String | | |
| privacyRiskPoint | int | | |
| privacyRiskLevels | PrivacyRisk | | |
*PrivacyRiskResponse*
| *field* | *type* | *description* | *note* |
| levels | int[] | | |
| updatedAt | String | | |
---
*Request Example*
<pre><code class="java">
query {
getRisk (param: {
did: "G5rw9qAMbozGxySHkMaztD"
command: "risk"
dids: [
"8r1EVq7FkjDgJfLUtmcVbt",
"9JeV9FywLU84VctwhXAhds",
"FLc9dk5vJ3GrBizT8Af5q7",
"MEN8BfZYmni9pPS7Pd723o",
"QEcRb81498jvU7PSP7Biqc"
]
}) {
privacyRiskPoint
privacyRiskLevels {
levels
levels
}
}
}
</code></pre>
*Response Example*
<pre><code class="java">
{
"data": {
"getRisk": {
"privacyRiskPoint": 0,
"privacyRiskLevels": {
"levels": [
[
0,
10
],
[
10,
20
],
[
20,
30
],
[
30,
40
],
[
40,
50
],
[
50,
60
],
[
60,
70
],
[
70,
80
],
[
80,
90
],
[
90,
1000000000
]
]
}
}
}
}
</code></pre>