Skip to main content

Publish multiple messages to a topic

POST 

/v1.0-alpha1/publish/bulk/:pubsubName/:topic

This endpoint lets you publish multiple messages to consumers who are listening on a topic.

Request

Path Parameters

    pubsubName stringrequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9_-]+$

    topic stringrequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9_-]+$

Query Parameters

    metadata object

    Query parameters for metadata as described below.

Body

array

required

  • Array [

  • entryId string
    event object
    contentType string

    Possible values: [application/json]

  • ]

Responses

All messages delivered.

Loading...