post
https://{yourinstance}.makaira.io/stream
Create a new Stream - this endpoint is for creation purposes only and does not allow you to configure the stream itself. Use the PUT-Endpoint instead for configuration.
Creates a new stream.
Requires authentication.
Request
POST /stream
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Display title. Choose a descriptive name for easy identification. |
boostFactor | number | No | Boost factor for items in this stream. Range: -99 to 99. 0 means no boosting is applied. Positive values boost items up; negative values push them down. |
Example Request
{
"title": "Featured Products",
"boostFactor": 50
}Response
Returns the created stream object.
Example Response
{
"id": 3,
"title": "Featured Products",
"boostFactor": 50
} 200OK

