Goals API
API for managing Goals resources.
Fields
interface Goals {
title: string;
object: string;
keyResults: any[];
}
API Endpoints
GET /api/goals
Retrieves a list of Goals with pagination.
Query Parameters
limit
: Maximum number of items to return (default: 10)page
: Page number for pagination (default: 1)sort
: Field to sort by (default: createdAt)where
: JSON query for filtering results
GET /api/goals/:id
Retrieves a single Goals by ID.
POST /api/goals
Creates a new Goals.
PATCH /api/goals/:id
Updates an existing Goals.
DELETE /api/goals/:id
Deletes a Goals.
Last updated on