docs(integrator): v2.x.x update — workflow API + full changelog + schema extensions
This commit is contained in:
@@ -39,8 +39,24 @@ curl -X POST -H "Authorization: Bearer $ADMIN_TOKEN" \
|
||||
| `scopes` | array | Фильтр по scope (subset из доступных consumer'у). |
|
||||
| `dictionaries` | array | Фильтр по dictionary names. `null`/`[]` = все доступные. |
|
||||
| `actions` | array | `created` / `updated` / `closed`. `null` = все. |
|
||||
| `categories` | array | Event categories: `dict.record.*` / `dict.definition.*` / `dict.draft.*`. `null` = все. (v2.2.0+) |
|
||||
| `active` | bool | Можно временно отключить без удаления. |
|
||||
|
||||
### Event categories (v2.2.0+)
|
||||
|
||||
С v2.2.0 webhook subscriber'ы могут фильтровать по семантическим категориям:
|
||||
|
||||
| Category | Маппит outbox events |
|
||||
|---|---|
|
||||
| `dict.record.*` | Record CRUD (default до v2.2.0): record.created / .updated / .closed |
|
||||
| `dict.definition.*` | Schema-level: `DefinitionCreated`, `DefinitionUpdated` (inline PATCH) |
|
||||
| `dict.draft.*` | Workflow drafts: `SchemaDraftCreated`, `…ReviewRequested`, `…Decided`, `…Published`, `…Withdrawn` |
|
||||
|
||||
Если `categories=null` подписчик получает все (legacy behaviour).
|
||||
Frontend reviewer dashboards обычно подписываются на `dict.draft.*`
|
||||
для notifications о новых drafts. Bundle consumers (Альтум, BI) —
|
||||
на `dict.record.*`.
|
||||
|
||||
## SSRF guard
|
||||
|
||||
Webhook URLs валидируются перед отправкой:
|
||||
|
||||
Reference in New Issue
Block a user