UploadAdvertizeZip » 이력 » 버전 15
이름없음, 2021/06/10 06:23
1 | 8 | 이름없음 | h1. UploadAdvertizeZip (Multipart-Form) |
---|---|---|---|
2 | 2 | 이름없음 | |
3 | 12 | 이름없음 | 광고 페이지에 사용할 zip 파일을 업로드합니다. |
4 | 9 | 이름없음 | |
5 | 2 | 이름없음 | Martipart-Form 요청 형식 |
6 | |||
7 | | key | type | description | |
||
8 | 7 | 이름없음 | | file | File | 업로드 할 파일 %{color: #ff0000;}(폴더를 포함하지 않고, html 및 htm 파일을 가진 zip 확장자)% | |
9 | 2 | 이름없음 | | operations | Text(one-line) | 표준 GraphQL Post 요청 형식에 따른 쿼리를 작성합니다. | |
10 | |||
11 | <pre><code class="c"> |
||
12 | uploadAdvertizeZip( |
||
13 | did: String |
||
14 | ): UploadAdvertizeZipResponse |
||
15 | </code></pre> |
||
16 | |||
17 | 5 | 이름없음 | *did* |
18 | |||
19 | | field | type | description | |
||
20 | | did | String | snplab또는 b2b의 did | |
||
21 | |||
22 | *UploadAdvertizeZipResponse* |
||
23 | 2 | 이름없음 | |
24 | 13 | 이름없음 | | field | type | description | note | |
25 | | command | String | 요청 Command 유형 | 값: uploadZip | |
||
26 | | fullUrlPath | [String] | 저장된 경로 | | |
||
27 | 2 | 이름없음 | |
28 | 14 | 이름없음 | --- |
29 | 1 | 이름없음 | |
30 | 14 | 이름없음 | *Request Example* |
31 | |||
32 | 2 | 이름없음 | <pre> |
33 | { |
||
34 | 10 | 이름없음 | "query": "mutation($did: String) {uploadAdvertizeZip(did: $did){ command fullUrlPath}}", |
35 | "variables": { |
||
36 | "did": "NfoPEFaG1adkCpijR85L66" |
||
37 | 2 | 이름없음 | } |
38 | 1 | 이름없음 | } |
39 | 2 | 이름없음 | </pre> |
40 | |||
41 | 14 | 이름없음 | *Response Example* |
42 | 2 | 이름없음 | |
43 | <pre> |
||
44 | { |
||
45 | 3 | 이름없음 | "data": { |
46 | "uploadAdvertizeZip": { |
||
47 | "command": "uploadZip", |
||
48 | "fullUrlPath": [ |
||
49 | 4 | 이름없음 | "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/zip/YDk69J/cc.zip" |
50 | 3 | 이름없음 | ] |
51 | } |
||
52 | 2 | 이름없음 | } |
53 | }</pre> |