PageVersions

Create a page_version

Changed on

Creates a page version. Pass exactly one of:

  • page_id — snapshots the page's current title and body as a new version, optionally labelled via name.
  • restored_from_version_id — creates a new version whose snapshot is copied from an earlier version, marking a restore point. The page's live body is not changed by this call.

Editing a page records versions automatically (edits within two minutes merge into one); use this endpoint for named snapshots and restore points.

post/api/v2/page_versions

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/page_versions
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "pages",
    "attributes": {
      "title": "Architecture Overview",
      "note": "System architecture documentation"
    },
    "relationships": {
      "project": {
        "data": {
          "type": "projects",
          "id": "6899"
        }
      }
    }
  }
}

Response

Single page version

Example response

{
  "data": {
    "id": "45",
    "type": "page_versions",
    "attributes": {
      "version_number": 3,
      "created_at": "2026-03-10T15:00:00.000+00:00"
    },
    "relationships": {
      "page": {
        "data": {
          "type": "pages",
          "id": "78"
        }
      },
      "author": {
        "data": {
          "type": "people",
          "id": "12"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

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

    • warning

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

    • warning

      added the new null_bytes_in_params 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

    • info

      added the non-success response with the status

    • breaking

      response property data/attributes/prosemirror_steps list-of-types was widened by adding types array and null to media type application/vnd.api+json of response 201

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from integer to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • warning

      deleted the header request parameter X-Organization-Id

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    This list may be incomplete.