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