Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Merge branch 'external-integrations' into gek/access-tokens

Gabe Kangas19cc73ff3fed
diff --cc web/utils/apis.ts
index d8c0848419,a859080c8b..7d9f62edd4
--- a/web/utils/apis.ts
+++ b/web/utils/apis.ts
@@@ -40,15 -40,15 +40,24 @@@ export const CHAT_HISTORY = `${API_LOCA
// Get chat history
export const UPDATE_CHAT_MESSGAE_VIZ = `${NEXT_PUBLIC_API_HOST}api/admin/chat/updatemessagevisibility`;
+// Get all access tokens
+export const ACCESS_TOKENS = `${API_LOCATION}accesstokens`;
+
+// Delete a single access token
+export const DELETE_ACCESS_TOKEN = `${API_LOCATION}deleteaccesstoken`;
+
+// Create a new access token
+export const CREATE_ACCESS_TOKEN = `${API_LOCATION}createaccesstoken`;
+
+ // Get webhooks
+ export const WEBHOOKS = `${API_LOCATION}webhooks`;
+
+ // Delete a single webhook
+ export const DELETE_WEBHOOK = `${API_LOCATION}webhooks/delete`;
+
+ // Create a single webhook
+ export const CREATE_WEBHOOK = `${API_LOCATION}webhooks/create`;
+
const GITHUB_RELEASE_URL = "https://api.github.com/repos/owncast/owncast/releases/latest";
interface FetchOptions {