🔝Top Line APIs
Policy API Documentation & DMRV Aliases
Summary
Policy authors can define clean, human-readable API endpoint aliases for their policies, giving each integration point a simple, descriptive name instead of a raw internal URL. These aliases, along with descriptions, can be configured directly in the policy editor and are published as browsable documentation, making it easier for external systems and third-party developers to integrate with a policy's API.
1. Configuring API Documentation
1.1. Open the Configuration Dialog
Open any policy in Draft status in the Policy Configurator.
Click the API button in the top toolbar.

1.2. Add Endpoints
Click + Add Endpoint.
Fill in the fields for each row:
Block
Select a block from the dropdown list
Method
Choose BOTH, GET or POST
Name
Short name (auto-filled from block name)
Description
What the endpoint does
Alias
URL-friendly identifier, e.g. new-device, create-application
Preview URL
Read-only: /api/v1/dmrv/{policyId}/{alias}

1.3. Validation Rules
Alias: only
a-z,0-9,-allowedBlock and Alias must be unique
Block and Alias are required
Errors appear below the corresponding row.

1.4. Save
Click Save in the modal to apply changes locally.
Click Save in the toolbar to persist the policy to the database.
Note: URL generation (both technical and DMRV) happens server-side on policy save.
2. Viewing Documentation
Go to Policies → Manage Policies.
Click the Documentation button (book icon) on a policy row.

The dialog shows all configured endpoints:

Name
Endpoint name
Description
User-provided description
Method
BOTH (blue), GET (green) or POST (orange)
URL
Technical URL to block by tag
Alias URL
External DMRV URL
Query Params
The endpoint parameters
Copy
Copies Alias URL to clipboard
3. Using the DMRV Proxy
3.1. Endpoint
3.2. How It Works
3.3. Method Routing
GET
getBlockByTagName
GET /api/v1/policies/:id/tag/:tag
POST
setBlockDataByTag
POST /api/v1/policies/:id/tag/:tag/blocks
3.4. Authentication
Standard Bearer token. Required permissions: POLICIES_POLICY_EXECUTE, POLICIES_POLICY_MANAGE.
3.5. Response Codes
200
Success
401
Unauthorized
404
Policy not found or alias not configured for this method
503
Block Unavailable (block exists but not accessible in current policy state)
3.6. Example
Request:
Response:
4. API Reference
GET /api/v1/policies/:policyId/about
Returns the configured documentation entries.
Response example:
Last updated