Documentation

Utility

Seed sample OKR data

Creates sample OKR data (2024, 2025) for testing. Skips years that already exist.

ProductionStagingUAT
POSThttps://ankiren.com/api/me/okr/seed

Responses

200 · Sample data seeded

  • successboolean
  • messagestring
  • yearsCreated[integer]
application/json
{
  "success": true,
  "message": "Seeded OKR data for years: 2024, 2025",
  "yearsCreated": [
    2024,
    2025
  ]
}

Sample Code

Đổi ngôn ngữ ở ô Language trên thanh Documentation.

cURL
curl -X POST 'https://ankiren.com/api/me/okr/seed' \
  -H 'Authorization: Bearer <token>' \
  -H 'Accept: application/json'