Create a free ticket and our support team will provide you necessary assistance.
This section describes Storm’s RESTful API regarding server basic functionality and information.
Request type | GET |
URL | /rest-api/server/info |
Answer | HTTP/1.1 200 OK Content-Type: application/json |
|
Field explanation:
storm:version | Storm’s current version |
strom:branch | Code branch, usually “main”, unless code for compiled for specific environment or client. |
storm:protocol_rev | Specifies required protocol version for web video player. |
software:osName | Operating system name. |
software:osVersion | Operating system version. |
software:osArch | Operating system architecture. |
hardware:cpuCount | Number of cores for the processor (including virtual cores). |
hardware:totalMemory | Total memory size for this machine in bytes. |
Request type | GET |
URL | /rest-api/server |
Answer | HTTP/1.1 200 OK Content-Type: application/json |
|
Field explanation:
status | Storm’s status. Possible values: “running”, “closing”, “error”. |
startDate | Exact start time in Unix time. |
Request type | PUT |
Request Data |
|
URL | /rest-api/server |
Answer | HTTP/1.1 200 OK Content-Type: application/json |
|
Field explanation:
command | Repeats command from Request Data. |
Request type | PUT |
Request Data |
|
URL | /rest-api/server |
Answer | HTTP/1.1 200 OK Content-Type: application/json |
|
Field explanation:
command | Repeats command from Request Data. |
Request type | GET |
URL | /rest-api/server/usage |
Answer | HTTP/1.1 200 OK Content-Type: application/json |
|
Field explanation:
CPULoad | Current CPU load in precents. Value 1.0 means 100% of all CPUs. |
totalAllocatedMemory | Total amount of memory allocated by the server. |
totalUsedMemory | Amount of memory being used by the server. |
threadPoolName | Name of a specific thread-pool. |
activeThreads | Number of threads performing tasks. |
totalThreads | Total number of threads in this thread-pool. |
awaitingTasks | Number of tasks awaiting to be performed by threads in this pool. |
tasksPerSecond | Number of tasks performed per second. |
Request type | GET |
URL | /rest-api/server/license |
Answer | HTTP/1.1 200 OK Content-Type: application/json |
|
Field explanation:
licenseState | License status: VALID, INVALID. |
maxTranscoding | Max transcoding tasks per server, -1 means unlimited. |
maxBroadcasts | Max active broadcasts tasks per server, -1 means unlimited. |
maxConnections | Max simultaneous viewer connections per server, -1 means unlimited. |
expireDate | Unix time for license expiration. |
Create a free ticket and our support team will provide you necessary assistance.