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