diff --git a/doc/api/index.html b/doc/api/index.html index 220de0bdf..eea4bdf15 100644 --- a/doc/api/index.html +++ b/doc/api/index.html @@ -561,7 +561,7 @@ data-styled.g143[id="sc-global-kJtbWf1"]{content:"sc-global-kJtbWf1,"}/*!sc*/
-Change the extra page content in memory, but not on disk.
| content | string |
{- "content": "string"
}{- "success": true,
- "message": "changed"
}Get the current configuration of the Owncast server.
-{- "instanceDetails": {
- "name": "string",
- "title": "string",
- "summary": "string",
- "logo": "string",
- "tags": [
- "string"
], - "extraPageContent": "<p>This page is <strong>super</strong> cool!",
- "version": "Owncast v0.0.3-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
}, - "yp": {
- "enabled": false,
- "instanceUrl": "string"
}
}Change the stream title in memory, but not in the config file.
+| title | string |
{- "title": "string"
}{- "success": true,
- "message": "changed"
}Change the stream name in memory, but not in the config file.
+| name | string |
{- "name": "string"
}{- "success": true,
- "message": "changed"
}Get the current configuration of the Owncast server.
+{- "instanceDetails": {
- "name": "string",
- "title": "string",
- "summary": "string",
- "logo": "string",
- "tags": [
- "string"
], - "extraPageContent": "<p>This page is <strong>super</strong> cool!",
- "version": "Owncast v0.0.3-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
}, - "yp": {
- "enabled": false,
- "instanceUrl": "string"
}
}Pass an array of IDs you want to change the chat visibility of.
| visible | boolean Are these messages visible in "Get the CPU, Memory and Disk utilization levels over the collected period." |
| idArray | Array of strings |
{- "visible": true,
- "idArray": [
- "string"
]
}{- "success": true,
- "message": "context specific success message"
}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
}
]
}{- "visible": true,
- "idArray": [
- "string"
]
}{- "success": true,
- "message": "context specific success message"
}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
}
]
}{- "name": "string",
- "title": "string",
- "summary": "string",
- "logo": "string",
- "tags": [
- "string"
], - "extraPageContent": "<p>This page is <strong>super</strong> cool!",
- "version": "Owncast v0.0.3-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"
}Change the stream key in memory, but not in the config file. This will require all broadcasters to be reconfigured to connect again.
+[- {
- "author": "string",
- "body": "string",
- "id": "string",
- "visible": true,
- "timestamp": "2019-08-24T14:15:22Z"
}
]{- "name": "string",
- "title": "string",
- "summary": "string",
- "logo": "string",
- "tags": [
- "string"
], - "extraPageContent": "<p>This page is <strong>super</strong> cool!",
- "version": "Owncast v0.0.3-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"
}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"
}Change the extra page content in memory, but not on disk.
| content | string |
{- "content": "string"
}{- "success": true,
- "message": "changed"
}{- "content": "string"
}{- "success": true,
- "message": "changed"
}Change the stream title in memory, but not in the config file.
+| title | string |
{- "title": "string"
}{- "success": true,
- "message": "changed"
}Change the stream name in memory, but not in the config file.
+| name | string |
{- "name": "string"
}{- "success": true,
- "message": "changed"
}