Skip to main content

Content Management Events 0.0.1 documentation

  • Specification ID: http://content-management-service

Table of Contents

Operations

PUB contentManagement Operation

Accepts one of the following messages:

Message contentManagementArticleCreated

message is sent when article is created

Payload
NameTypeDescriptionValueConstraintsNotes
(root)object allOf---additional properties are allowed
payloadobject---additional properties are allowed
payload.articleCreatedobject---additional properties are allowed
payload.articleCreated.idstringarticle id-format (uuid)-
payload.articleCreated.titlestringarticle title---
payload.articleCreated.rawContentstringarticle content in raw format---
payload.articleCreated.htmlContentstringarticle content in HTML format---
payload.articleCreated.slugstringarticle slug---
payload.articleCreated.statusstringarticle published statusallowed ("PUBLISHED", "DRAFT")--
payload.articleCreated.topicIdstringarticle topic id---
payload.articleCreated.metaTitlestringarticle meta title---
payload.articleCreated.metaDescriptionstringarticle meta description---
payload.articleCreated.namespacestringnamespace---
payload.articleCreated.createdAtstringarticle creation date-format (date-time)-
payload.articleCreated.updatedAtstringarticle updated date-format (date-time)-
0 (allOf item)object---additional properties are allowed
clientIdstringevent client id---
namestringevent name---
namespacestringnamespace---
versioninteger----
timestampstring--format (date-time)-

Examples of payload (generated)

{
"payload": {
"articleCreated": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"rawContent": "string",
"htmlContent": "string",
"slug": "string",
"status": "PUBLISHED",
"topicId": "string",
"metaTitle": "string",
"metaDescription": "string",
"namespace": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
},
"clientId": "string",
"name": "string",
"namespace": "string",
"version": 0,
"timestamp": "2019-08-24T14:15:22Z"
}

Message contentManagementArticleUpdated

message is sent when article is updated

Payload
NameTypeDescriptionValueConstraintsNotes
(root)object allOf---additional properties are allowed
payloadobject---additional properties are allowed
payload.articleUpdatedobject---additional properties are allowed
payload.articleUpdated.idstringarticle id-format (uuid)-
payload.articleUpdated.titlestringarticle title---
payload.articleUpdated.rawContentstringarticle content in raw format---
payload.articleUpdated.htmlContentstringarticle content in HTML format---
payload.articleUpdated.slugstringarticle slug---
payload.articleUpdated.statusstringarticle published statusallowed ("PUBLISHED", "DRAFT")--
payload.articleUpdated.topicIdstringarticle topic id---
payload.articleUpdated.metaTitlestringarticle meta title---
payload.articleUpdated.metaDescriptionstringarticle meta description---
payload.articleUpdated.namespacestringnamespace---
payload.articleUpdated.createdAtstringarticle creation date-format (date-time)-
payload.articleUpdated.updatedAtstringarticle updated date-format (date-time)-
0 (allOf item)object---additional properties are allowed
clientIdstringevent client id---
namestringevent name---
namespacestringnamespace---
versioninteger----
timestampstring--format (date-time)-

Examples of payload (generated)

{
"payload": {
"articleUpdated": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"rawContent": "string",
"htmlContent": "string",
"slug": "string",
"status": "PUBLISHED",
"topicId": "string",
"metaTitle": "string",
"metaDescription": "string",
"namespace": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
},
"clientId": "string",
"name": "string",
"namespace": "string",
"version": 0,
"timestamp": "2019-08-24T14:15:22Z"
}

Message contentManagementArticleDeleted

message is sent when article is deleted

Payload
NameTypeDescriptionValueConstraintsNotes
(root)object allOf---additional properties are allowed
payloadobject---additional properties are allowed
payload.articleDeletedobject---additional properties are allowed
payload.articleDeleted.idstringarticle id---
payload.articleDeleted.namespacestringnamespace---
payload.articleDeleted.titlestringarticle title---
payload.articleDeleted.slugstringarticle slug---
0 (allOf item)object---additional properties are allowed
clientIdstringevent client id---
namestringevent name---
namespacestringnamespace---
versioninteger----
timestampstring--format (date-time)-

Examples of payload (generated)

{
"payload": {
"articleDeleted": {
"id": "string",
"namespace": "string",
"title": "string",
"slug": "string"
}
},
"clientId": "string",
"name": "string",
"namespace": "string",
"version": 0,
"timestamp": "2019-08-24T14:15:22Z"
}

Message contentManagementTopicCreated

message is sent when topic is created

Payload
NameTypeDescriptionValueConstraintsNotes
(root)object allOf---additional properties are allowed
payloadobject---additional properties are allowed
payload.topicCreatedobject---additional properties are allowed
payload.topicCreated.idstringtopic id-format (uuid)-
payload.topicCreated.namestringtopic name---
payload.topicCreated.slugstringtopic slug---
payload.topicCreated.statusstringtopic visibility statusallowed ("VISIBLE", "HIDDEN")--
payload.topicCreated.iconstringtopic icon---
payload.topicCreated.displayOrderintegertopic display order---
payload.topicCreated.namespacestringnamespace---
payload.topicCreated.createdAtstringtopic creation date-format (date-time)-
payload.topicCreated.updatedAtstringtopic updated date-format (date-time)-
0 (allOf item)object---additional properties are allowed
clientIdstringevent client id---
namestringevent name---
namespacestringnamespace---
versioninteger----
timestampstring--format (date-time)-

Examples of payload (generated)

{
"payload": {
"topicCreated": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"slug": "string",
"status": "VISIBLE",
"icon": "string",
"displayOrder": 0,
"namespace": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
},
"clientId": "string",
"name": "string",
"namespace": "string",
"version": 0,
"timestamp": "2019-08-24T14:15:22Z"
}

Message contentManagementTopicUpdated

message is sent when topic is updated

Payload
NameTypeDescriptionValueConstraintsNotes
(root)object allOf---additional properties are allowed
payloadobject---additional properties are allowed
payload.topicUpdatedobject---additional properties are allowed
payload.topicUpdated.idstringtopic id-format (uuid)-
payload.topicUpdated.namestringtopic name---
payload.topicUpdated.slugstringtopic slug---
payload.topicUpdated.statusstringtopic visibility statusallowed ("VISIBLE", "HIDDEN")--
payload.topicUpdated.iconstringtopic icon---
payload.topicUpdated.displayOrderintegertopic display order---
payload.topicUpdated.namespacestringnamespace---
payload.topicUpdated.createdAtstringtopic creation date-format (date-time)-
payload.topicUpdated.updatedAtstringtopic updated date-format (date-time)-
0 (allOf item)object---additional properties are allowed
clientIdstringevent client id---
namestringevent name---
namespacestringnamespace---
versioninteger----
timestampstring--format (date-time)-

Examples of payload (generated)

{
"payload": {
"topicUpdated": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"slug": "string",
"status": "VISIBLE",
"icon": "string",
"displayOrder": 0,
"namespace": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
},
"clientId": "string",
"name": "string",
"namespace": "string",
"version": 0,
"timestamp": "2019-08-24T14:15:22Z"
}

Message contentManagementTopicDeleted

message is sent when topic is deleted

Payload
NameTypeDescriptionValueConstraintsNotes
(root)object allOf---additional properties are allowed
payloadobject---additional properties are allowed
payload.topicDeletedobject---additional properties are allowed
payload.topicDeleted.idstringtopic id---
payload.topicDeleted.namespacestringnamespace---
payload.topicDeleted.namestringtopic name---
payload.topicDeleted.slugstringtopic slug---
0 (allOf item)object---additional properties are allowed
clientIdstringevent client id---
namestringevent name---
namespacestringnamespace---
versioninteger----
timestampstring--format (date-time)-

Examples of payload (generated)

{
"payload": {
"topicDeleted": {
"id": "string",
"namespace": "string",
"name": "string",
"slug": "string"
}
},
"clientId": "string",
"name": "string",
"namespace": "string",
"version": 0,
"timestamp": "2019-08-24T14:15:22Z"
}

Message contentManagementSupportEmailSent

message is sent on support email sent event

Payload
NameTypeDescriptionValueConstraintsNotes
(root)object allOf---additional properties are allowed
payloadobject---additional properties are allowed
payload.supportEmailSentobject---additional properties are allowed
payload.supportEmailSent.subjectstringemail subject---
payload.supportEmailSent.displayNamestringemail display name---
payload.supportEmailSent.fromPlayerEmailstringplayer email address-format (email)-
payload.supportEmailSent.toAdminEmailstringadmin email address-format (email)-
payload.supportEmailSent.templateIdAdminstringadmin template id---
payload.supportEmailSent.templateIdPlayerstringplayer template id---
0 (allOf item)object---additional properties are allowed
clientIdstringevent client id---
namestringevent name---
namespacestringnamespace---
versioninteger----
timestampstring--format (date-time)-

Examples of payload (generated)

{
"payload": {
"supportEmailSent": {
"subject": "string",
"displayName": "string",
"fromPlayerEmail": "user@example.com",
"toAdminEmail": "user@example.com",
"templateIdAdmin": "string",
"templateIdPlayer": "string"
}
},
"clientId": "string",
"name": "string",
"namespace": "string",
"version": 0,
"timestamp": "2019-08-24T14:15:22Z"
}