Skip to content
HALOWERK

Package and Supply Chain Security

dart lock registry policy

Dart hosted package registry policy identifies packages whose locked registry differs from an approved origin. Use it when an agent needs checking a package mirror migration.

POST https://paket.halowerk.com/v1/dart-lock-registry-policy

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
lockfilestringYesDart pubspec.lock YAML or a pinned pub@ revision shown in the usage guide.
approved_originstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lockfile": {
      "type": "string",
      "maxLength": 64000,
      "minLength": 1,
      "description": "Dart pubspec.lock YAML or a pinned pub@ revision shown in the usage guide."
    },
    "approved_origin": {
      "type": "string",
      "maxLength": 220,
      "minLength": 1
    }
  },
  "required": [
    "lockfile",
    "approved_origin"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lockfile": "pub@b5263b3f",
  "approved_origin": "https://pub.dev"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’