Package

Diff two revisions

Changed on

Compare two revisions of one package. changes lists every component name whose pin differs, with the component as pinned by each side (null on the side where the name doesn't exist). Artifact components also carry the artifact type and the pinned revision's meta, so you can tell what changed, for example a new digest or git reference.

get/packages/{id}/diff

Request

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

Path parameters

idstring uuid required

The package id.

Query parameters

fromstring uuid required

The base revision id.

tostring uuid required

The target revision id.

Response

The differences between the two revisions.

Example response

{
  "from": {
    "id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
    "version": "1.3.0"
  },
  "to": {
    "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
    "version": "1.4.0"
  }
}

Changes