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