Pages

Converts a subpage into a doc

Changed on

Promotes a subpage into a standalone doc: it is detached from its parent, keeps the project of the doc it came from, gets its own public_uuid, and its subpages move with it. The caller gets full access and the original doc's person memberships are copied over. No request body.

patch/api/v2/pages/{id}/convert_to_doc

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/pages/{id}/convert_to_doc
  • Auth
    none declared

Path parameters

idstring required

The numeric ID of the page.

Response

Single page

Example response

{
  "data": {
    "id": "78",
    "type": "pages",
    "attributes": {
      "title": "Architecture Overview",
      "note": "System architecture documentation for the authentication service",
      "created_at": "2026-01-20T10:00:00.000+00:00",
      "updated_at": "2026-03-10T15:00:00.000+00:00",
      "last_activity_at": "2026-03-10T15:00:00.000+00:00",
      "position": 1,
      "archived_at": null
    },
    "relationships": {
      "project": {
        "data": {
          "type": "projects",
          "id": "6899"
        }
      },
      "creator": {
        "data": {
          "type": "people",
          "id": "12"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

      added the new project_already_exported enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status