Retrieves the list of latest (based on version number) event definitions. The
result can be filtered by providing the filter parameter. The result can be
limited by providing the limit parameter (default is 100). Deleted definitions
can be included by setting the includeDeleted parameter to true.
Service error. Service has encountered one or more unexpected conditions that prevented it from fulfilling the request, which may or may not be temporary. Response will contain more details about these errors
Adds a new event definition. It needs to be either a new eventDefinitionId or
the provided version property needs to conform to the semantic versioning rules
for definitions. Otherwise the request will be rejected. Note that there is NO
update of a definition. If changes need to be made, at least a major version
increase is required. Therefore, there is also no PUT operation on this
endpoint.
On the top level of the definition there are only tree properties allowed:
eventDefinitionId - string - mandatory
version - string - semantic version format - mandatory
fields - object - optional
The fields object may contain variables only - no properties, no default
values are allowed. Variables inside the event's fields follow the same
approach that the regular type definition variables do.
Service error. Service has encountered one or more unexpected conditions that prevented it from fulfilling the request, which may or may not be temporary. Response will contain more details about these errors
Gets latest (based on its version) event definition based on versions for
specific eventDefinitionId. Deleted alarm definition can also be retrieved by
this operation, if the includeDeleted flag is set to "true".
Service error. Service has encountered one or more unexpected conditions that prevented it from fulfilling the request, which may or may not be temporary. Response will contain more details about these errors
Marks the event definition as deleted. No new instances can be created and no
new versions added. The event definition will stay in the database though, as
this is a soft delete. To delete the entity completely (hard delete), please
contact the Operations Team.
Service error. Service has encountered one or more unexpected conditions that prevented it from fulfilling the request, which may or may not be temporary. Response will contain more details about these errors
Retrieves a list of available versions for the given eventDefinitionId. In order
to retrieve the versions of a soft-deleted definition the includeDeleted flag
has to be set to "true".
Service error. Service has encountered one or more unexpected conditions that prevented it from fulfilling the request, which may or may not be temporary. Response will contain more details about these errors
Retrieves a specific event definition identified by eventDefinitionId.
Additionally, a version number needs to be supplied which can be partial (e.g.,
1 or 1.1) which means that the latest sub version of that version will be
returned (e.g., 1.2.5 or 1.1.3). In order to retrieve the specified version of a
soft-deleted definition the includeDeleted flag has to be set to "true".
Service error. Service has encountered one or more unexpected conditions that prevented it from fulfilling the request, which may or may not be temporary. Response will contain more details about these errors