Skip to main content

Basic Service Util Events 0.1.0 documentation

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

NameTypeDescription
simpleEventobject-
payload.simpleEvent
NameTypeDescription
urlstringupload url
accessUrlstringaccess url
methodstringmethod, default PUT
contentTypestringcontent 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

NameTypeDescription
countryGroupcountryGroup-
countriesarray<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

NameTypeDescription
countryGroupcountryGroup-
countriesarray<country>-

Schemas

countryGroup

NameTypeDescription
codestringcountry group code
namestringcountry group name

country

NameTypeDescription
codestring-
namestring-

event

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