API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · objectives

Objective (OKR) Schema

ID del esquema
objective
Colección
objectives
Permisos
  • Leerobjective_view
  • Crearobjective_create
  • Modificarobjective_edit
  • Eliminarobjective_delete

Campos

Objective (OKR) Schema

objectives4 permisos

Schema for validating objective entities (Zielvereinbarungen / OKRs)

employeeIduuidobligatorio

UUID of the employee profile

reviewIduuidopcional

Optional link to a performance review

admite null
titlestringobligatorio

Objective title (e.g. "Kundenzufriedenheit steigern")

1–500 caracteres
descriptionstringopcional

Detailed objective description

máx. 5000 caracteresadmite null
periodStartdateobligatorio

Period start

periodEnddateobligatorio

Period end

statusstringopcional
DRAFTACTIVECOMPLETEDCANCELLED
Valor por defecto: "DRAFT"
keyResultsobject[]opcional

Key results for this objective

Valor por defecto: []
krIduuidopcional
titlestringobligatorio

Key result title

1–500 caracteres
unitstringopcional

Unit of measurement (e.g. "%", "Stunden", "NPS")

máx. 50 caracteresadmite null
targetValuenumberobligatorio

Target value to achieve

currentValuenumberopcional

Current progress value

Valor por defecto: 0
progressnumberopcional

Progress percentage (0-100)

0 – 100Valor por defecto: 0
overallProgressnumberopcional

Overall objective progress

0 – 100Valor por defecto: 0
notesstringopcional
máx. 5000 caracteresadmite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/objectives — Lista, paginada y filtrable
  • GET /api/v1/objectives/<id> — Una entidad
  • POST /api/v1/objectives — Crear
  • PATCH /api/v1/objectives/<id> — Actualización parcial
  • DELETE /api/v1/objectives/<id> — Eliminación lógica
  • GET /api/v1/objectives/<id>/timeline — Auditoría y actividades

Búsqueda