Skip to main content
Version: 12.x (Current)

Console Events

Events allow users to be notified when certain operations are performed in the Console.

Event types

All the events triggered by the Console share some common properties:

PropertyValueDescription
eventNamestringThe name of the event, usually in the form of subject_action
eventTimestampnumberThe timestamp of the event emission
payloadobjectContains the event-specific payload

Project Created

This event will be triggered when a Project is created successfully.

PropertyValueDescription
tenantIdstringThe identifier of the Company the Project belongs to
projectIdstringThe identifier of the newly created Project

Service Created

This event will be triggered when a microservice is successfully generated from a marketplace template or example.

note

The event is triggered as soon as the service's repository is successfully created, hence there is no guarantee that the service will be found in the Project configuration, yet.

PropertyValueDescription
tenantIdstringThe identifier of the Company the service belongs to
projectIdstringThe identifier of the Project the service belongs to
repositoryURLstringThe URL of the repository that hosts the service code
serviceNamestringThe name of the service inside the Project configuration
templateIdstringThe identifier of the template in the Console marketplace from which the service was created

Tag Created

This event will be triggered when a Project is successfully tagged from Console.

PropertyValueDescription
tenantIdstringThe identifier of the Company the service belongs to
projectIdstringThe identifier of the Project the service belongs to
tagNamestringThe name of the tag created from the Console
refstringThe ref of the tag
messagestringThe message of the tag compiled from the Console
releaseDescriptionstringThe release description of the tag compiled from the Console
projectobjectThe Project metadata (ideally, the whole Project resource)

User added

Available from v12.3.0

This event will be triggered when a user gains access to a company, project, or environment, either directly or via a group.

note

This event does not guarantee that the user in question already had access to the resource via another group, or directly.

PropertyValueDescription
userIdstringThe user identifier
emailstringThe user email
roleIdstringThe identifier of the role assigned to the user
groupIdstringThe identifier of the group through which the user was added to the Company (if any)
resourceobjectThe field identifies the resource affected by the operation. By inheritance, all lower level resources could also be affected

User edited

Available from v12.3.0

This event will be triggered when a user changes access to a company, project, or environment, either directly or via a group.

note

This event does not guarantee that the user in question already has an higher-privileged access to the resource via another group, or directly.

PropertyValueDescription
userIdstringThe user identifier
emailstringThe user email
roleIdstringThe identifier of the role assigned to the user
groupIdstringThe identifier of the group through which the user was added to the Company (if any)
resourceobjectThe field identifies the resource affected by the operation. By inheritance, all lower level resources could also be affected

User removed

Available from v12.3.0

This event will be triggered when a user loses access to a company, project, or environment, either directly or via a group.

note

This event does not guarantee that the user in question already had access to the resource via another group, or directly.

PropertyValueDescription
userIdstringThe user identifier
emailstringThe user email
roleIdstringThe identifier of the role assigned to the user
groupIdstringThe identifier of the group through which the user was added to the Company (if any)
resourceobjectThe field identifies the resource affected by the operation. By inheritance, all lower level resources could also be affected

Entities

Project

PropertyTypeDescription
_idstringThe unique identifier of Project created
configurationGitPathstringThe path where Project persist in git repository
defaultBranchstringThe default branch of git repository
descriptionstringThe Project description
environmentsarrayThe Project environments, where Project can be released
namestringThe identifier of the template in the Console marketplace from which the service was created
projectIdstringThe human readable identifier of the Project that was created
repositoryobjectThe git repository information
repositoryURLstringThe URL of the repository that hosts the service code
tenantIdstringThe human readable identifier of the Company the service belongs to