Project

General

Profile

Actions

Feature #119

open

API - don't return 200 when attempting to modify unchangeable attributes

Added by Sam Pearson 10 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
01/13/2026
Due date:
% Done:

0%

Estimated time:

Description

If you try to hit an update endpoint like this:

{{protocol}}://{{host}}:{{port}}/api/tasks/{{task_id}}

With a body that includes an updated attribute which you can't change, like "completed",

you'll get a 200 response including with a body indicating that the API updated what it could but the protected field won't be changed.

Instead, you should get a different http code and you should be notified that the request was malformed.

No data to display

Actions

Also available in: Atom PDF