Skip to main content

Basic Service Namespace Events 0.1.0 documentation

Published Messages (namespace)

The service publishes one of these messages below.

namespaceCreated

Message is sent when namespace is created. Contains fields from event and the following payload.

Example value
{
"payload": {
"namespace": "string",
"parentNamespace": "string",
"displayName": "string",
"createdAt": "2019-08-24T14:15:22Z",
"status": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload

NameTypeDescription
namespacestring-
parentNamespacestringparent namespace in multi tenant mode
displayNamestringdisplay name
createdAtstring (date-time)time when namespace was created
statusbooleanstatus

namespaceDeleted

Message is sent when namespace is deleted. Contains fields from event and the following payload.

Example value
{
"payload": {
"namespace": "string",
"parentNamespace": "string",
"displayName": "string",
"createdAt": "2019-08-24T14:15:22Z",
"status": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload

NameTypeDescription
namespacestring-
parentNamespacestringparent namespace in multi tenant mode
displayNamestringdisplay name
createdAtstring (date-time)time when namespace was created
statusbooleanstatus

namespaceEnabled

Message is sent when namespace is enabled. Contains fields from event and the following payload.

Example value
{
"payload": {
"namespace": "string",
"parentNamespace": "string",
"displayName": "string",
"createdAt": "2019-08-24T14:15:22Z",
"status": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload

NameTypeDescription
namespacestring-
parentNamespacestringparent namespace in multi tenant mode
displayNamestringdisplay name
createdAtstring (date-time)time when namespace was created
statusbooleanstatus

namespaceDisabled

Message is sent when namespace is disabled. Contains fields from event and the following payload.

Example value
{
"payload": {
"namespace": "string",
"parentNamespace": "string",
"displayName": "string",
"createdAt": "2019-08-24T14:15:22Z",
"status": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload

NameTypeDescription
namespacestring-
parentNamespacestringparent namespace in multi tenant mode
displayNamestringdisplay name
createdAtstring (date-time)time when namespace was created
statusbooleanstatus

namespaceDisplayNameUpdated

Message is sent when display name is udpated. Contains fields from event and the following payload.

Example value
{
"payload": {
"namespace": "string",
"parentNamespace": "string",
"displayName": "string",
"createdAt": "2019-08-24T14:15:22Z",
"status": true
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload

NameTypeDescription
namespacestring-
parentNamespacestringparent namespace in multi tenant mode
displayNamestringdisplay name
createdAtstring (date-time)time when namespace was created
statusbooleanstatus

Schemas

event

NameTypeDescription
idstring-
versioninteger-
namestring-
namespacestring-
parentNamespacestring-
timestampstring (date-time)-
clientIdstring-
userIdstring-
traceIdstring-
sessionIdstring-

namespacePayload

NameTypeDescription
namespacestring-
parentNamespacestringparent namespace in multi tenant mode
displayNamestringdisplay name
createdAtstring (date-time)time when namespace was created
statusbooleanstatus