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