Storm docs logo
Search the docs.../
Explore Storm Products

Stream Publishing Enable

...

Request

PropertyValue
MethodPOST
URL/api/streams/{appName}/{streamKey}/command
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X POST "{BASE_URL}/api/streams/{appName}/{streamKey}/command" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Path Parameters

ParameterTypeRequiredDescription
appNamestringYesApplication name
streamKeystringYesStream key
Request
Code iconbash
curl -X POST "{BASE_URL}/api/streams/{appName}/{streamKey}/command" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

Request Body

ParameterTypeRequiredDescription
data.attributes.command stringYesCommand name

Example Request

Code iconjson
{
  "data": {
    "attributes": {
      "command": "enablePublishing"
    }
  }
}

Response Body

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{

}

Error Responses

Source Not Found (404)

ParameterTypeDescription
messagestringHuman-readable error message
Code iconjson
{
  "message": "Application not found"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.