Actions
UploadEventList » 이력 » 개정판 3
« 뒤로 |
개정판 3/14
(비교(diff))
| 다음 »
이름없음, 2021/06/04 03:18
uploadEventList¶
요청 필드¶
uploadEventList(
uploadEventListRequest: UploadEventListRequest
): UploadEventListResponse
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 | ?의 did |
| filename | String | 저장된 파일 이름 |
| status | String | 상태 |
| ticketID | String |
요청 예시
mutation{
registerConfig(uploadConfigRequest: {
event: "event-1"
indicators: [
"simple config 1st",
"simple config 2nd"
]
did:"NfoPEFaG1adkCpijR85L66"
command: "uploadConfig"
}){
url
command
}
}
응답 예시
{
"data": {
"registerConfig": {
"url": "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/config/kp73z92n7Iv2fzs.json",
"command": "uploadConfig"
}
}
}
{{thumnail(file:///home/kimhanui/%EC%82%AC%EC%A7%84/nothing.png)}}
이름없음이(가) 4년 이상 전에 변경 · 3 revisions