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