Actions
UploadEventList¶
uploadEventZip 수행 후 저장된 zip 리스트를 확인할 수 있습니다.
uploadEventList(
uploadEventListRequest: UploadEventListRequest
): UploadEventListResponse
UploadEventListRequest
| field | type | description | note |
| did | String | snplab의 did | |
| command | String | 요청한 Command 유형 | 값: eventList |
| proposalId | String | registerProposal로 얻은 proposalId |
UploadEventListResponse
| field | type | description | note |
| command | String | 요청한 Command 유형 | 값: eventList |
| result | [EventListStatus]! |
EventListStatus
| filed | type | description |
| did | String | UploadEventZip 저장 요청한 did |
| filename | String | 저장된 파일 이름 |
| status | String | 상태 |
| ticketID | String | issueTicket으로 발행된 ticket의 id |
Request Example
mutation{
uploadEventList(uploadEventListRequest:{
did:"NfoPEFaG1adkCpijR85L66"
proposalId:"orPxmv15e2oSPufT3Tkc8yMciFsBrESLjj2oxevhvujj17i7PnSUarK7dQvaUoudDrMpJNtGbY5SFsKyw2jqSwyQ7xo4GdpGHcRLZMzQ2ZMhYB9Zj"
command:"eventList"
}){
result{
filename
status
did
ticketID
}
command
}
}
Response Example
{
"data": {
"uploadEventList": {
"result": [
{
"filename": "cc.html",
"status": "ASSIGNED",
"did": "",
"ticketID": ""
}
],
"command": "eventList"
}
}
}
이름없음이(가) 4년 이상 전에 변경 · 14 revisions