Update Event Topic

Update Event Topic

Creates or updates an Event Topic

Request
URI
PUT
https://{api_host}/event-broker-service/api/topics/{id}
COPY
Path Parameters
string
id
Required

the id of Event Topic


Request Body
EventTopic of type(s) application/json
Optional
{
    "blockable": false,
    "name": "string",
    "replyable": false,
    "serviceTypeId": "string",
    "description": "string",
    "persistable": false,
    "id": "string",
    "type": "string"
}
boolean
blockable
Optional

blockable

replySchemaReference
Optional

replySchemaReference

string
name
Optional

name

boolean
replyable
Optional

replyable

string
serviceTypeId
Optional

serviceTypeId

string
description
Optional

description

boolean
persistable
Optional

persistable

string
id
Optional

id

string
type
Required

type

Possible values are : INTERNAL, SYSTEM, REGULAR,
schemaReference
Optional

schemaReference

Responses
201

'Created' is returned if new eventTopic with the eventTopic url in the location header of the response

Returns Subscription of type(s) */*
{
    "endpoint": "string",
    "endpoints": [
        {
            "protocol": "string",
            "endpoint": "string"
        }
    ],
    "blocking": false,
    "criteria": "string",
    "subscriberId": "string",
    "description": "string",
    "id": "string",
    "eventTopicId": "string",
    "requeueDelay": 0,
    "reply": false,
    "messageTTL": 0
}
string
endpoint
Optional

endpoint

endpoints
Optional

endpoints

boolean
blocking
Optional

blocking

string
criteria
Optional

criteria

string
subscriberId
Optional

subscriberId

string
description
Optional

description

string
id
Optional

id

string
eventTopicId
Optional

eventTopicId

integer As int64 As int64
requeueDelay
Optional

requeueDelay

boolean
reply
Optional

reply

integer As int64 As int64
messageTTL
Optional

messageTTL


204

'No Content' is returned when updated

Operation doesn't return any data structure