title, url, and custom fields ticket_id and country.
fields key, including two default fields:
title - A human-readable title for the taskurl - An optional URL that provides additional context or links to related resources. The Fragment player will open this URL when the task is opened in the chrome extension.snake_case for custom field attributes though any valid JSON key is allowed.
The API will accept any valid JSON.
To configure how the custom fields behaved in the UX, see Configure the data model.
POST /tasks: create a taskPUT /tasks/:id: create or update a task (idempotent)PATCH /tasks/:id: update a taskPOST /tasks/batch: bulk create tasksPUT /tasks/batch: bulk create or update tasks (idempotent)PATCH /tasks/batch: bulk update tasksPOST /tasks endpoint to create the task in Fragment.
PUT /tasks/{uid} endpoint instead of POST /tasks.
The PUT endpoint is idempotent and requires you to generate a task ID that is stable across retries.
For example:
PATCH /tasks/{uid} endpoint to update the task in Fragment.
For example
POST /tasks/batch: create the tasks in Fragment in bulk.PUT /tasks/batch: create or update the tasks in Fragment in bulk.PATCH /tasks/batch: update the tasks in Fragment in bulk.Task schema, same as Task Model.
Task Status Enum.
TODO, STARTED, DONE Task Status Enum.
TODO, STARTED, DONE User Schema.