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

Application DVR Settings Update

Updates the DVR (time-shift) settings for an application.

Request

PropertyValue
MethodPATCH
URL/api/applications/{appName}/settings/dvr
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/dvr" \
  -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/dvr" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

Request Body

ParameterTypeRequiredDescription
data.attributes.enabledbooleanNoEnable DVR
data.attributes.cacheSizeintegerNoDVR cache size in seconds

Example Request

Code iconjson
{
  "data": {
    "attributes": {
      "enabled": true,
      "cacheSize": 250
    }
  }
}

Response Body

DVR Settings

ParameterTypeDescription
data.attributes.enabled.valuebooleanDVR enabled status
data.attributes.enabled.editablebooleanIndicates if the field can be modified
data.attributes.enabled.lockedBystringLocked by environment variable (if present)
data.attributes.cacheSize.valueintegerDVR cache size in seconds
data.attributes.cacheSize.editablebooleanIndicates if the field can be modified
data.attributes.cacheSize.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": {
      "enabled": {
        "editable": true,
        "value": true
      },
      "cacheSize": {
        "editable": true,
        "value": 250
      }
    }
  },
  "meta": {
    "executionTime": 12,
    "generatedAt": 1766064601242
  },
  "message": "DVR Settings have been updated"
}

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.