Package

List revisions of a package

Changed on

List a package's revisions, newest first. Items don't include components unless you send name: then each item carries only the components with that name, which gives you the history of one component across revisions.

get/packages/{id}/revisions

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/packages/{id}/revisions
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The package id.

Query parameters

namestring

Include the components with this name on each revision.

offsetinteger

The starting point for pagination.

limitinteger

The maximum number of results to return per page.

Response

The package's revisions.

Example response

{
  "paging": {
    "limit": 20,
    "total": 3
  },
  "results": [
    {
      "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
      "package_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "version": "1.4.0",
      "parent_revision_id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
      "parent_version": "1.3.0",
      "slug": "my-scope",
      "name": "My scope",
      "components": [
        {
          "name": "spec",
          "resource_type": "service_specification",
          "resource_id": "7b2d1c5e-8f4a-4e3b-9c6d-1a2b3c4d5e6f",
          "resource_revision_id": "0c9e8d7f-6a5b-4c3d-8e2f-1a0b9c8d7e6f"
        }
      ],
      "created_at": "2026-09-14T12:00:00.000Z",
      "created_by": "jane.doe@example.com"
    }
  ]
}

Changes