OpenVeo Core server

API Docs for: 7.0.0
Show:

CORE_HOOKS

Module: core-plugin

static

Summary

Defines the list of hooks sent by core.

Properties

GROUP_UPDATED

Syntax

GROUP_UPDATED

String final

Summary

A content group has been updated.

With:

  • Object The hook data with:
    • String id The id of updated group
    • Object modifications The list of modifications applied
  • Function The function to call when action is done

Default: 'group.updated'

GROUPS_ADDED

Syntax

GROUPS_ADDED

String final

Summary

One or several content groups have been added.

With:

  • Array The list of added groups
  • Function The function to call when action is done

Default: 'groups.added'

GROUPS_DELETED

Syntax

GROUPS_DELETED

String final

Summary

One or several content groups have been deleted.

With:

  • Array The list of deleted groups
  • Function The function to call when action is done

Default: 'groups.deleted'

ROLES_DELETED

Syntax

ROLES_DELETED

String final

Summary

One or several OpenVeo roles have been deleted.

With:

  • Array The list of deleted role ids
  • Function The function to call when action is done

Default: 'roles.deleted'

USERS_DELETED

Syntax

USERS_DELETED

String final

Summary

One or several OpenVeo users have been deleted.

With:

  • Array The list of deleted user ids
  • Function The function to call when action is done

Default: 'users.deleted'