Skip to main content
POST
템플릿 패키지 업로드

Authorizations

edicus-api-key
string
header
required

모션원에서 발급받는 API 키입니다. 외부에 유출되지 않도록 각별히 주의합니다.

Headers

download-json
boolean
default:false

true면 응답에 변환이 끝난 doc(edicus-doc)이 포함된다. 파일로 저장해 디자이너 모드 편집기의 템플릿 불러오기로 테스트할 수 있다.

Body

multipart/form-data
token
file
required

token.jwt

doc
file
required

template.json

meta
file
required

metadata.json

dp
file[]
required

template-dp.png와 layout-dp-n.png

res
file[]

이미지 리소스 파일들

Response

성공.

template_uri
string

등록된 템플릿의 uri. 편집기 띄우기의 입력으로 쓴다

template_dp_url
string<uri>
layout_uris
string[]
res_uris
string[]
doc
string

download-json: true일 때만. 변환이 끝난 edicus-doc

unregistered_fonts_found
object[]

등록되지 않은 폰트를 사용한 경우. 빈 배열이어야 정상이다

unresolved_font_group_ids
string[]

해석되지 않은 font group id. 빈 배열이어야 정상이다