Skip to content

API: PATCH /cards/:id silently ignores parent_card_id #45

@steveclarke

Description

@steveclarke

Problem

The PATCH /cards/:id endpoint silently ignores parent_card_id in the request body. It returns HTTP 200 but the parent is not updated. This prevents reparenting cards via the API or CLI.

parent_card_id works correctly on POST /cards (create), so the field is supported — just not on update.

Request

  1. Support parent_card_id on the PATCH endpoint to allow reparenting cards
  2. If that won't be supported, return a 4xx error instead of silently ignoring the field — the current 200 response is misleading

Workaround

The --parent-card flag has been removed from suth cards update to avoid confusion. Parent can only be set during creation via suth cards create --parent-card.

Related

  • Superthread card: #1201

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions