PubSubService_subscribe
POST /pubsub/pubsubconnectorservice/subscribe
Operation id: PubSubService_subscribe
Tags: PubSubService
Security
- Authorization (apiKey)
- Bearer token
Responses
200 — A successful response.(streaming responses)
Content type: application/json
default — An unexpected error response.
Content type: application/json
Request body
Required: Yes
application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
topic | string | No | |
group | string | No | |
filterBy | string | No | |
filterValue | string | No |
{
"type": "object",
"properties": {
"topic": {
"type": "string"
},
"group": {
"type": "string"
},
"filterBy": {
"type": "string"
},
"filterValue": {
"type": "string"
}
}
}
Response models
200 — A successful response.(streaming responses)
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
result | object | No | |
error | object | No |
{
"type": "object",
"properties": {
"result": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"data": {
"type": "string"
},
"attributes": {
"type": "object"
}
}
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
}
}
}
}
}
}
}
default — An unexpected error response.
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer (int32) | No | |
message | string | No | |
details | array | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
}
}
}
}
}