UploadEventList » 이력 » 개정판 3
개정판 2 (이름없음, 2021/06/04 02:23) → 개정판 3/14 (이름없음, 2021/06/04 03:18)
h1. uploadEventList
h2. *요청 필드*
<pre><code class="c">
uploadEventList(
uploadEventListRequest: UploadEventListRequest
): UploadEventListResponse
</code></pre>
*UploadEventListRequest*
| field | type | description |
| did | String | snplab의 did |
| command | String | 응답한 Command 유형 |
| proposalId | String | registerProposal로 얻은 proposalId |
*UploadEventListResponse*
| field | type | description |
| command | String | 응답한 Command 유형 |
| result | [EventListStatus]! | |
*EventListStatus*
| filed | type | description |
| did | String | %{color: #ff0000;}?의 did% |
| filename | String | 저장된 파일 이름 |
| status | String | 상태 |
| ticketID | String | |
*요청 예시*
<pre>
mutation{
registerConfig(uploadConfigRequest: {
event: "event-1"
indicators: [
"simple config 1st",
"simple config 2nd"
]
did:"NfoPEFaG1adkCpijR85L66"
command: "uploadConfig"
}){
url
command
}
}
</pre>
*응답 예시*
<pre>
{
"data": {
"registerConfig": {
"url": "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/config/kp73z92n7Iv2fzs.json",
"command": "uploadConfig"
}
}
}</pre>
{{thumnail(file:///home/kimhanui/%EC%82%AC%EC%A7%84/nothing.png)}}