Package

Read one revision of a package: its version and bill of materials.

get/packages/{id}/revisions/{revisionId}

Request

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

Path parameters

idstring uuid required

The package id.

revisionIdstring uuid required

The revision id.

Response

The package revision.

idstring uuid

The revision id. This is what a service's package_revision_id points at.

package_idstring uuid

The package this revision belongs to.

versionstring

Semver of this revision.

parent_revision_idstring uuid nullable

The package's latest revision when this one was published.

parent_versionstring nullable

Semver of parent_revision_id, or null for a first revision.

slugstring

The package's slug.

namestring

The package's name.

created_atstring date-time

When the revision was published.

created_bystring nullable

The user who published the revision, or null.

Example response

{
  "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