Last updated on October 14, 2025
Basic Service Util Events 0.1.0 documentation
- Protobuf File Spec: basic.proto
Published Messages (userContent)
The service publishes one of these messages below.
userContentUrlCreated
Message is sent when generate upload url. Contains fields from event and the following payload.
Example value
{
"payload": {
"simpleEvent": {
"url": "string",
"accessUrl": "string",
"method": "string",
"contentType": "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"
}
payload
| Name | Type | Description |
|---|---|---|
| simpleEvent | object | - |
payload.simpleEvent
| Name | Type | Description |
|---|---|---|
| url | string | upload url |
| accessUrl | string | access url |
| method | string | method, default PUT |
| contentType | string | content type |
Published Messages (countryGroup)
The service publishes one of these messages below.
countryGroupCreated
Message is sent when add a country group. Contains fields from event and the following payload.
Example value
{
"payload": {
"countryGroup": {
"code": "string",
"name": "string"
},
"countries": [
{
"code": "string",
"name": "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"
}
payload
| Name | Type | Description |
|---|---|---|
| countryGroup | countryGroup | - |
| countries | array of country | - |
countryGroupUpdated
Message is sent when country group is updated. Contains fields from event and the following payload.
Example value
{
"payload": {
"countryGroup": {
"code": "string",
"name": "string"
},
"countries": [
{
"code": "string",
"name": "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"
}
payload
| Name | Type | Description |
|---|---|---|
| countryGroup | countryGroup | - |
| countries | array of country | - |
Schemas
countryGroup
| Name | Type | Description |
|---|---|---|
| code | string | country group code |
| name | string | country group name |
country
| Name | Type | Description |
|---|---|---|
| code | string | - |
| name | string | - |
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 | - |