goals

Atualizar informações de uma meta

Atualiza as informações de uma meta existente, incluindo a sincronização de metas filhas (children). Após a atualização, executa o cálculo persistente do progresso.

put/api/management/goals/{goal}

Request body

OR
OR
OR
OR
OR

Example request

{
  "title": "Nova meta",
  "description": "Descrição da meta",
  "status": "active",
  "type": "manual",
  "periodicity": 1,
  "target": 10,
  "unit": "count",
  "comparison_mode": "target",
  "progress": 1,
  "start_date": "2026-05-27",
  "end_date": "2026-06-05",
  "children": []
}

Response

200

Changes

Changed in 3 of the 80 revisions of this API.5231

  • 4a6533a9991446See the full diff
    • added the new required request property /

      new-required-request-property

    • added the new required request property /

      new-required-request-property

    • added the new required request property /

      new-required-request-property

    • added the new required request property /

      new-required-request-property

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

    • removed the request property /

      request-property-removed

  • 17ef2bf71daa1111See the full diff
    • the request's body type changed from object to no type

      request-body-type-changed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • added subschema #1: Meta Manual subschema #2: Meta de Projetos Criados subschema #3: Meta de Projetos Criados por Usuário subschema #4: Meta de Projetos em Etapa subschema #5: Meta de Projetos em Etapa por Usuário subschema #6: Meta Composta to the request body oneOf list

      request-body-one-of-added