Actions
UploadEventList » 이력 » 개정판 4
« 뒤로 |
개정판 4/14
(비교(diff))
| 다음 »
이름없음, 2021/06/04 04:35
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 유형(고정 "eventList") |
| result | [EventListStatus]! |
EventListStatus
| filed | type | description |
| did | String | ?의 did |
| filename | String | 저장된 파일 이름 |
| status | String | 상태 |
| ticketID | String | issueTicket으로 발행된 ticket의 id |
요청 예시
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"
}
}
}
이름없음이(가) 4년 이상 전에 변경 · 4 revisions