Basic Service Namespace Events 0.1.0 documentation
- Protobuf File Spec: basic.proto
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
Name | Type | Description |
---|---|---|
namespace | string | - |
parentNamespace | string | parent namespace in multi tenant mode |
displayName | string | display name |
createdAt | string (date-time) | time when namespace was created |
status | boolean | status |
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
Name | Type | Description |
---|---|---|
namespace | string | - |
parentNamespace | string | parent namespace in multi tenant mode |
displayName | string | display name |
createdAt | string (date-time) | time when namespace was created |
status | boolean | status |
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
Name | Type | Description |
---|---|---|
namespace | string | - |
parentNamespace | string | parent namespace in multi tenant mode |
displayName | string | display name |
createdAt | string (date-time) | time when namespace was created |
status | boolean | status |
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
Name | Type | Description |
---|---|---|
namespace | string | - |
parentNamespace | string | parent namespace in multi tenant mode |
displayName | string | display name |
createdAt | string (date-time) | time when namespace was created |
status | boolean | status |
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
Name | Type | Description |
---|---|---|
namespace | string | - |
parentNamespace | string | parent namespace in multi tenant mode |
displayName | string | display name |
createdAt | string (date-time) | time when namespace was created |
status | boolean | status |
Schemas
event
Name | Type | Description |
---|---|---|
id | string | - |
version | integer | - |
name | string | - |
namespace | string | - |
parentNamespace | string | - |
timestamp | string (date-time) | - |
clientId | string | - |
userId | string | - |
traceId | string | - |
sessionId | string | - |
namespacePayload
Name | Type | Description |
---|---|---|
namespace | string | - |
parentNamespace | string | parent namespace in multi tenant mode |
displayName | string | display name |
createdAt | string (date-time) | time when namespace was created |
status | boolean | status |