Criar ativo C2C
**ESTE PONTO DE ACESSO ESTÁ DESCONTINUADO. Use /v2/devices/assets em vez dele. Embora este ponto de acesso continue funcionando normalmente, pedimos que as integrações passem a usar o novo ponto de acesso para manter a consistência com o restante da API C2C.
Início de upload de ativo especificamente para dispositivos e aplicativos C2C.
Autenticação
Autenticação bearer na forma Bearer <token>, onde token é seu token de autenticação.
Cabeçalhos
Solicitação
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.
Cabeçalhos de resposta
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
Resposta
Asset create success response.
When is_realtime_asset was set to true in the request, a simplified payload will be returned.