Download OpenAPI specification:Download
Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software.
{- "success": true,
- "message": "",
- "broadcaster": {
- "remoteAddr": "127.0.0.1",
- "time": "TODO",
- "streamDetails": {
- "width": 640,
- "height": 480,
- "frameRate": 24,
- "videoBitrate": 1500,
- "videoCodec": "todo",
- "audioBitrate": 256,
- "audioCodec": "aac",
- "encoder": "todo"
}
}
}
Disconnect the active inbound stream, if one exists, and terminate the broadcast.
{- "success": true,
- "message": "inbound stream disconnected"
}
Change the stream key in memory, but not in the config file. This will require all broadcasters to be reconfigured to connect again.
key | string |
{- "key": "string"
}
{- "success": true,
- "message": "changed"
}
{- "instanceDetails": {
- "name": "string",
- "title": "string",
- "summary": "string",
- "logo": {
- "large": "string",
- "small": "string"
}, - "tags": [
- "string"
], - "extraUserInfoFileName": "string",
- "version": "Owncast v0.0.2-macOS (ef3796a033b32a312ebf5b334851cbf9959e7ecb)"
}, - "ffmpegPath": "string",
- "webServerPort": 0,
- "s3": {
- "enabled": true,
- "endpoint": "string",
- "servingEndpoint": "string",
- "accessKey": "string",
- "secret": "string",
- "bucket": "string",
- "region": "string",
- "acl": "string"
}, - "videoSettings": {
- "videoQualityVariants": [
- {
- "videoPassthrough": true,
- "audioPassthrough": true,
- "videoBitrate": 0,
- "audioBitrate": 0,
- "scaledWidth": 0,
- "scaledHeight": 0,
- "framerate": 0,
- "encoderPreset": "string"
}
], - "segmentLengthSeconds": 0,
- "numberOfPlaylistItems": 0
}
}
Get the CPU, Memory and Disk utilization levels over the collected period.
{- "cpu": [
- {
- "time": "2020-10-03T21:41:00.381996-05:00",
- "value": 23
}, - {
- "time": "2020-10-03T21:42:00.381996-05:00",
- "value": 27
}, - {
- "time": "2020-10-03T21:43:00.381996-05:00",
- "value": 22
}
], - "memory": [
- {
- "time": "2020-10-03T21:41:00.381996-05:00",
- "value": 65
}, - {
- "time": "2020-10-03T21:42:00.381996-05:00",
- "value": 66
}, - {
- "time": "2020-10-03T21:43:00.381996-05:00",
- "value": 72
}
], - "disk": [
- {
- "time": "2020-10-03T21:41:00.381996-05:00",
- "value": 11
}, - {
- "time": "2020-10-03T21:42:00.381996-05:00",
- "value": 11
}, - {
- "time": "2020-10-03T21:43:00.381996-05:00",
- "value": 11
}
]
}
Get the public information about the server. Adds context to the server, as well as information useful for the user interface.
{- "name": "string",
- "title": "string",
- "summary": "string",
- "logo": {
- "large": "string",
- "small": "string"
}, - "tags": [
- "string"
], - "extraUserInfoFileName": "string",
- "version": "Owncast v0.0.2-macOS (ef3796a033b32a312ebf5b334851cbf9959e7ecb)"
}
This endpoint is used to discover when a server is broadcasting, the number of active viewers as well as other useful information for updating the user interface.
{- "lastConnectTime": "2020-10-03T21:36:22-05:00",
- "lastDisconnectTime": null,
- "online": true,
- "overallMaxViewerCount": 420,
- "sessionMaxViewerCount": 12,
- "viewerCount": 7
}
Information to be used in the Yellow Pages service, a global directory of Owncast servers.
{- "name": "string",
- "description": "string",
- "logo": "string",
- "nsfw": true,
- "tags": [
- "string"
], - "online": true,
- "viewerCount": 0,
- "overallMaxViewerCount": 0,
- "sessionMaxViewerCount": 0,
- "lastConnectTime": "2019-08-24T14:15:22Z"
}