I am looking to manage bookmark creation/updates, visualizations, and sharing. Is there any webhook event available that is triggered by these actions?
Bookmarks webhook
Best answer by Thomas Schreiner
Hi
The Bookmark events (saved inventory searches, reports, dashboards and diagrams) are not accessible via the Webhooks management UI, so you need to subscribe to them via the subscriptions API or - a bit easier - via the Aronis LeanIX Console (select “Example 12”).
The bookmarks events look like this:
1.) BookmarkCreatedEvent
{
"workspaceId": "WORKSPACE_ID",
"userId": "USER_ID",
"bookmarkId": "4fac1402-61c1-45f3-8974-89e5fd7abbb4",
"bookmarkName": "Data Quality Report",
"bookmarkType": "INVENTORY",
"bookmarkSharingType": "DEPRECATED",
"bookmarkGroupKey": null,
"permittedReadUserIds": [
"7d297c25-e38f-4148-b271-2b8c5b443b5a"
],
"permittedWriteUserIds": [
"7d297c25-e38f-4148-b271-2b8c5b443b5a"
],
"referencedFactSheetIds": [],
"predefined": false,
"id": 13546,
"type": "BookmarkCreatedEvent",
"createdAt": "2020-11-17T11:54:03.038299Z",
"sharedByUserId": null,
"transactionSequenceNumber": 90195
}
2.) BookmarkUpdatedEvent:
{
"workspaceId": "WORKSPACE_ID",
"userId": "USER_ID",
"bookmarkId": "4fac1402-61c1-45f3-8974-89e5fd7abbb4",
"bookmarkName": "Data Quality Report new",
"bookmarkType": "INVENTORY",
"bookmarkSharingType": "DEPRECATED",
"bookmarkGroupKey": null,
"permittedReadUserIds": [
"7d297c25-e38f-4148-b271-2b8c5b443b5a"
],
"permittedWriteUserIds": [
"7d297c25-e38f-4148-b271-2b8c5b443b5a"
],
"referencedFactSheetIds": [],
"actorUserId": "7d297c25-e38f-4148-b271-2b8c5b443b5a",
"oldBookmarkName": "Data Quality Report",
"oldBookmarkSharingType": "DEPRECATED",
"oldPermittedReadUserIds": [
"7d297c25-e38f-4148-b271-2b8c5b443b5a"
],
"oldPermittedWriteUserIds": [
"7d297c25-e38f-4148-b271-2b8c5b443b5a"
],
"oldReferencedFactSheetIds": [],
"oldUserId": "7d297c25-e38f-4148-b271-2b8c5b443b5a",
"predefined": false,
"oldPredefined": false,
"id": 13547,
"type": "BookmarkUpdatedEvent",
"createdAt": "2020-11-17T11:54:56.918713Z",
"sharedByUserId": null,
"transactionSequenceNumber": 90198
}
3.) BookmarkDeletedEvent:
{
"workspaceId": "WORKSPACE_ID",
"userId": "USER_ID",
"bookmarkId": "4fac1402-61c1-45f3-8974-89e5fd7abbb4",
"bookmarkName": "Data Quality Report new",
"bookmarkType": "INVENTORY",
"bookmarkSharingType": "DEPRECATED",
"bookmarkGroupKey": null,
"id": 13548,
"type": "BookmarkDeletedEvent",
"createdAt": "2020-11-17T11:55:26.876388Z",
"sharedByUserId": null,
"transactionSequenceNumber": 90200
}
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
