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

Application Ingest Settings Update

Updates the stream ingest settings for an application.

Request

PropertyValue
MethodPATCH
URL/api/applications/{appName}/settings/ingest
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/ingest" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Path Parameters

ParameterTypeRequiredDescription
appNamestringYesApplication name
Request
Code iconbash
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/ingest" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

Request Body

ParameterTypeRequiredDescription
data.attributes.allowStreamIngestbooleanNoAllow stream ingestion
data.attributes.autoStreamPublishbooleanNoAuto-publish incoming streams
data.attributes.allowStreamOverwritebooleanNoAllow overwriting existing streams with the same key
data.attributes.authorizationEnabledbooleanNoEnable ingest authorization
data.attributes.authType"none" | "managed" | "request" | "file" | "local"NoAuthorization type (required if authorizationEnabled is true)

Additional parameters depend on the authType. See the Authorization Types section below.

No Authorization
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": false,
      "authorizationEnabled": false
    }
  }
}
Managed Authorization
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": false,
      "authorizationEnabled": true,
      "authType": "managed"
    }
  }
}
HTTP Request Authorization
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": true,
      "authorizationEnabled": true,
      "authType": "request",
      "requestURL": "https://api.example.com/auth/stream/${streamKey}",
      "apiKey": "bd34ddawe34v51rxw6tbn"
    }
  }
}
File Authorization
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": false,
      "authorizationEnabled": true,
      "authType": "file",
      "fileURL": "/home/storm/auth/publish_keys.xml"
    }
  }
}
Local Authorization
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": true,
      "authorizationEnabled": true,
      "authType": "local",
      "authUsers": [
        {
          "username": "admin",
          "password": "qwerty123"
        },
      ]
    }
  }
}

Response Body

Ingest Settings

ParameterTypeDescription
data.attributes.allowStreamIngest.valuebooleanAllow stream ingestion
data.attributes.allowStreamIngest.editablebooleanIndicates if the field can be modified
data.attributes.allowStreamIngest.lockedBystringLocked by environment variable (if present)
data.attributes.autoStreamPublish.valuebooleanAuto-publish incoming streams
data.attributes.autoStreamPublish.editablebooleanIndicates if the field can be modified
data.attributes.autoStreamPublish.lockedBystringLocked by environment variable (if present)
data.attributes.allowStreamOverwrite.valuebooleanAllow overwriting existing streams
data.attributes.allowStreamOverwrite.editablebooleanIndicates if the field can be modified
data.attributes.allowStreamOverwrite.lockedBystringLocked by environment variable (if present)
data.attributes.authorizationEnabled.valuebooleanIngest authorization enabled
data.attributes.authorizationEnabled.editablebooleanIndicates if the field can be modified
data.attributes.authorizationEnabled.lockedBystringLocked by environment variable (if present)
data.attributes.authType.valuestringAuthorization type
data.attributes.authType.editablebooleanIndicates if the field can be modified
data.attributes.authType.lockedBystringLocked by environment variable (if present)
messagestringResponse status message

Authorization Types

TypeDescription
"none"No authorization required for stream ingest (default)
"managed"Authentication data is attached to dynamically created streams. Clients must include credentials when publishing
"request"Validates stream ingest via external HTTP API
"file"Validates stream ingest against an XML file with authorized keys
"local"Validates stream ingest against a local list of users and tokens

Additional Parameters

ParameterTypeAuth TypeDescription
data.attributes.requestURLstring"request"Authorization API URL (use ${streamKey} placeholder)
data.attributes.apiKeystring"request"API key for authorization requests
data.attributes.fileURLstring"file"Path to authorization XML file
data.attributes.authUsersarray"local"List of authorized users/tokens
data.attributes.authUsers[].usernamestring"local"Username (for username/password auth)
data.attributes.authUsers[].passwordstring"local"Password (for username/password auth)
data.attributes.authUsers[].tokenstring"local"Token (for token-based auth)
data.attributes.authUsers[].expireinteger"local"Token expiration (Unix timestamp in ms, optional)

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": {
        "editable": true,
        "value": true
      },
      "autoStreamPublish": {
        "editable": true,
        "value": true
      },
      "allowStreamOverwrite": {
        "editable": true,
        "value": false
      },
      "authorizationEnabled": {
        "editable": true,
        "value": false
      },
      "authType": {
        "editable": true,
        "value": "none"
      }
    }
  },
  "meta": {
    "executionTime": 7,
    "generatedAt": 1766071325856
  },
  "message": "Ingest Settings have been updated"
}

Error Response (4xx/5xx)

ParameterTypeDescription
messagestringHuman-readable error message
Application Not Found (404)
Code iconjson
{
  "message": "Application not found"
}
Error Response
Code iconjson
{
  "message": "Error message"
}
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.