SetRisk » 이력 » 개정판 9
개정판 8 (이름없음, 2021/06/04 04:59) → 개정판 9/12 (이름없음, 2021/06/04 04:59)
h1. SetRisk
* 개인정보 위험도 구간 설정 파일을 서버에 업로드 합니다.
*MultipartFormRequest (param)*
| *field* | *type* | *description* | *note* |
| file | file | json file | %{color: #ff0000;}첨부 파일 확인% |
| operations | String | | |
*BaseRequest*
| *field* | *type* | *description* | *note* |
| did | String | | |
| command | String | | |
*PrivacySetResponse*
| *field* | *type* | *description* | *note* |
| command | String | | |
| message | String | | |
---
*Request Example*
| file | Privacy_risk_levelsjson | privacy_risk_levels.json |
| operations | {"query":"mutation($input: BaseRequest){setRisk(param:$input){message command}}", "variables":{"input":{"did":"NfoPEFaG1adkCpijR85L66"}}} |
*Response Example*
<pre><code class="java">
{
"data": {
"setRisk": {
"message": "privacy_risk_levels.json file saved successfully.",
"command": "levels"
}
}
}
</code></pre>