For AI agents: this page in Markdown: https://www.pubnub.com/docs/admin-api/producers-get-all.md. Documentation index: https://www.pubnub.com/llms-full.txt.
producersGetAll
GET/v2/ena/messages/sources/:sourceId/producers
Get all available producers for a selected source of messages generated by the PubNub platform.
Each message (event) originates at a given source, like message, user, channel, or notification which lets predefined producers generate events of a given type. For example, the channel source lets the Presence producer generate messages (events) of different types when a user subscribes to this channel, stops subscribing to it, or when the last user leaves the channel.
To get the complete list of all producers available on a given source, call /v2/messages/sources/{sourceId}/producers using the sourceId parameter.
Request
Example
{
"data": [
{
"id": "string",
"name": "string"
}
],
"meta": {
"paging": {
"totalElements": 0,
"totalPages": 0,
"pageSize": 0,
"pageNumber": 0,
"pageOffset": 0
}
},
"errors": [
{
"code": "string",
"message": "string",
"path": "string"
}
]
}