RegisterConfig » 이력 » 버전 13
이름없음, 2021/06/10 06:00
| 1 | 7 | 이름없음 | h1. RegisterConfig |
|---|---|---|---|
| 2 | 2 | 이름없음 | |
| 3 | 11 | 이름없음 | 사건, 선행지표를 등록합니다. |
| 4 | 9 | 이름없음 | |
| 5 | 2 | 이름없음 | <pre><code class="c"> |
| 6 | 3 | 이름없음 | registerConfig( |
| 7 | uploadConfigRequest: UploadConfigRequest |
||
| 8 | ): UploadDisclaimerResponse |
||
| 9 | 2 | 이름없음 | </code></pre> |
| 10 | |||
| 11 | *UploadConfigRequest* |
||
| 12 | |||
| 13 | 12 | 이름없음 | | field | type | description | note | |
| 14 | | did | String | snplab 또는 b2b의 did | | |
||
| 15 | | command | String | 요청 Command 유형 | 값: uploadConfig | |
||
| 16 | | event | String | %{color: #000000;}이벤트 이름% | %{color: #000000;} % | |
||
| 17 | | indicators | [String] | %{color: #000000;}지표% | %{color: #000000;} % | |
||
| 18 | 2 | 이름없음 | |
| 19 | *UploadDisclaimerResponse* |
||
| 20 | |||
| 21 | 12 | 이름없음 | | field | type | description | note | |
| 22 | | command | String | 요청 Command 유형 | 값: uploadConfig | |
||
| 23 | 1 | 이름없음 | | url | String | 저장된 경로 | | |
| 24 | 12 | 이름없음 | |
| 25 | 13 | 이름없음 | --- |
| 26 | 2 | 이름없음 | |
| 27 | 13 | 이름없음 | *Request Example* |
| 28 | |||
| 29 | 2 | 이름없음 | <pre> |
| 30 | 1 | 이름없음 | mutation{ |
| 31 | registerConfig(uploadConfigRequest: { |
||
| 32 | 9 | 이름없음 | event: "event-1" |
| 33 | indicators: [ |
||
| 34 | "simple config 1st", |
||
| 35 | "simple config 2nd" |
||
| 36 | ] |
||
| 37 | did:"NfoPEFaG1adkCpijR85L66" |
||
| 38 | command: "uploadConfig" |
||
| 39 | }){ |
||
| 40 | url |
||
| 41 | command |
||
| 42 | } |
||
| 43 | 2 | 이름없음 | } |
| 44 | </pre> |
||
| 45 | |||
| 46 | 13 | 이름없음 | *Response Example* |
| 47 | 2 | 이름없음 | |
| 48 | <pre> |
||
| 49 | 3 | 이름없음 | { |
| 50 | 1 | 이름없음 | "data": { |
| 51 | 3 | 이름없음 | "registerConfig": { |
| 52 | "url": "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/config/kp73z92n7Iv2fzs.json", |
||
| 53 | 5 | 이름없음 | "command": "uploadConfig" |
| 54 | 3 | 이름없음 | } |
| 55 | } |
||
| 56 | 2 | 이름없음 | }</pre> |