Skip to content

fix: doc delete has no verified way to archive a page before deleting it #36

Open

Description

@cpatrickalves

doc delete sends a plain DELETE to the page URL. Nobody has yet shown which API call archives a page and then deletes it on a real server. PR #22 tried PATCH archived_at and then DELETE, and that part was dropped before merge because no server confirmed it.

What we know

On a self-hosted Community Edition server, checked on 2026-11-06 (version not recorded), with a disposable project page:

Request Response
OPTIONS .../projects/<project-id>/pages/<page-id>/ 405, Allow: GET
PATCH .../pages/<page-id>/ with {"archived_at": "<today>"} 405
POST .../pages/<page-id>/archive/ 404, {"error": "Page not found."}
DELETE .../pages/<page-id>/ 405
GET .../pages/<page-id>/ 200

doc create works on the same server. So on this server doc update and doc delete cannot work through the v1 API.

Other sources disagree with each other:

What is needed

Run these on a Plane Cloud or Commercial server, and on a recent CE release, and record the version of each:

  1. OPTIONS on the page URL, to see the allowed methods.
  2. POST .../archive/ on an active page: the status and the response body.
  3. DELETE on an active page and on an archived page.
  4. GET afterwards, to see whether the page is gone.

Once one server confirms an archive call, doc delete can archive first and check the archive applied (ADR-0007) before it deletes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions