Pular para o conteúdo principal
GET
/
function
/
list
Lista todas as funções de API
curl --request GET \
  --url https://api.wppfy.com/function/list \
  --header 'token: <api-key>'
[
  {
    "name": "<string>",
    "description": "<string>",
    "method": "<string>",
    "endpoint": "<string>",
    "id": "<string>",
    "active": false,
    "headers": "<string>",
    "body": "<string>",
    "parameters": "[]",
    "undocumentedParameters": "<string>",
    "header_error": false,
    "body_error": false,
    "owner": "<string>",
    "created": "strftime('%Y-%m-%d %H:%M:%fZ')",
    "updated": "strftime('%Y-%m-%d %H:%M:%fZ')"
  }
]

Autorizações

token
string
header
obrigatório

Resposta

Lista de funções recuperada com sucesso

name
string
obrigatório

Nome da função

description
string
obrigatório

Descrição da função

method
string
obrigatório

Método HTTP da requisição

endpoint
string
obrigatório

Endpoint da API

id
string

ID único da função gerado automaticamente

active
boolean
padrão:false

Indica se a função está ativa

headers
string | null

Cabeçalhos da requisição

body
string | null

Corpo da requisição

parameters
string | null
padrão:[]

Parâmetros da função

undocumentedParameters
string

Parâmetros não documentados

header_error
boolean
padrão:false

Indica erro de formatação nos cabeçalhos

body_error
boolean
padrão:false

Indica erro de formatação no corpo

owner
string

Proprietário da função

created
string<date-time>
padrão:strftime('%Y-%m-%d %H:%M:%fZ')

Data de criação

updated
string<date-time>
padrão:strftime('%Y-%m-%d %H:%M:%fZ')

Data de atualização