C2C 에셋 만들기
C2C 에셋 만들기
C2C 디바이스 및 애플리케이션을 위한 에셋 업로드 시작입니다.
참고: 이 엔드포인트는 이전에 /v2/assets였으며, 해당 엔드포인트도 정상적으로 계속 작동하지만, 대신 이 엔드포인트를 사용하는 것이 좋습니다.
인증
Bearer <token> 형식의 Bearer 인증. 여기서 token은 인증 토큰입니다.
헤더
요청
While supported, we encourage you to switch from application/x-ww-form-urlencoded to application/json in order to support future workflows that will only be supported through JSON.
When is_realtime_upload is true, call must be made in application/json.
MIME type like video/quicktime. Many languages have built in utilities for detecting file mimetype (see Go and Python for examples).
Required if is_realtime_upload is true.
If true, File data for this asset is to be uploaded through the Real-time Uploads API.
If false, File data for this asset will be uploaded through the default API.
Must be false if filetype is not file.
응답 헤더
The number of times you can make this call within the x-ratelimit-window
The number of remaining times you can make this API call in the x-ratelimit-window
응답
Asset create success response.
When is_realtime_asset was set to true in the request, a simplified payload will be returned.