Skip to main content
Baobyte AML Suite
Documentation contents

API reference

Content packs

4 operations in this area of the contract. Every one declares the permission it requires.

Contract version 0.2.0All areas

Operations

GET/v1/content-packs

Imported content packs

Required permission: contentpack.pack.readlistContentPacks
Show parameters and responses

Responses

  • 200Content packsContentPackPage
GET/v1/content-packs/{packID}/diff

Preview what applying a pack would change

Required permission: contentpack.pack.readdiffContentPack

Required by architectural mandate 5. `conflicts_with_overrides` counts the changes that need a human decision: a pack default moving underneath a customisation the tenant made deliberately. The override still wins, but the compliance officer needs to know the ground shifted beneath it.

Show parameters and responses

Parameters

NameInTypeDescription
packIDrequiredpathstring—

Responses

  • 200Upgrade diffPackDiff
  • 404—
POST/v1/content-packs/{packID}/install

Propose applying a content pack

Required permission: contentpack.pack.installinstallContentPack

Applying regulatory content is a four-eyes action. The diff is what gets approved, and the approved diff is retained on the installation record so the decision is reconstructable.

Show parameters and responses

Parameters

NameInTypeDescription
packIDrequiredpathstring—

Responses

  • 202Installation proposed and awaiting approvalApprovalRequest
  • 400The pack failed signature or digest verification
GET/v1/content-packs/installations

This tenant's pack installation history

Required permission: contentpack.pack.readlistPackInstallations
Show parameters and responses

Responses

  • 200Installations, newest firstPackInstallationPage