Skip to content

Commit

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

##### `GET` /authenticators/admin/duo/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

        * Property `pk` (integer)

        * Property `username` (string)
            > Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

        * Property `name` (string)
            > User's display name.

        * Property `is_active` (boolean)
            > Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

        * Property `last_login` (string)

        * Property `email` (string)

        * Property `attributes` (object)

        * Property `uid` (string)

##### `PUT` /authenticators/admin/duo/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/admin/duo/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/admin/sms/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/admin/sms/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/admin/sms/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/admin/totp/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/admin/totp/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/admin/totp/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/admin/webauthn/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/admin/webauthn/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/admin/webauthn/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/duo/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/duo/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/duo/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/sms/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/sms/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/sms/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/totp/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/totp/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/totp/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/webauthn/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/webauthn/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/webauthn/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `POST` /authenticators/admin/duo/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/admin/duo/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for Duo authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `POST` /authenticators/admin/sms/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/admin/sms/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for sms authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `GET` /authenticators/admin/static/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/admin/static/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/admin/static/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `POST` /authenticators/admin/totp/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/admin/totp/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for totp authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `POST` /authenticators/admin/webauthn/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/admin/webauthn/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for WebAuthn authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `GET` /authenticators/duo/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for Duo authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `GET` /authenticators/sms/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for sms authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `GET` /authenticators/static/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PUT` /authenticators/static/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `PATCH` /authenticators/static/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/totp/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for totp authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `GET` /authenticators/webauthn/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for WebAuthn authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `POST` /authenticators/admin/static/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    New required properties:
    - `user`

    * Added property `user` (object)

##### `GET` /authenticators/admin/static/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for static authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)

##### `GET` /authenticators/static/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for static authenticator devices

        New required properties:
        - `user`

        * Added property `user` (object)
  • Loading branch information
authentik-automation[bot] committed Jan 13, 2025
1 parent 06560b1 commit 16a9a4d
Show file tree
Hide file tree
Showing 12 changed files with 331 additions and 16 deletions.
40 changes: 40 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46362,6 +46362,7 @@ components:
example:
name: name
pk: 9
user: ""
properties:
pk:
readOnly: true
Expand All @@ -46371,9 +46372,14 @@ components:
description: The human-readable name of this device.
maxLength: 64
type: string
user:
allOf:
- $ref: '#/components/schemas/GroupMember'
readOnly: true
required:
- name
- pk
- user
type: object
DuoDeviceEnrollmentStatus:
example:
Expand Down Expand Up @@ -54527,8 +54533,10 @@ components:
results:
- name: name
pk: 9
user: ""
- name: name
pk: 9
user: ""
properties:
pagination:
$ref: '#/components/schemas/Pagination'
Expand Down Expand Up @@ -59140,9 +59148,11 @@ components:
- name: name
phone_number: phone_number
pk: 0
user: ""
- name: name
phone_number: phone_number
pk: 0
user: ""
properties:
pagination:
$ref: '#/components/schemas/Pagination'
Expand Down Expand Up @@ -59484,11 +59494,13 @@ components:
- token: token
- token: token
pk: 0
user: ""
- name: name
token_set:
- token: token
- token: token
pk: 0
user: ""
properties:
pagination:
$ref: '#/components/schemas/Pagination'
Expand Down Expand Up @@ -59583,8 +59595,10 @@ components:
results:
- name: name
pk: 0
user: ""
- name: name
pk: 0
user: ""
properties:
pagination:
$ref: '#/components/schemas/Pagination'
Expand Down Expand Up @@ -60750,11 +60764,13 @@ components:
name: name
device_type: null
pk: 0
user: ""
- aaguid: aaguid
created_on: 2000-01-23T04:56:07.000+00:00
name: name
device_type: null
pk: 0
user: ""
properties:
pagination:
$ref: '#/components/schemas/Pagination'
Expand Down Expand Up @@ -69995,6 +70011,7 @@ components:
name: name
phone_number: phone_number
pk: 0
user: ""
properties:
name:
description: The human-readable name of this device.
Expand All @@ -70007,10 +70024,15 @@ components:
phone_number:
readOnly: true
type: string
user:
allOf:
- $ref: '#/components/schemas/GroupMember'
readOnly: true
required:
- name
- phone_number
- pk
- user
type: object
SMSDeviceRequest:
description: Serializer for sms authenticator devices
Expand Down Expand Up @@ -70949,6 +70971,7 @@ components:
- token: token
- token: token
pk: 0
user: ""
properties:
name:
description: The human-readable name of this device.
Expand All @@ -70963,10 +70986,15 @@ components:
readOnly: true
title: ID
type: integer
user:
allOf:
- $ref: '#/components/schemas/GroupMember'
readOnly: true
required:
- name
- pk
- token_set
- user
type: object
StaticDeviceRequest:
description: Serializer for static authenticator devices
Expand Down Expand Up @@ -71275,6 +71303,7 @@ components:
example:
name: name
pk: 0
user: ""
properties:
name:
description: The human-readable name of this device.
Expand All @@ -71284,9 +71313,14 @@ components:
readOnly: true
title: ID
type: integer
user:
allOf:
- $ref: '#/components/schemas/GroupMember'
readOnly: true
required:
- name
- pk
- user
type: object
TOTPDeviceRequest:
description: Serializer for totp authenticator devices
Expand Down Expand Up @@ -73431,6 +73465,7 @@ components:
name: name
device_type: null
pk: 0
user: ""
properties:
pk:
readOnly: true
Expand All @@ -73448,12 +73483,17 @@ components:
aaguid:
readOnly: true
type: string
user:
allOf:
- $ref: '#/components/schemas/GroupMember'
readOnly: true
required:
- aaguid
- created_on
- device_type
- name
- pk
- user
type: object
WebAuthnDeviceRequest:
description: Serializer for WebAuthn authenticator devices
Expand Down
23 changes: 22 additions & 1 deletion docs/DuoDevice.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Pk** | **int32** | | [readonly]
**Name** | **string** | The human-readable name of this device. |
**User** | [**GroupMember**](GroupMember.md) | | [readonly]

## Methods

### NewDuoDevice

`func NewDuoDevice(pk int32, name string, ) *DuoDevice`
`func NewDuoDevice(pk int32, name string, user GroupMember, ) *DuoDevice`

NewDuoDevice instantiates a new DuoDevice object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -66,6 +67,26 @@ and a boolean to check if the value has been set.
SetName sets Name field to given value.


### GetUser

`func (o *DuoDevice) GetUser() GroupMember`

GetUser returns the User field if non-nil, zero value otherwise.

### GetUserOk

`func (o *DuoDevice) GetUserOk() (*GroupMember, bool)`

GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUser

`func (o *DuoDevice) SetUser(v GroupMember)`

SetUser sets User field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
23 changes: 22 additions & 1 deletion docs/SMSDevice.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ Name | Type | Description | Notes
**Name** | **string** | The human-readable name of this device. |
**Pk** | **int32** | | [readonly]
**PhoneNumber** | **string** | | [readonly]
**User** | [**GroupMember**](GroupMember.md) | | [readonly]

## Methods

### NewSMSDevice

`func NewSMSDevice(name string, pk int32, phoneNumber string, ) *SMSDevice`
`func NewSMSDevice(name string, pk int32, phoneNumber string, user GroupMember, ) *SMSDevice`

NewSMSDevice instantiates a new SMSDevice object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -87,6 +88,26 @@ and a boolean to check if the value has been set.
SetPhoneNumber sets PhoneNumber field to given value.


### GetUser

`func (o *SMSDevice) GetUser() GroupMember`

GetUser returns the User field if non-nil, zero value otherwise.

### GetUserOk

`func (o *SMSDevice) GetUserOk() (*GroupMember, bool)`

GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUser

`func (o *SMSDevice) SetUser(v GroupMember)`

SetUser sets User field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
23 changes: 22 additions & 1 deletion docs/StaticDevice.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ Name | Type | Description | Notes
**Name** | **string** | The human-readable name of this device. |
**TokenSet** | [**[]StaticDeviceToken**](StaticDeviceToken.md) | | [readonly]
**Pk** | **int32** | | [readonly]
**User** | [**GroupMember**](GroupMember.md) | | [readonly]

## Methods

### NewStaticDevice

`func NewStaticDevice(name string, tokenSet []StaticDeviceToken, pk int32, ) *StaticDevice`
`func NewStaticDevice(name string, tokenSet []StaticDeviceToken, pk int32, user GroupMember, ) *StaticDevice`

NewStaticDevice instantiates a new StaticDevice object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -87,6 +88,26 @@ and a boolean to check if the value has been set.
SetPk sets Pk field to given value.


### GetUser

`func (o *StaticDevice) GetUser() GroupMember`

GetUser returns the User field if non-nil, zero value otherwise.

### GetUserOk

`func (o *StaticDevice) GetUserOk() (*GroupMember, bool)`

GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUser

`func (o *StaticDevice) SetUser(v GroupMember)`

SetUser sets User field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
23 changes: 22 additions & 1 deletion docs/TOTPDevice.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | The human-readable name of this device. |
**Pk** | **int32** | | [readonly]
**User** | [**GroupMember**](GroupMember.md) | | [readonly]

## Methods

### NewTOTPDevice

`func NewTOTPDevice(name string, pk int32, ) *TOTPDevice`
`func NewTOTPDevice(name string, pk int32, user GroupMember, ) *TOTPDevice`

NewTOTPDevice instantiates a new TOTPDevice object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -66,6 +67,26 @@ and a boolean to check if the value has been set.
SetPk sets Pk field to given value.


### GetUser

`func (o *TOTPDevice) GetUser() GroupMember`

GetUser returns the User field if non-nil, zero value otherwise.

### GetUserOk

`func (o *TOTPDevice) GetUserOk() (*GroupMember, bool)`

GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUser

`func (o *TOTPDevice) SetUser(v GroupMember)`

SetUser sets User field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
23 changes: 22 additions & 1 deletion docs/WebAuthnDevice.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ Name | Type | Description | Notes
**CreatedOn** | **time.Time** | | [readonly]
**DeviceType** | [**NullableWebAuthnDeviceDeviceType**](WebAuthnDeviceDeviceType.md) | |
**Aaguid** | **string** | | [readonly]
**User** | [**GroupMember**](GroupMember.md) | | [readonly]

## Methods

### NewWebAuthnDevice

`func NewWebAuthnDevice(pk int32, name string, createdOn time.Time, deviceType NullableWebAuthnDeviceDeviceType, aaguid string, ) *WebAuthnDevice`
`func NewWebAuthnDevice(pk int32, name string, createdOn time.Time, deviceType NullableWebAuthnDeviceDeviceType, aaguid string, user GroupMember, ) *WebAuthnDevice`

NewWebAuthnDevice instantiates a new WebAuthnDevice object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -139,6 +140,26 @@ and a boolean to check if the value has been set.
SetAaguid sets Aaguid field to given value.


### GetUser

`func (o *WebAuthnDevice) GetUser() GroupMember`

GetUser returns the User field if non-nil, zero value otherwise.

### GetUserOk

`func (o *WebAuthnDevice) GetUserOk() (*GroupMember, bool)`

GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUser

`func (o *WebAuthnDevice) SetUser(v GroupMember)`

SetUser sets User field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Loading

0 comments on commit 16a9a4d

Please sign in to comment.