Listar metas
Changed onRetorna a lista paginada de metas, ordenada por status (ativas primeiro) e, dentro de cada status, da mais recente para a mais antiga. Cada meta traz suas metas filhas, a contagem de resultados já apurados e a variação percentual do progresso em relação ao último resultado. Aceita paginação e filtros básicos.
Request
- Base URL: https://api.olie.ai
- URL: https://api.olie.ai/api/management/goals
- Auth: HTTP bearer
Query parameters
Filtra pelo título da meta (correspondência parcial, sem diferenciar maiúsculas).
Filtra pelo status exato. Valores aceitos: active, inactive, completed.
Filtra pelo tipo exato. Valores aceitos: manual, projects_created, projects_created_by_user, funnel_steps_links, funnel_steps_links_by_user, composite.
Filtra pelo modo de comparação exato. Valores aceitos: target (atingir o alvo), limit (não ultrapassar o alvo).
Filtra pela periodicidade exata, em dias. Use 0 para as metas que apuram o intervalo inteiro de uma vez.
Filtra as metas restritas ao usuário informado (ID UUID). Só retorna metas dos tipos projects_created_by_user e funnel_steps_links_by_user.
Filtra as metas que apuram a etapa de funil informada (ID numérico). Só retorna metas dos tipos funnel_steps_links e funnel_steps_links_by_user.
Retorna as metas com data de início maior ou igual à data informada (YYYY-MM-DD).
Retorna as metas com data de término menor ou igual à data informada (YYYY-MM-DD).
Controla as metas removidas. Valores aceitos: with (inclui as removidas), only (apenas as removidas). Sem o parâmetro, as removidas ficam de fora.
Ordenação: nome do campo para crescente ou prefixado com '-' para decrescente; vários campos separados por vírgula. Campos aceitos: title, status, created_at, updated_at, start_date, end_date, target, progress, periodicity. Padrão: status,-created_at.
Número da página. Padrão 1.
Quantidade de metas por página. Padrão 30, máximo 100.
Response
Sucesso
Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the
///response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed fromintegertonumberfor status - warning
added the new
activeenum value to the//response property for the response status - warning
added the new
completedenum value to the//response property for the response status - warning
added the new
compositeenum value to the//response property for the response status - warning
added the new
countenum value to the//response property for the response status - warning
added the new
currencyenum value to the//response property for the response status - warning
added the new
funnel_steps_linksenum value to the//response property for the response status - warning
added the new
funnel_steps_links_by_userenum value to the//response property for the response status - warning
added the new
inactiveenum value to the//response property for the response status - warning
added the new
invalid_filter_queryenum value to theresponse property for the response status - warning
added the new
limitenum value to the//response property for the response status - warning
added the new
manualenum value to the//response property for the response status - warning
added the new
percentageenum value to the//response property for the response status - warning
added the new
permission_requiredenum value to theresponse property for the response status - warning
added the new
projects_createdenum value to the//response property for the response status - warning
added the new
projects_created_by_userenum value to the//response property for the response status - warning
added the new
targetenum value to the//response property for the response status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status
- breaking
- info
added the non-success response with the status
- info
added the non-success response with the status
- info