This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#### What's Changed --- ##### `GET` /core/authenticated_sessions/{uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` New required properties: - `asn` * Added property `asn` (object) > Get ASN Data * Property `asn` (integer) * Property `as_org` (string) * Property `network` (string) * Changed property `geo_ip` (object) > Get GeoIP Data ##### `GET` /policies/reputation/scores/{reputation_uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `ip_asn_data` (object) ##### `GET` /core/authenticated_sessions/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > AuthenticatedSession Serializer New required properties: - `asn` * Added property `asn` (object) > Get ASN Data * Changed property `geo_ip` (object) > Get GeoIP Data ##### `GET` /policies/reputation/scores/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > Reputation Serializer * Added property `ip_asn_data` (object) ##### `GET` /root/config/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `capabilities` (array) Changed items (string): > * `can_save_media` - Can Save Media > * `can_geo_ip` - Can Geo Ip > * `can_asn` - Can Asn > * `can_impersonate` - Can Impersonate > * `can_debug` - Can Debug > * `is_enterprise` - Is Enterprise Added enum value: * `can_asn`
- Loading branch information
1 parent
b58486a
commit 2ef8d85
Showing
12 changed files
with
100 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
# AuthenticatedSessionAsn | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**asn** | **kotlin.Int** | | | ||
**asOrg** | **kotlin.String** | | | ||
**network** | **kotlin.String** | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/main/kotlin/io/goauthentik/api/models/AuthenticatedSessionAsn.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/** | ||
* | ||
* Please note: | ||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* Do not edit this file manually. | ||
* | ||
*/ | ||
|
||
@file:Suppress( | ||
"ArrayInDataClass", | ||
"EnumEntryName", | ||
"RemoveRedundantQualifierName", | ||
"UnusedImport" | ||
) | ||
|
||
package io.goauthentik.api.models | ||
|
||
|
||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
|
||
/** | ||
* Get ASN Data | ||
* | ||
* @param asn | ||
* @param asOrg | ||
* @param network | ||
*/ | ||
|
||
|
||
data class AuthenticatedSessionAsn ( | ||
|
||
@Json(name = "asn") | ||
val asn: kotlin.Int, | ||
|
||
@Json(name = "as_org") | ||
val asOrg: kotlin.String?, | ||
|
||
@Json(name = "network") | ||
val network: kotlin.String? | ||
|
||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters