Removed in 3.7. Historical definition from 3.6.
Update the vetted packages of this participant. Deprecated since Canton 3.5: disabled by default since Canton 3.6 (re-enable temporarily withcanton.participants.<participant>.features.deprecated.enable-deprecated-endpoints-35 = true) and will be removed in Canton 3.7. Use POST /v2/package-vetting/update instead.Protocol Details
Inputs
application/json
changesVettedPackagesChange[]requiredChanges to apply to the current vetting state of the participant on the specified synchronizer. The changes are applied in order. Any package not changed will keep their previous vetting state. Required: must be non-empty
dryRunbooleanIf dry_run is true, then the changes are only prepared, but not applied. If a request would trigger an error when run (e.g. TOPOLOGY_DEPENDENCIES_NOT_VETTED), it will also trigger an error when dry_run. Use this flag to preview a change before applying it. Defaults to false. Optional
synchronizerIdstringIf set, the requested changes will take place on the specified synchronizer. If synchronizer_id is unset and the participant is only connected to a single synchronizer, that synchronizer will be used by default. If synchronizer_id is unset and the participant is connected to multiple synchronizers, the request will error out with PACKAGE_SERVICE_CANNOT_AUTODETECT_SYNCHRONIZER. Optional
expectedTopologySerialPriorTopologySerialThe serial of last
VettedPackages topology transaction on a given participant and synchronizer.updateVettedPackagesForceFlagsstring[]Controls whether potentially unsafe vetting updates are allowed. Optional: can be empty
Outputs
application/json
pastVettedPackagesVettedPackagesThe list of packages vetted on a given participant and synchronizer, modelled after
VettedPackages in topology.proto <https://github.com/digital-asset/canton/blob/main/community/base/src/main/protobuf/com/digitalasset/canton/protocol/v30/topology.proto#L206>_. The list only contains packages that matched a filter in the query that originated it.newVettedPackagesVettedPackagesrequiredThe list of packages vetted on a given participant and synchronizer, modelled after
VettedPackages in topology.proto <https://github.com/digital-asset/canton/blob/main/community/base/src/main/protobuf/com/digitalasset/canton/protocol/v30/topology.proto#L206>_. The list only contains packages that matched a filter in the query that originated it.application/json
codestringrequiredcausestringrequiredcorrelationIdstringtraceIdstringcontextMap_StringrequiredresourcesTuple2_String_String[]errorCategoryinteger (int32)requiredgrpcCodeValueinteger (int32)retryInfostringdefiniteAnswerbooleanHistory
Removed in
3.7Last available in 3.6. Retained for historical reference.
Updated
3.6The POST /v2/package-vetting operation changed in this snapshot.
Updated
3.5The POST /v2/package-vetting operation changed in this snapshot.
Deprecated
3.4cURL
cURL
Python
Python
JavaScript
JavaScript
PHP
PHP
Go
Go
Java
Java
Ruby
Ruby
200application/json
200
400text/plain
400
defaultapplication/json
default