UploadAdvertizeZip » 이력 » 개정판 3
개정판 2 (이름없음, 2021/06/04 02:56) → 개정판 3/18 (이름없음, 2021/06/04 06:53)
h1. uploadAdvertizeZip (Multipart-Form) Martipart-Form 요청 형식 | key | type | description | | file | File | 업로드 할 파일 %{color: #ff0000;}(폴더를 포함하지 않고, html 및 html 파일을 가진 않는 Zip 확장자)% | | operations | Text(one-line) | 표준 GraphQL Post 요청 형식에 따른 쿼리를 작성합니다. | h2. *요청 필드* <pre><code class="c"> uploadAdvertizeZip( did: String ): UploadAdvertizeZipResponse </code></pre> p{background-color: #ffffff; border: 0px none; color: #333333; font-style: normal; font-variant-caps: normal; font-variant-ligatures: none; font-weight: bold; margin: 0px;}. *UploadAdvertizeZipResponse* | field | type | description | | command | String | 요청 응답 Command 유형(값: "uploadHtml") 종류 | | fullUrlPath | [String] | 저장된 경로 | *요청 예시* <pre> { "query": "mutation($did: String) {uploadAdvertizeZip(did: $did){ command fullUrlPath}}", "variables": { "did": "NfoPEFaG1adkCpijR85L66" } } </pre> *응답 예시* <pre> { "data": { "uploadAdvertizeZip": "uploadHtml": { "command": "uploadZip", "uploadHtml", "result": [ { "originalFilename": "aaa.html", "fullUrlPath": [ "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/zip/YDk69J/cc.zip" ] "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/html/g14Ofo/aaa.html" } ]} } }</pre>