UploadEventList » 이력 » 버전 9
이름없음, 2021/06/07 01:47
1 | 8 | 이름없음 | h1. uploadEventList |
---|---|---|---|
2 | 3 | 이름없음 | |
3 | 5 | 이름없음 | h2. 요청 필드 |
4 | 3 | 이름없음 | |
5 | <pre><code class="c"> |
||
6 | uploadEventList( |
||
7 | uploadEventListRequest: UploadEventListRequest |
||
8 | ): UploadEventListResponse |
||
9 | </code></pre> |
||
10 | |||
11 | *UploadEventListRequest* |
||
12 | |||
13 | 9 | 이름없음 | table{width: 390px;}. |
14 | 3 | 이름없음 | | field | type | description | |
15 | 1 | 이름없음 | | did | String | snplab의 did | |
16 | 9 | 이름없음 | | command | String | 요청한 Command 유형(값: "eventList") | |
17 | 3 | 이름없음 | | proposalId | String | registerProposal로 얻은 proposalId | |
18 | |||
19 | *UploadEventListResponse* |
||
20 | 1 | 이름없음 | |
21 | 3 | 이름없음 | | field | type | description | |
22 | 9 | 이름없음 | | command | String | 요청한 Command 유형(값: "eventList") | |
23 | 3 | 이름없음 | | result | [EventListStatus]! | | |
24 | |||
25 | 1 | 이름없음 | *EventListStatus* |
26 | |||
27 | 3 | 이름없음 | | filed | type | description | |
28 | 9 | 이름없음 | | did | String | UploadEventZip 저장 요청한 did | |
29 | 3 | 이름없음 | | filename | String | 저장된 파일 이름 | |
30 | 9 | 이름없음 | | status | String | 상태 | |
31 | 4 | 이름없음 | | ticketID | String | issueTicket으로 발행된 ticket의 id | |
32 | 3 | 이름없음 | |
33 | *요청 예시* |
||
34 | 1 | 이름없음 | |
35 | <pre> |
||
36 | 3 | 이름없음 | mutation{ |
37 | 5 | 이름없음 | uploadEventList(uploadEventListRequest:{ |
38 | did:"NfoPEFaG1adkCpijR85L66" |
||
39 | proposalId:"orPxmv15e2oSPufT3Tkc8yMciFsBrESLjj2oxevhvujj17i7PnSUarK7dQvaUoudDrMpJNtGbY5SFsKyw2jqSwyQ7xo4GdpGHcRLZMzQ2ZMhYB9Zj" |
||
40 | command:"eventList" |
||
41 | }){ |
||
42 | result{ |
||
43 | filename |
||
44 | status |
||
45 | did |
||
46 | ticketID |
||
47 | } |
||
48 | command |
||
49 | } |
||
50 | 3 | 이름없음 | } |
51 | </pre> |
||
52 | |||
53 | *응답 예시* |
||
54 | |||
55 | <pre> |
||
56 | { |
||
57 | 5 | 이름없음 | "data": { |
58 | "uploadEventList": { |
||
59 | "result": [], |
||
60 | 7 | 이름없음 | "command": "eventList" |
61 | 5 | 이름없음 | } |
62 | } |
||
63 | 3 | 이름없음 | }</pre> |