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 Authorization Types section.

Example Request (No Authorization)

Example Request (Managed Authorization)

Example Request (HTTP Request Authorization)

Example Request (File Authorization)

Example Request (Local Authorization)

Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": false,
      "authorizationEnabled": false
    }
  }
}
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": false,
      "authorizationEnabled": true,
      "authType": "managed"
    }
  }
}
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": true,
      "authorizationEnabled": true,
      "authType": "request",
      "requestURL": "https://api.example.com/auth/stream/${streamKey}",
      "apiKey": "bd34ddawe34v51rxw6tbn"
    }
  }
}
Code iconjson
{
  "data": {
    "attributes": {
      "allowStreamIngest": true,
      "autoStreamPublish": true,
      "allowStreamOverwrite": false,
      "authorizationEnabled": true,
      "authType": "file",
      "fileURL": "/home/storm/auth/publish_keys.xml"
    }
  }
}
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

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"
}

Authorization Types

Type: "none" (Default)

No authorization required for stream ingest.

Type: "managed" (Stream-Level Auth)

Authentication data is attached to dynamically created streams. Streams can be created via the API or UI. Clients must include authentication credentials when publishing.

Type: "request" (HTTP Request)

Validates stream ingest via external HTTP API.

ParameterTypeDescription
data.attributes.requestURLstringAuthorization API URL (use ${streamKey} placeholder)
data.attributes.apiKeystringAPI key for authorization requests

Type: "file" (XML File)

Validates stream ingest against an XML file with authorized keys.

ParameterTypeDescription
data.attributes.fileURLstringPath to authorization XML file

Type: "local" (Local Users/Tokens)

Validates stream ingest against a local list of users and tokens.

ParameterTypeDescription
data.attributes.authUsersarrayList of authorized users/tokens
data.attributes.authUsers[].usernamestringUsername (for username/password auth)
data.attributes.authUsers[].passwordstringPassword (for username/password auth)
data.attributes.authUsers[].tokenstringToken (for token-based auth)
data.attributes.authUsers[].expireintegerToken expiration (Unix timestamp in ms, optional)

Error Responses

Application 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.