Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Update API Client
Browse files Browse the repository at this point in the history
#### What's Changed
---

##### `GET` /rac/endpoints/{pbm_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Added property `maximum_connections` (integer)

##### `PUT` /rac/endpoints/{pbm_uuid}/

###### Request:

Changed content type : `application/json`

* Added property `maximum_connections` (integer)

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Added property `maximum_connections` (integer)

##### `PATCH` /rac/endpoints/{pbm_uuid}/

###### Request:

Changed content type : `application/json`

* Added property `maximum_connections` (integer)

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Added property `maximum_connections` (integer)

##### `POST` /rac/endpoints/

###### Request:

Changed content type : `application/json`

* Added property `maximum_connections` (integer)

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    * Added property `maximum_connections` (integer)

##### `GET` /rac/endpoints/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Endpoint Serializer

        * Added property `maximum_connections` (integer)
  • Loading branch information
authentik-automation[bot] committed Jan 4, 2024
1 parent abc3526 commit 76ad1ca
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/Endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**launchUrl** | **kotlin.String** | Build actual launch URL (the provider itself does not have one, just individual endpoints) | [readonly]
**settings** | [**kotlin.Any**](.md) | | [optional]
**propertyMappings** | [**kotlin.collections.List<java.util.UUID>**](java.util.UUID.md) | | [optional]
**maximumConnections** | **kotlin.Int** | | [optional]



1 change: 1 addition & 0 deletions docs/EndpointRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**authMode** | [**AuthModeEnum**](AuthModeEnum.md) | |
**settings** | [**kotlin.Any**](.md) | | [optional]
**propertyMappings** | [**kotlin.collections.List<java.util.UUID>**](java.util.UUID.md) | | [optional]
**maximumConnections** | **kotlin.Int** | | [optional]



1 change: 1 addition & 0 deletions docs/PatchedEndpointRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**settings** | [**kotlin.Any**](.md) | | [optional]
**propertyMappings** | [**kotlin.collections.List<java.util.UUID>**](java.util.UUID.md) | | [optional]
**authMode** | [**AuthModeEnum**](AuthModeEnum.md) | | [optional]
**maximumConnections** | **kotlin.Int** | | [optional]



12 changes: 12 additions & 0 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31381,6 +31381,10 @@ components:
Build actual launch URL (the provider itself does not have one, just
individual endpoints)
readOnly: true
maximum_connections:
type: integer
maximum: 2147483647
minimum: -2147483648
required:
- auth_mode
- host
Expand Down Expand Up @@ -31412,6 +31416,10 @@ components:
format: uuid
auth_mode:
$ref: '#/components/schemas/AuthModeEnum'
maximum_connections:
type: integer
maximum: 2147483647
minimum: -2147483648
required:
- auth_mode
- host
Expand Down Expand Up @@ -37298,6 +37306,10 @@ components:
format: uuid
auth_mode:
$ref: '#/components/schemas/AuthModeEnum'
maximum_connections:
type: integer
maximum: 2147483647
minimum: -2147483648
PatchedEventMatcherPolicyRequest:
type: object
description: Event Matcher Policy Serializer
Expand Down
6 changes: 5 additions & 1 deletion src/main/kotlin/io/goauthentik/api/models/Endpoint.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import com.squareup.moshi.JsonClass
* @param launchUrl Build actual launch URL (the provider itself does not have one, just individual endpoints)
* @param settings
* @param propertyMappings
* @param maximumConnections
*/


Expand Down Expand Up @@ -69,7 +70,10 @@ data class Endpoint (
val settings: kotlin.Any? = null,

@Json(name = "property_mappings")
val propertyMappings: kotlin.collections.List<java.util.UUID>? = null
val propertyMappings: kotlin.collections.List<java.util.UUID>? = null,

@Json(name = "maximum_connections")
val maximumConnections: kotlin.Int? = null

)

6 changes: 5 additions & 1 deletion src/main/kotlin/io/goauthentik/api/models/EndpointRequest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import com.squareup.moshi.JsonClass
* @param authMode
* @param settings
* @param propertyMappings
* @param maximumConnections
*/


Expand All @@ -55,7 +56,10 @@ data class EndpointRequest (
val settings: kotlin.Any? = null,

@Json(name = "property_mappings")
val propertyMappings: kotlin.collections.List<java.util.UUID>? = null
val propertyMappings: kotlin.collections.List<java.util.UUID>? = null,

@Json(name = "maximum_connections")
val maximumConnections: kotlin.Int? = null

)

Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import com.squareup.moshi.JsonClass
* @param settings
* @param propertyMappings
* @param authMode
* @param maximumConnections
*/


Expand All @@ -55,7 +56,10 @@ data class PatchedEndpointRequest (
val propertyMappings: kotlin.collections.List<java.util.UUID>? = null,

@Json(name = "auth_mode")
val authMode: AuthModeEnum? = null
val authMode: AuthModeEnum? = null,

@Json(name = "maximum_connections")
val maximumConnections: kotlin.Int? = null

)

0 comments on commit 76ad1ca

Please sign in to comment.