🇩🇪 Deutsch
Search
K
Comment on page

Core API

Nutzen Sie die Vorteile einer FFmpeg REST API für die schnelle und einfache Entwicklung von Videoanwendungen.
Der Core von datarhei Restreamer ist frei und Open Source. Erweitern Sie datarhei Restreamer nach Ihren Bedürfnissen. Flexible Videoverarbeitung mit dem FFMpeg Media Framework wird durch eine API leicht gemacht. Erstellen Sie Ihre eigene Videostreaming- und Verwaltungsplattform mit dem datarhei Core.
| 100% FFmpeg media framework inside | JSON REST-API (Swagger documented) | datarhei Core in Go | GraphQL

API

API version and build info in case auth is valid or not required. If auth is required, just the name field is populated. https://demo.datarhei.com/api/swagger/index.html
get
https:///
/api
API version and build infos

GraphQL

post
https:///
/api/graph/query
Query the GraphAPI
get
https:///
/api/graph
Load GraphQL playground

Login

post
https:///
/api/login
Retrieve an access and a refresh token
get
https:///
/api/login/refresh
Retrieve a new access token

Swagger

get
https:///
/api/swagger
Swagger UI for this API

Config

get
https:///
/api/v3/config
Retrieve the currently active Restreamer configuration
get
https:///
/api/v3/config/reload
Reload the currently active configuration
put
https:///
/api/v3/config
Update the current Restreamer configuration
get
https:///
/api/v3/config/reload
Reload the currently active configuration

Disk filesystem

get
https:///
/api/v3/fs/disk/
List all files on the filesystem
get
https:///
/api/v3/fs/disk/{path}
Fetch a file from the filesystem
put
https:///
/api/v3/fs/disk/{path}
Add a file to the filesystem
delete
https:///
/api/v3/fs/disk/{path}
Remove a file from the filesystem

In-Memory filesystem

Oops, something is missing.We could not find the original source to display this content.
Oops, something is missing.We could not find the original source to display this content.
Oops, something is missing.We could not find the original source to display this content.
Oops, something is missing.We could not find the original source to display this content.
Oops, something is missing.We could not find the original source to display this content.

Logging

get
https:///
/api/v3/log
Application log

Metadata

get
https:///
/api/v3/metadata/{key}
Retrieve JSON metadata from a key
put
https:///
/api/v3/metadata/{key}
Add JSON metadata under the given key

Metrics

post
https:///
/api/v3/metrics
Query the collected metrics

Process

get
https:///
/api/v3/process
List all known processes
post
https:///
/api/v3/process
Add a new process
get
https:///
/api/v3/process/{id}
List a process by its ID
put
https:///
/api/v3/process/{id}
Replace an existing process
delete
https:///
/api/v3/process/{id}
Delete a process by its ID
put
https:///
/api/v3/process/{id}/command
Issue a command to a process
get
https:///
/api/v3/process/{id}/config
Get the configuration of a process
get
https:///
/api/v3/process/{id}/metadata/{key}
Retrieve JSON metadata stored with a process under a key
put
https:///
/api/v3/process/{id}/metadata/{key}
Add JSON metadata with a process under the given key
get
https:///
/api/v3/process/{id}/playout/{inputid}/errorframe/encode
Encode the errorframe
post
https:///
/api/v3/process/{id}/playout/{inputid}/errorframe/{name}
Upload an error frame
get
https:///
/api/v3/process/{id}/playout/{inputid}/keyframe/{name}
Get the last keyframe
get
https:///
/api/v3/process/{id}/playout/{inputid}/reopen
Close the current input stream
get
https:///
/api/v3/process/{id}/playout/{inputid}/status
Get the current playout status
put
https:///
/api/v3/process/{id}/playout/{inputid}/stream
Switch to a new stream
get
https:///
/api/v3/process/{id}/probe
Probe a process
get
https:///
/api/v3/process/{id}/report
Get the logs of a process
get
https:///
/api/v3/process/{id}/state
Get the state of a process

RTMP

get
https:///
/api/v3/rtmp
List all publishing streams

Session

get
https:///
/api/v3/session
Get a summary of all active and past sessions
get
https:///
/api/v3/session/active
Get a minimal summary of all active sessions

Skills

get
https:///
/api/v3/skills
FFmpeg capabilities
get
https:///
/api/v3/skills/reload
Refresh FFmpeg capabilities

Widget

get
https:///
/api/v3/widget/process/{id}
Fetch minimal statistics about a process

Metrics

get
https:///
/metrics
Prometheus metrics

Ping

get
https:///
/ping
Liveliness check

Profiling

get
https:///
/profiling
Retrieve profiling data from the application

Mehr Informationen