First pass at access token creation page

This commit is contained in:
Gabe Kangas
2021-01-04 17:49:45 -08:00
parent cdd3525e4e
commit dd78f7c12b
2 changed files with 201 additions and 0 deletions

View File

@ -40,6 +40,14 @@ export const CHAT_HISTORY = `${API_LOCATION}chat/messages`;
// 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`;
const GITHUB_RELEASE_URL = "https://api.github.com/repos/owncast/owncast/releases/latest";