Pular para o conteúdo principal
POST
Cadastrar recurso

Autorizações

Authorization
string
header
obrigatório

Credencial OAuth da Base39 com os escopos profile e user:org:read, ou chave de API pertencente à organização. A organização e o autor são obtidos da autenticação.

Parâmetros de consulta

name
string
obrigatório

Nome do arquivo, incluindo sua extensão.

Required string length: 1 - 256

Corpo

application/octet-stream

The body is of type file.

Resposta

Arquivo cadastrado e disponível para associação aos relatórios.

object
string
obrigatório

Identifica um recurso de relatório.

Allowed value: "resource"
id
string
obrigatório

Identificador de um recurso permanente da organização autenticada.

Pattern: ^[A-Za-z0-9_-]{1,128}$
name
string
obrigatório

Nome do arquivo, incluindo sua extensão.

Required string length: 1 - 256
mime_type
string
obrigatório

Tipo MIME do arquivo.

size
integer
obrigatório

Tamanho do arquivo em bytes.

Intervalo obrigatório: 0 <= x <= 9007199254740991