Actions
UploadAdvertizeZip (Multipart-Form)¶
광고 페이지에 사용할 zip 파일을 업로드합니다.
Martipart-Form 요청 형식
key | type | description |
file | File | 업로드 할 파일 (폴더를 포함하지 않고, html 및 htm 파일을 가진 zip 확장자) |
operations | Text(one-line) | 표준 GraphQL Post 요청 형식에 따른 쿼리를 작성합니다. |
uploadAdvertizeZip(
did: String
): UploadAdvertizeZipResponse
did
field | type | description |
did | String | snplab또는 b2b의 did |
UploadAdvertizeZipResponse
field | type | description | note |
command | String | 요청 Command 유형 | 값: uploadZip |
fullUrlPath | [String] | 저장된 경로 |
Request Example
{ "query": "mutation($did: String) {uploadAdvertizeZip(did: $did){ command fullUrlPath}}", "variables": { "did": "NfoPEFaG1adkCpijR85L66" } }
Response Example
{ "data": { "uploadAdvertizeZip": { "command": "uploadZip", "fullUrlPath": [ "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/zip/YDk69J/cc.zip" ] } } }
이름없음이(가) 약 4년 전에 변경 · 18 revisions