SetRisk » 이력 » 개정판 5
개정판 4 (이름없음, 2021/06/03 08:12) → 개정판 5/12 (이름없음, 2021/06/03 09:01)
h1. SetRisk
개인정보 위험도 구간 설정 파일을 서버에 업로드 합니다.
*MultipartFormRequest*
| *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_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>