Basic Service User Profile Events 0.1.0 documentation
- Specification ID:
http://basic-service
- Protobuf File Spec: profile.proto
Table of Contents
Operations
PUB userProfile
Operation
Accepts one of the following messages:
Message userProfileCreated
message is sent when user profile is created
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userProfile | object | - | - | - | additional properties are allowed |
payload.userProfile.userId | string | user id | - | - | - |
payload.userProfile.firstName | string | first name | - | - | - |
payload.userProfile.lastName | string | last name | - | - | - |
payload.userProfile.avatarSmallUrl | string | avatar small url | - | - | - |
payload.userProfile.avatarUrl | string | avatar url | - | - | - |
payload.userProfile.avatarLargeUrl | string | avatar large url | - | - | - |
payload.userProfile.language | string | language | - | - | - |
payload.userProfile.timeZone | string | time zone | - | - | - |
payload.userProfile.dateOfBirth | string | user birghday | - | format (date ) | - |
payload.userProfile.status | boolean | status | - | - | - |
payload.userProfile.zipCode | string | zip code | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userProfile": {
"userId": "string",
"firstName": "string",
"lastName": "string",
"avatarSmallUrl": "string",
"avatarUrl": "string",
"avatarLargeUrl": "string",
"language": "string",
"timeZone": "string",
"dateOfBirth": "2019-08-24",
"status": true,
"zipCode": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}
Message userProfileDeleted
message is sent when user profile is deleted
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userProfile | object | - | - | - | additional properties are allowed |
payload.userProfile.userId | string | user id | - | - | - |
payload.userProfile.firstName | string | first name | - | - | - |
payload.userProfile.lastName | string | last name | - | - | - |
payload.userProfile.avatarSmallUrl | string | avatar small url | - | - | - |
payload.userProfile.avatarUrl | string | avatar url | - | - | - |
payload.userProfile.avatarLargeUrl | string | avatar large url | - | - | - |
payload.userProfile.language | string | language | - | - | - |
payload.userProfile.timeZone | string | time zone | - | - | - |
payload.userProfile.dateOfBirth | string | user birghday | - | format (date ) | - |
payload.userProfile.status | boolean | status | - | - | - |
payload.userProfile.zipCode | string | zip code | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userProfile": {
"userId": "string",
"firstName": "string",
"lastName": "string",
"avatarSmallUrl": "string",
"avatarUrl": "string",
"avatarLargeUrl": "string",
"language": "string",
"timeZone": "string",
"dateOfBirth": "2019-08-24",
"status": true,
"zipCode": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}
Message userProfileEnabled
message is sent when user profile is enabled
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userProfile | object | - | - | - | additional properties are allowed |
payload.userProfile.userId | string | user id | - | - | - |
payload.userProfile.firstName | string | first name | - | - | - |
payload.userProfile.lastName | string | last name | - | - | - |
payload.userProfile.avatarSmallUrl | string | avatar small url | - | - | - |
payload.userProfile.avatarUrl | string | avatar url | - | - | - |
payload.userProfile.avatarLargeUrl | string | avatar large url | - | - | - |
payload.userProfile.language | string | language | - | - | - |
payload.userProfile.timeZone | string | time zone | - | - | - |
payload.userProfile.dateOfBirth | string | user birghday | - | format (date ) | - |
payload.userProfile.status | boolean | status | - | - | - |
payload.userProfile.zipCode | string | zip code | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userProfile": {
"userId": "string",
"firstName": "string",
"lastName": "string",
"avatarSmallUrl": "string",
"avatarUrl": "string",
"avatarLargeUrl": "string",
"language": "string",
"timeZone": "string",
"dateOfBirth": "2019-08-24",
"status": true,
"zipCode": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}
Message userProfileDisabled
message is sent when user profile is disabled
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userProfile | object | - | - | - | additional properties are allowed |
payload.userProfile.userId | string | user id | - | - | - |
payload.userProfile.firstName | string | first name | - | - | - |
payload.userProfile.lastName | string | last name | - | - | - |
payload.userProfile.avatarSmallUrl | string | avatar small url | - | - | - |
payload.userProfile.avatarUrl | string | avatar url | - | - | - |
payload.userProfile.avatarLargeUrl | string | avatar large url | - | - | - |
payload.userProfile.language | string | language | - | - | - |
payload.userProfile.timeZone | string | time zone | - | - | - |
payload.userProfile.dateOfBirth | string | user birghday | - | format (date ) | - |
payload.userProfile.status | boolean | status | - | - | - |
payload.userProfile.zipCode | string | zip code | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userProfile": {
"userId": "string",
"firstName": "string",
"lastName": "string",
"avatarSmallUrl": "string",
"avatarUrl": "string",
"avatarLargeUrl": "string",
"language": "string",
"timeZone": "string",
"dateOfBirth": "2019-08-24",
"status": true,
"zipCode": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}
Message userProfileUpdated
message is sent when user profile is updated
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object allOf | - | - | - | additional properties are allowed |
payload | object | - | - | - | additional properties are allowed |
payload.userProfile | object | - | - | - | additional properties are allowed |
payload.userProfile.userId | string | user id | - | - | - |
payload.userProfile.firstName | string | first name | - | - | - |
payload.userProfile.lastName | string | last name | - | - | - |
payload.userProfile.avatarSmallUrl | string | avatar small url | - | - | - |
payload.userProfile.avatarUrl | string | avatar url | - | - | - |
payload.userProfile.avatarLargeUrl | string | avatar large url | - | - | - |
payload.userProfile.language | string | language | - | - | - |
payload.userProfile.timeZone | string | time zone | - | - | - |
payload.userProfile.dateOfBirth | string | user birghday | - | format (date ) | - |
payload.userProfile.status | boolean | status | - | - | - |
payload.userProfile.zipCode | string | zip code | - | - | - |
0 (allOf item) | object | - | - | - | additional properties are allowed |
id | string | - | - | - | - |
version | integer | - | - | - | - |
name | string | - | - | - | - |
namespace | string | - | - | - | - |
parentNamespace | string | - | - | - | - |
timestamp | string | - | - | format (date-time ) | - |
clientId | string | - | - | - | - |
userId | string | - | - | - | - |
traceId | string | - | - | - | - |
sessionId | string | - | - | - | - |
Examples of payload (generated)
{
"payload": {
"userProfile": {
"userId": "string",
"firstName": "string",
"lastName": "string",
"avatarSmallUrl": "string",
"avatarUrl": "string",
"avatarLargeUrl": "string",
"language": "string",
"timeZone": "string",
"dateOfBirth": "2019-08-24",
"status": true,
"zipCode": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}