ν리둀/ν¬μ€νΈλ‘€ μμ¬ μ λ‘λ ν ν°μ μ΄μ©νμ¬, λμμ νμΌμ μ λ‘λλ₯Ό μ€νν©λλ€.
- multipart/form dataλ₯Ό μ΄μ©ν μ λ‘λ λ°©μμ λλ€.
- fileμ token νλλΉ νκ°λ§ μ λ‘λ κ°λ₯ν©λλ€.
Request URL
POST {aduploadUrl}?token={token}
Request Parameters
Parameter Name | Type | Description |
---|---|---|
token (Required) | String | ν리둀/ν¬μ€νΈλ‘€ μμ¬ μ λ‘λ ν ν° APIμμ μ‘°νν ν ν° κ° |
videofile (Required) | File (multipart/form) | μ λ‘λ ν ν리둀/ν¬μ€νΈλ‘€ μμ¬ λ°μ΄ν° |
title | String | ν리둀/ν¬μ€νΈλ‘€ μμ¬ λ°μ΄ν° μ λͺ© (β» μμ κ²½μ° νμΌλͺ μΌλ‘ λ체) |
Response Example
{
uploadInfo: {
uploadDetail: {
duration: 59234,
video_height: 720,
access_key: "cN1elHmBK1fJ4yj4zxgmoBpTSNLYYHAY",
video_width: 1280,
type: "video",
video_framerate: 30.0,
token: "JDz8Ktjb4NZNYGXhwww1Y3MP8cmsiEoC"
},
errorInfo: {
errorCode: "None",
errorMessage: ""
}
}
}
Response Data Value
Name | Type | Description |
---|---|---|
access_key | String | ν리둀/ν¬μ€νΈλ‘€ μμ¬ λμμ ν€ |
duration | Integer | λμμ μ¬μ μκ° κΈΈμ΄ (milli second) |
video_height | Integer | λμμ μλ³Έ ν΄μλ β μΈλ‘ κ° |
video_width | Integer | λμμ μλ³Έ ν΄μλ β κ°λ‘ κ° |
video_framerate | Float | λμμ μλ³Έ νλ μ μ |
token | String | ν리둀/ν¬μ€νΈλ‘€ μμ¬ μ λ‘λμ μ¬μ©ν ν ν° |