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