프로젝트

일반

사용자정보

SetRisk » 이력 » 버전 11

이름없음, 2021/06/10 05:31

1 1 이름없음
h1. SetRisk
2 2 이름없음
3 6 이름없음
* 개인정보 위험도 구간 설정 파일을 서버에 업로드 합니다.
4 5 이름없음
5 11 이름없음
<pre><code class="c">
6
setRisk(
7
param: BaseRequest
8
): PrivacySetResponse
9
</code></pre>
10
11 6 이름없음
*MultipartFormRequest (param)*
12 3 이름없음
13
| *field* | *type* | *description* | *note* |
14 4 이름없음
| file | file | json file | %{color: #ff0000;}첨부 파일 확인% |
15 3 이름없음
| operations | String |   |   |
16
17 2 이름없음
*BaseRequest*
18 1 이름없음
19 3 이름없음
| *field* | *type* | *description* | *note* |
20 2 이름없음
| did | String |   |   |
21 10 이름없음
| command | String |   | 값 : levels |
22 1 이름없음
23
*PrivacySetResponse*
24
25 3 이름없음
| *field* | *type* | *description* | *note* |
26 10 이름없음
| command | String |   | 값 : levels |
27 1 이름없음
| message | String |   |   |
28 3 이름없음
29
---
30
31
*Request Example*
32
33 9 이름없음
| file | Privacy_risk_levelsjson |
34 10 이름없음
| operations | {"query":"mutation($input: BaseRequest){setRisk(param:$input){message command}}", "variables":{"input":{"did":"NfoPEFaG1adkCpijR85L66", "command":"levels"}}} |
35 3 이름없음
36
*Response Example*
37
38
<pre><code class="java">
39
{
40
  "data": {
41
    "setRisk": {
42
      "message": "privacy_risk_levels.json file saved successfully.",
43 4 이름없음
      "command": "levels" 
44 3 이름없음
    }
45
  }
46
}
47
</code></pre>
클립보드 이미지 추가 (최대 크기: 97.7 MB)