All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
eventsEventsActionsList | GET /events/events/actions/ | |
eventsEventsCreate | POST /events/events/ | |
eventsEventsDestroy | DELETE /events/events/{event_uuid}/ | |
eventsEventsList | GET /events/events/ | |
eventsEventsPartialUpdate | PATCH /events/events/{event_uuid}/ | |
eventsEventsPerMonthList | GET /events/events/per_month/ | |
eventsEventsRetrieve | GET /events/events/{event_uuid}/ | |
eventsEventsTopPerUserList | GET /events/events/top_per_user/ | |
eventsEventsUpdate | PUT /events/events/{event_uuid}/ | |
eventsEventsVolumeList | GET /events/events/volume/ | |
eventsNotificationsDestroy | DELETE /events/notifications/{uuid}/ | |
eventsNotificationsList | GET /events/notifications/ | |
eventsNotificationsMarkAllSeenCreate | POST /events/notifications/mark_all_seen/ | |
eventsNotificationsPartialUpdate | PATCH /events/notifications/{uuid}/ | |
eventsNotificationsRetrieve | GET /events/notifications/{uuid}/ | |
eventsNotificationsUpdate | PUT /events/notifications/{uuid}/ | |
eventsNotificationsUsedByList | GET /events/notifications/{uuid}/used_by/ | |
eventsRulesCreate | POST /events/rules/ | |
eventsRulesDestroy | DELETE /events/rules/{pbm_uuid}/ | |
eventsRulesList | GET /events/rules/ | |
eventsRulesPartialUpdate | PATCH /events/rules/{pbm_uuid}/ | |
eventsRulesRetrieve | GET /events/rules/{pbm_uuid}/ | |
eventsRulesUpdate | PUT /events/rules/{pbm_uuid}/ | |
eventsRulesUsedByList | GET /events/rules/{pbm_uuid}/used_by/ | |
eventsSystemTasksList | GET /events/system_tasks/ | |
eventsSystemTasksRetrieve | GET /events/system_tasks/{uuid}/ | |
eventsSystemTasksRunCreate | POST /events/system_tasks/{uuid}/run/ | |
eventsTransportsCreate | POST /events/transports/ | |
eventsTransportsDestroy | DELETE /events/transports/{uuid}/ | |
eventsTransportsList | GET /events/transports/ | |
eventsTransportsPartialUpdate | PATCH /events/transports/{uuid}/ | |
eventsTransportsRetrieve | GET /events/transports/{uuid}/ | |
eventsTransportsTestCreate | POST /events/transports/{uuid}/test/ | |
eventsTransportsUpdate | PUT /events/transports/{uuid}/ | |
eventsTransportsUsedByList | GET /events/transports/{uuid}/used_by/ |
kotlin.collections.List<TypeCreate> eventsEventsActionsList()
Get all actions
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
try {
val result : kotlin.collections.List<TypeCreate> = apiInstance.eventsEventsActionsList()
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsActionsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsActionsList")
e.printStackTrace()
}
This endpoint does not need any parameter.
kotlin.collections.List<TypeCreate>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Event eventsEventsCreate(eventRequest)
Event Read-Only Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val eventRequest : EventRequest = // EventRequest |
try {
val result : Event = apiInstance.eventsEventsCreate(eventRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
eventRequest | EventRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
eventsEventsDestroy(eventUuid)
Event Read-Only Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val eventUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event.
try {
apiInstance.eventsEventsDestroy(eventUuid)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
eventUuid | java.util.UUID | A UUID string identifying this Event. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedEventList eventsEventsList(action, brandName, clientIp, contextAuthorizedApp, contextModelApp, contextModelName, contextModelPk, ordering, page, pageSize, search, username)
Event Read-Only Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val action : kotlin.String = action_example // kotlin.String |
val brandName : kotlin.String = brandName_example // kotlin.String | Brand name
val clientIp : kotlin.String = clientIp_example // kotlin.String |
val contextAuthorizedApp : kotlin.String = contextAuthorizedApp_example // kotlin.String | Context Authorized application
val contextModelApp : kotlin.String = contextModelApp_example // kotlin.String | Context Model App
val contextModelName : kotlin.String = contextModelName_example // kotlin.String | Context Model Name
val contextModelPk : kotlin.String = contextModelPk_example // kotlin.String | Context Model Primary Key
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val username : kotlin.String = username_example // kotlin.String | Username
try {
val result : PaginatedEventList = apiInstance.eventsEventsList(action, brandName, clientIp, contextAuthorizedApp, contextModelApp, contextModelName, contextModelPk, ordering, page, pageSize, search, username)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
action | kotlin.String | [optional] | |
brandName | kotlin.String | Brand name | [optional] |
clientIp | kotlin.String | [optional] | |
contextAuthorizedApp | kotlin.String | Context Authorized application | [optional] |
contextModelApp | kotlin.String | Context Model App | [optional] |
contextModelName | kotlin.String | Context Model Name | [optional] |
contextModelPk | kotlin.String | Context Model Primary Key | [optional] |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
username | kotlin.String | Username | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Event eventsEventsPartialUpdate(eventUuid, patchedEventRequest)
Event Read-Only Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val eventUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event.
val patchedEventRequest : PatchedEventRequest = // PatchedEventRequest |
try {
val result : Event = apiInstance.eventsEventsPartialUpdate(eventUuid, patchedEventRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
eventUuid | java.util.UUID | A UUID string identifying this Event. | |
patchedEventRequest | PatchedEventRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<Coordinate> eventsEventsPerMonthList(action, query)
Get the count of events per month
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val action : kotlin.String = action_example // kotlin.String |
val query : kotlin.String = query_example // kotlin.String |
try {
val result : kotlin.collections.List<Coordinate> = apiInstance.eventsEventsPerMonthList(action, query)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsPerMonthList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsPerMonthList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
action | kotlin.String | [optional] | |
query | kotlin.String | [optional] |
kotlin.collections.List<Coordinate>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Event eventsEventsRetrieve(eventUuid)
Event Read-Only Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val eventUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event.
try {
val result : Event = apiInstance.eventsEventsRetrieve(eventUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
eventUuid | java.util.UUID | A UUID string identifying this Event. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<EventTopPerUser> eventsEventsTopPerUserList(action, topN)
Get the top_n events grouped by user count
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val action : kotlin.String = action_example // kotlin.String |
val topN : kotlin.Int = 56 // kotlin.Int |
try {
val result : kotlin.collections.List<EventTopPerUser> = apiInstance.eventsEventsTopPerUserList(action, topN)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsTopPerUserList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsTopPerUserList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
action | kotlin.String | [optional] | |
topN | kotlin.Int | [optional] |
kotlin.collections.List<EventTopPerUser>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Event eventsEventsUpdate(eventUuid, eventRequest)
Event Read-Only Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val eventUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event.
val eventRequest : EventRequest = // EventRequest |
try {
val result : Event = apiInstance.eventsEventsUpdate(eventUuid, eventRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
eventUuid | java.util.UUID | A UUID string identifying this Event. | |
eventRequest | EventRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<Coordinate> eventsEventsVolumeList(action, brandName, clientIp, contextAuthorizedApp, contextModelApp, contextModelName, contextModelPk, ordering, search, username)
Get event volume for specified filters and timeframe
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val action : kotlin.String = action_example // kotlin.String |
val brandName : kotlin.String = brandName_example // kotlin.String | Brand name
val clientIp : kotlin.String = clientIp_example // kotlin.String |
val contextAuthorizedApp : kotlin.String = contextAuthorizedApp_example // kotlin.String | Context Authorized application
val contextModelApp : kotlin.String = contextModelApp_example // kotlin.String | Context Model App
val contextModelName : kotlin.String = contextModelName_example // kotlin.String | Context Model Name
val contextModelPk : kotlin.String = contextModelPk_example // kotlin.String | Context Model Primary Key
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val search : kotlin.String = search_example // kotlin.String | A search term.
val username : kotlin.String = username_example // kotlin.String | Username
try {
val result : kotlin.collections.List<Coordinate> = apiInstance.eventsEventsVolumeList(action, brandName, clientIp, contextAuthorizedApp, contextModelApp, contextModelName, contextModelPk, ordering, search, username)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsEventsVolumeList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsEventsVolumeList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
action | kotlin.String | [optional] | |
brandName | kotlin.String | Brand name | [optional] |
clientIp | kotlin.String | [optional] | |
contextAuthorizedApp | kotlin.String | Context Authorized application | [optional] |
contextModelApp | kotlin.String | Context Model App | [optional] |
contextModelName | kotlin.String | Context Model Name | [optional] |
contextModelPk | kotlin.String | Context Model Primary Key | [optional] |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
search | kotlin.String | A search term. | [optional] |
username | kotlin.String | Username | [optional] |
kotlin.collections.List<Coordinate>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
eventsNotificationsDestroy(uuid)
Notification Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification.
try {
apiInstance.eventsNotificationsDestroy(uuid)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsNotificationsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsNotificationsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedNotificationList eventsNotificationsList(body, created, event, ordering, page, pageSize, search, seen, severity, user)
Notification Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val body : kotlin.String = body_example // kotlin.String |
val created : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val event : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val seen : kotlin.Boolean = true // kotlin.Boolean |
val severity : kotlin.String = severity_example // kotlin.String | * `notice` - Notice * `warning` - Warning * `alert` - Alert
val user : kotlin.Int = 56 // kotlin.Int |
try {
val result : PaginatedNotificationList = apiInstance.eventsNotificationsList(body, created, event, ordering, page, pageSize, search, seen, severity, user)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsNotificationsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsNotificationsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
body | kotlin.String | [optional] | |
created | java.time.OffsetDateTime | [optional] | |
event | java.util.UUID | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
seen | kotlin.Boolean | [optional] | |
severity | kotlin.String | * `notice` - Notice * `warning` - Warning * `alert` - Alert | [optional] [enum: alert, notice, warning] |
user | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
eventsNotificationsMarkAllSeenCreate()
Mark all the user's notifications as seen
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
try {
apiInstance.eventsNotificationsMarkAllSeenCreate()
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsNotificationsMarkAllSeenCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsNotificationsMarkAllSeenCreate")
e.printStackTrace()
}
This endpoint does not need any parameter.
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Notification eventsNotificationsPartialUpdate(uuid, patchedNotificationRequest)
Notification Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification.
val patchedNotificationRequest : PatchedNotificationRequest = // PatchedNotificationRequest |
try {
val result : Notification = apiInstance.eventsNotificationsPartialUpdate(uuid, patchedNotificationRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsNotificationsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsNotificationsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification. | |
patchedNotificationRequest | PatchedNotificationRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Notification eventsNotificationsRetrieve(uuid)
Notification Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification.
try {
val result : Notification = apiInstance.eventsNotificationsRetrieve(uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsNotificationsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsNotificationsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Notification eventsNotificationsUpdate(uuid, notificationRequest)
Notification Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification.
val notificationRequest : NotificationRequest = // NotificationRequest |
try {
val result : Notification = apiInstance.eventsNotificationsUpdate(uuid, notificationRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsNotificationsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsNotificationsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification. | |
notificationRequest | NotificationRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> eventsNotificationsUsedByList(uuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.eventsNotificationsUsedByList(uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsNotificationsUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsNotificationsUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
NotificationRule eventsRulesCreate(notificationRuleRequest)
NotificationRule Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val notificationRuleRequest : NotificationRuleRequest = // NotificationRuleRequest |
try {
val result : NotificationRule = apiInstance.eventsRulesCreate(notificationRuleRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsRulesCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsRulesCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
notificationRuleRequest | NotificationRuleRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
eventsRulesDestroy(pbmUuid)
NotificationRule Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val pbmUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Rule.
try {
apiInstance.eventsRulesDestroy(pbmUuid)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsRulesDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsRulesDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pbmUuid | java.util.UUID | A UUID string identifying this Notification Rule. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedNotificationRuleList eventsRulesList(groupName, name, ordering, page, pageSize, search, severity)
NotificationRule Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val groupName : kotlin.String = groupName_example // kotlin.String |
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val severity : kotlin.String = severity_example // kotlin.String | Controls which severity level the created notifications will have. * `notice` - Notice * `warning` - Warning * `alert` - Alert
try {
val result : PaginatedNotificationRuleList = apiInstance.eventsRulesList(groupName, name, ordering, page, pageSize, search, severity)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsRulesList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsRulesList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupName | kotlin.String | [optional] | |
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
severity | kotlin.String | Controls which severity level the created notifications will have. * `notice` - Notice * `warning` - Warning * `alert` - Alert | [optional] [enum: alert, notice, warning] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
NotificationRule eventsRulesPartialUpdate(pbmUuid, patchedNotificationRuleRequest)
NotificationRule Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val pbmUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Rule.
val patchedNotificationRuleRequest : PatchedNotificationRuleRequest = // PatchedNotificationRuleRequest |
try {
val result : NotificationRule = apiInstance.eventsRulesPartialUpdate(pbmUuid, patchedNotificationRuleRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsRulesPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsRulesPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pbmUuid | java.util.UUID | A UUID string identifying this Notification Rule. | |
patchedNotificationRuleRequest | PatchedNotificationRuleRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
NotificationRule eventsRulesRetrieve(pbmUuid)
NotificationRule Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val pbmUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Rule.
try {
val result : NotificationRule = apiInstance.eventsRulesRetrieve(pbmUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsRulesRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsRulesRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pbmUuid | java.util.UUID | A UUID string identifying this Notification Rule. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
NotificationRule eventsRulesUpdate(pbmUuid, notificationRuleRequest)
NotificationRule Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val pbmUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Rule.
val notificationRuleRequest : NotificationRuleRequest = // NotificationRuleRequest |
try {
val result : NotificationRule = apiInstance.eventsRulesUpdate(pbmUuid, notificationRuleRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsRulesUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsRulesUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pbmUuid | java.util.UUID | A UUID string identifying this Notification Rule. | |
notificationRuleRequest | NotificationRuleRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> eventsRulesUsedByList(pbmUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val pbmUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Rule.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.eventsRulesUsedByList(pbmUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsRulesUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsRulesUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pbmUuid | java.util.UUID | A UUID string identifying this Notification Rule. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedSystemTaskList eventsSystemTasksList(name, ordering, page, pageSize, search, status, uid)
Read-only view set that returns all background tasks
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val status : kotlin.String = status_example // kotlin.String | * `unknown` - Unknown * `successful` - Successful * `warning` - Warning * `error` - Error
val uid : kotlin.String = uid_example // kotlin.String |
try {
val result : PaginatedSystemTaskList = apiInstance.eventsSystemTasksList(name, ordering, page, pageSize, search, status, uid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsSystemTasksList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsSystemTasksList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
status | kotlin.String | * `unknown` - Unknown * `successful` - Successful * `warning` - Warning * `error` - Error | [optional] [enum: error, successful, unknown, warning] |
uid | kotlin.String | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SystemTask eventsSystemTasksRetrieve(uuid)
Read-only view set that returns all background tasks
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this System Task.
try {
val result : SystemTask = apiInstance.eventsSystemTasksRetrieve(uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsSystemTasksRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsSystemTasksRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this System Task. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
eventsSystemTasksRunCreate(uuid)
Run task
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this System Task.
try {
apiInstance.eventsSystemTasksRunCreate(uuid)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsSystemTasksRunCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsSystemTasksRunCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this System Task. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
NotificationTransport eventsTransportsCreate(notificationTransportRequest)
NotificationTransport Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val notificationTransportRequest : NotificationTransportRequest = // NotificationTransportRequest |
try {
val result : NotificationTransport = apiInstance.eventsTransportsCreate(notificationTransportRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsTransportsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsTransportsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
notificationTransportRequest | NotificationTransportRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
eventsTransportsDestroy(uuid)
NotificationTransport Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Transport.
try {
apiInstance.eventsTransportsDestroy(uuid)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsTransportsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsTransportsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification Transport. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedNotificationTransportList eventsTransportsList(mode, name, ordering, page, pageSize, search, sendOnce, webhookUrl)
NotificationTransport Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val mode : kotlin.String = mode_example // kotlin.String | * `local` - authentik inbuilt notifications * `webhook` - Generic Webhook * `webhook_slack` - Slack Webhook (Slack/Discord) * `email` - Email
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val sendOnce : kotlin.Boolean = true // kotlin.Boolean |
val webhookUrl : kotlin.String = webhookUrl_example // kotlin.String |
try {
val result : PaginatedNotificationTransportList = apiInstance.eventsTransportsList(mode, name, ordering, page, pageSize, search, sendOnce, webhookUrl)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsTransportsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsTransportsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
mode | kotlin.String | * `local` - authentik inbuilt notifications * `webhook` - Generic Webhook * `webhook_slack` - Slack Webhook (Slack/Discord) * `email` - Email | [optional] [enum: email, local, webhook, webhook_slack] |
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
sendOnce | kotlin.Boolean | [optional] | |
webhookUrl | kotlin.String | [optional] |
PaginatedNotificationTransportList
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
NotificationTransport eventsTransportsPartialUpdate(uuid, patchedNotificationTransportRequest)
NotificationTransport Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Transport.
val patchedNotificationTransportRequest : PatchedNotificationTransportRequest = // PatchedNotificationTransportRequest |
try {
val result : NotificationTransport = apiInstance.eventsTransportsPartialUpdate(uuid, patchedNotificationTransportRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsTransportsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsTransportsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification Transport. | |
patchedNotificationTransportRequest | PatchedNotificationTransportRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
NotificationTransport eventsTransportsRetrieve(uuid)
NotificationTransport Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Transport.
try {
val result : NotificationTransport = apiInstance.eventsTransportsRetrieve(uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsTransportsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsTransportsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification Transport. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
NotificationTransportTest eventsTransportsTestCreate(uuid)
Send example notification using selected transport. Requires Modify permissions.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Transport.
try {
val result : NotificationTransportTest = apiInstance.eventsTransportsTestCreate(uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsTransportsTestCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsTransportsTestCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification Transport. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
NotificationTransport eventsTransportsUpdate(uuid, notificationTransportRequest)
NotificationTransport Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Transport.
val notificationTransportRequest : NotificationTransportRequest = // NotificationTransportRequest |
try {
val result : NotificationTransport = apiInstance.eventsTransportsUpdate(uuid, notificationTransportRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsTransportsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsTransportsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification Transport. | |
notificationTransportRequest | NotificationTransportRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> eventsTransportsUsedByList(uuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EventsApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Notification Transport.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.eventsTransportsUsedByList(uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EventsApi#eventsTransportsUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EventsApi#eventsTransportsUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Notification Transport. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json