All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
adminAppsList | GET /admin/apps/ | |
adminMetricsRetrieve | GET /admin/metrics/ | |
adminModelsList | GET /admin/models/ | |
adminSettingsPartialUpdate | PATCH /admin/settings/ | |
adminSettingsRetrieve | GET /admin/settings/ | |
adminSettingsUpdate | PUT /admin/settings/ | |
adminSystemCreate | POST /admin/system/ | |
adminSystemRetrieve | GET /admin/system/ | |
adminVersionRetrieve | GET /admin/version/ | |
adminWorkersRetrieve | GET /admin/workers/ |
kotlin.collections.List<App> adminAppsList()
Read-only view list all installed apps
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
try {
val result : kotlin.collections.List<App> = apiInstance.adminAppsList()
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminAppsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminAppsList")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
LoginMetrics adminMetricsRetrieve()
Login Metrics per 1h
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
try {
val result : LoginMetrics = apiInstance.adminMetricsRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminMetricsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminMetricsRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<App> adminModelsList()
Read-only view list all installed models
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
try {
val result : kotlin.collections.List<App> = apiInstance.adminModelsList()
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminModelsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminModelsList")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Settings adminSettingsPartialUpdate(patchedSettingsRequest)
Settings view
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
val patchedSettingsRequest : PatchedSettingsRequest = // PatchedSettingsRequest |
try {
val result : Settings = apiInstance.adminSettingsPartialUpdate(patchedSettingsRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminSettingsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminSettingsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
patchedSettingsRequest | PatchedSettingsRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Settings adminSettingsRetrieve()
Settings view
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
try {
val result : Settings = apiInstance.adminSettingsRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminSettingsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminSettingsRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Settings adminSettingsUpdate(settingsRequest)
Settings view
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
val settingsRequest : SettingsRequest = // SettingsRequest |
try {
val result : Settings = apiInstance.adminSettingsUpdate(settingsRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminSettingsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminSettingsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
settingsRequest | SettingsRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
SystemInfo adminSystemCreate()
Get system information.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
try {
val result : SystemInfo = apiInstance.adminSystemCreate()
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminSystemCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminSystemCreate")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SystemInfo adminSystemRetrieve()
Get system information.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
try {
val result : SystemInfo = apiInstance.adminSystemRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminSystemRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminSystemRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Version adminVersionRetrieve()
Get running and latest version.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
try {
val result : Version = apiInstance.adminVersionRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminVersionRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminVersionRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Workers adminWorkersRetrieve()
Get currently connected worker count.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = AdminApi()
try {
val result : Workers = apiInstance.adminWorkersRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling AdminApi#adminWorkersRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AdminApi#adminWorkersRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json