diff --git a/docs/admin_api.md b/docs/admin_api.md index 3c4649c..7e0ea31 100644 --- a/docs/admin_api.md +++ b/docs/admin_api.md @@ -2,7 +2,9 @@ the base path is `/api/v6/admin`. -## GET `/voice/regions/` +## Voice + +### GET `/voice/regions/` Return a list of voice server objects for the region. @@ -13,7 +15,7 @@ Returns empty list if the region does not exist. | hostname | string | the hostname of the voice server | | last\_health | float | the health of the voice server | -## PUT `/voice/regions` +### PUT `/voice/regions` Create a voice region. @@ -27,7 +29,7 @@ Receives JSON body as input, returns a list of voice region objects as output. | deprecated | Optional[bool] | if voice region is deprecated, default false | | custom | Optional[bool] | if voice region is custom-only, default false | -## PUT `/voice/regions//server` +### PUT `/voice/regions//server` Create a voice server for a region. @@ -37,7 +39,7 @@ Returns empty body with 204 status code on success. | --: | :-- | :-- | | hostname | string | the hostname of the voice server | -## PUT `/voice/regions//deprecate` +### PUT `/voice/regions//deprecate` Mark a voice region as deprecated. Disables any voice actions on guilds that are using the voice region.