v7

latestSwagger 2.02026-07-13251565.9 KB
webpubsub

Send content inside request body to the specific user.

Send content inside request body to the specific user.

post/api/hubs/{hub}/users/{userId}/:send

Path parameters

hubstring required

Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore.

userIdstring required

The user Id.

Query parameters

api-versionstring required

The API version to use for this operation.

filterstring

Following OData filter syntax to filter out the subscribers receiving the messages.

messageTtlSecondsinteger

The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited.

Request body

string byte required

Response

The request has been accepted for processing, but processing has not yet completed.