UploadEventZip » 이력 » 버전 21
  이름없음, 2021/06/10 06:27 
  
| 1 | 15 | 이름없음 | h1. UploadEventZip (Multipart-Form) | 
|---|---|---|---|
| 2 | 4 | 이름없음 | |
| 3 | 17 | 이름없음 | Event에 쓰일 zip 파일을 업로드합니다. | 
| 4 | 16 | 이름없음 | |
| 5 | 20 | 이름없음 | *Martipart-Form 요청 형식* | 
| 6 | 4 | 이름없음 | |
| 7 | | key | type | description | | ||
| 8 | 11 | 이름없음 | | file | File | 업로드 할 파일 %{color: #ff0000;}(폴더를 포함하지 않는 zip 확장자)% | | 
| 9 | | operations | Text(one-line) | 표준 GraphQL Post 요청 형식에 따른 쿼리를 작성합니다. | | ||
| 10 | |||
| 11 | 19 | 이름없음 | --- | 
| 12 | 11 | 이름없음 | |
| 13 | 21 | 이름없음 | <pre><code class="java"> | 
| 14 | 4 | 이름없음 | uploadEventZip( | 
| 15 | uploadEventZipRequest: UploadEventZipRequest | ||
| 16 | ): UploadEventZipResponse | ||
| 17 | </code></pre> | ||
| 18 | |||
| 19 | *UploadEventZipRequest* | ||
| 20 | |||
| 21 | 7 | 이름없음 | | field | type | description | | 
| 22 | 6 | 이름없음 | | did | String | snplab 또는 b2b의 did | | 
| 23 | 4 | 이름없음 | | proposalId | String | registerProposal로 얻은 proposalId | | 
| 24 | |||
| 25 | 13 | 이름없음 | *UploadEventZipResponse* | 
| 26 | 1 | 이름없음 | |
| 27 | 18 | 이름없음 | | field | type | description | note | | 
| 28 | | command | String | 요청 Command 종류 | 값: eventZip | | ||
| 29 | | result | %{background-color: #ffffff; color: #333333; float: none; font-size: 13px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: none; font-weight: 400;}[%<notextile></notextile>"EventZipStatus"<notextile></notextile>%{background-color: #ffffff; color: #333333; float: none; font-size: 13px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: none; font-weight: 400;}]% |   |   | | ||
| 30 | 1 | 이름없음 | |
| 31 | 13 | 이름없음 | *EventZipStatus* | 
| 32 | 1 | 이름없음 | |
| 33 | 13 | 이름없음 | | field | type | description | note | | 
| 34 | | did | String | 저장 요청한 did | | | ||
| 35 | | filename | String | 저장된 파일의 이름 | | | ||
| 36 | | mbrNo | Long | 저장 번호 | 이미 존재하는 파일을 저장 요청할 경우 NULL값이 응답됩니다. | | ||
| 37 | | status | String | 상태 | | | ||
| 38 | | ticketID | String | 티켓 ID | | | ||
| 39 | 4 | 이름없음 | |
| 40 | 19 | 이름없음 | --- | 
| 41 | 1 | 이름없음 | |
| 42 | 19 | 이름없음 | *Request Example* | 
| 43 | |||
| 44 | 4 | 이름없음 | <pre> | 
| 45 | { | ||
| 46 | 18 | 이름없음 |   "query": "mutation($param: UploadEventZipRequest) {uploadEventZip(uploadEventZipRequest: $param){ command result{mbrNo filename status did ticketID}}}", | 
| 47 |   "variables": { | ||
| 48 |   "param": { | ||
| 49 | "did": "NfoPEFaG1adkCpijR85L66", | ||
| 50 | "proposalId": "orPxmv15e2oSPufT3TkdmJAkTMncB1FSukQxRAJDdVbjMPUMadf1GkZBX3MRvBQCX4M6Be6JU8DwAH3Nrxo1xnuLRzTt5DVqwJHE5Z8krDLd39Lho" | ||
| 51 | } | ||
| 52 | 4 | 이름없음 | } | 
| 53 | 1 | 이름없음 | } | 
| 54 | 4 | 이름없음 | </pre> | 
| 55 | |||
| 56 | 19 | 이름없음 | *Response Example* | 
| 57 | 4 | 이름없음 | |
| 58 | 1 | 이름없음 | <pre> | 
| 59 | 8 | 이름없음 | { | 
| 60 |     "data": { | ||
| 61 |         "uploadEventZip": { | ||
| 62 | "command": "eventZip", | ||
| 63 | "result": [ | ||
| 64 |                 { | ||
| 65 | 13 | 이름없음 | "mbrNo": 1, | 
| 66 | 1 | 이름없음 | "filename": "cc.zip", | 
| 67 | 8 | 이름없음 | "status": "ASSIGNED", | 
| 68 | "did": "", | ||
| 69 | 11 | 이름없음 | "ticketID": "" | 
| 70 | 8 | 이름없음 | } | 
| 71 | ] | ||
| 72 | } | ||
| 73 | 4 | 이름없음 | } | 
| 74 | }</pre> | 
 
  
  