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