Skip to content

Commit

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

##### `GET` /core/tokens/{identifier}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user_obj` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `PUT` /core/tokens/{identifier}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user_obj` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `PATCH` /core/tokens/{identifier}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user_obj` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `GET` /core/users/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `type` (string)
        > * `internal` - Internal
        > * `external` - External
        > * `service_account` - Service Account
        > * `internal_service_account` - Internal Service Account

        Added enum value:

        * `internal`
        Removed enum value:

        * `default`
##### `PUT` /core/users/{id}/

###### Request:

Changed content type : `application/json`

* Changed property `type` (string)
    > * `internal` - Internal
    > * `external` - External
    > * `service_account` - Service Account
    > * `internal_service_account` - Internal Service Account

    Added enum value:

    * `internal`
    Removed enum value:

    * `default`
###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `type` (string)
        > * `internal` - Internal
        > * `external` - External
        > * `service_account` - Service Account
        > * `internal_service_account` - Internal Service Account

        Added enum value:

        * `internal`
        Removed enum value:

        * `default`
##### `PATCH` /core/users/{id}/

###### Request:

Changed content type : `application/json`

* Changed property `type` (string)
    > * `internal` - Internal
    > * `external` - External
    > * `service_account` - Service Account
    > * `internal_service_account` - Internal Service Account

    Added enum value:

    * `internal`
    Removed enum value:

    * `default`
###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `type` (string)
        > * `internal` - Internal
        > * `external` - External
        > * `service_account` - Service Account
        > * `internal_service_account` - Internal Service Account

        Added enum value:

        * `internal`
        Removed enum value:

        * `default`
##### `GET` /policies/bindings/{policy_binding_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user_obj` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `PUT` /policies/bindings/{policy_binding_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user_obj` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `PATCH` /policies/bindings/{policy_binding_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user_obj` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `POST` /core/tokens/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    * Changed property `user_obj` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `GET` /core/tokens/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Token Serializer

        * Changed property `user_obj` (object)
            > User Serializer

            * Changed property `type` (string)
                > * `internal` - Internal
                > * `external` - External
                > * `service_account` - Service Account
                > * `internal_service_account` - Internal Service Account

                Added enum value:

                * `internal`
                Removed enum value:

                * `default`
##### `GET` /core/user_consent/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `POST` /core/users/

###### Request:

Changed content type : `application/json`

* Changed property `type` (string)
    > * `internal` - Internal
    > * `external` - External
    > * `service_account` - Service Account
    > * `internal_service_account` - Internal Service Account

    Added enum value:

    * `internal`
    Removed enum value:

    * `default`
###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    * Changed property `type` (string)
        > * `internal` - Internal
        > * `external` - External
        > * `service_account` - Service Account
        > * `internal_service_account` - Internal Service Account

        Added enum value:

        * `internal`
        Removed enum value:

        * `default`
##### `GET` /core/users/

###### Parameters:

Changed: `type` in `query`
> * `internal` - Internal
> * `external` - External
> * `service_account` - Service Account
> * `internal_service_account` - Internal Service Account

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `GET` /core/users/me/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user` (object)
        > User Serializer for information a user can retrieve about themselves

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `GET` /oauth2/access_tokens/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `GET` /oauth2/authorization_codes/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `GET` /oauth2/refresh_tokens/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `user` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `POST` /policies/bindings/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    * Changed property `user_obj` (object)
        > User Serializer

        * Changed property `type` (string)
            > * `internal` - Internal
            > * `external` - External
            > * `service_account` - Service Account
            > * `internal_service_account` - Internal Service Account

            Added enum value:

            * `internal`
            Removed enum value:

            * `default`
##### `GET` /policies/bindings/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > PolicyBinding Serializer

        * Changed property `user_obj` (object)
            > User Serializer

            * Changed property `type` (string)
                > * `internal` - Internal
                > * `external` - External
                > * `service_account` - Service Account
                > * `internal_service_account` - Internal Service Account

                Added enum value:

                * `internal`
                Removed enum value:

                * `default`
##### `GET` /core/user_consent/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > UserConsent Serializer

        * Changed property `user` (object)
            > User Serializer

            * Changed property `type` (string)
                > * `internal` - Internal
                > * `external` - External
                > * `service_account` - Service Account
                > * `internal_service_account` - Internal Service Account

                Added enum value:

                * `internal`
                Removed enum value:

                * `default`
##### `GET` /oauth2/access_tokens/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for BaseGrantModel and RefreshToken

        * Changed property `user` (object)
            > User Serializer

            * Changed property `type` (string)
                > * `internal` - Internal
                > * `external` - External
                > * `service_account` - Service Account
                > * `internal_service_account` - Internal Service Account

                Added enum value:

                * `internal`
                Removed enum value:

                * `default`
##### `GET` /oauth2/authorization_codes/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for BaseGrantModel and ExpiringBaseGrant

        * Changed property `user` (object)
            > User Serializer

            * Changed property `type` (string)
                > * `internal` - Internal
                > * `external` - External
                > * `service_account` - Service Account
                > * `internal_service_account` - Internal Service Account

                Added enum value:

                * `internal`
                Removed enum value:

                * `default`
##### `GET` /oauth2/refresh_tokens/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for BaseGrantModel and RefreshToken

        * Changed property `user` (object)
            > User Serializer

            * Changed property `type` (string)
                > * `internal` - Internal
                > * `external` - External
                > * `service_account` - Service Account
                > * `internal_service_account` - Internal Service Account

                Added enum value:

                * `internal`
                Removed enum value:

                * `default`
  • Loading branch information
authentik-automation[bot] committed Jul 21, 2023
1 parent 4da9b6f commit f720064
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5060,7 +5060,7 @@ paths:
type: string
style: form
- description: |-
* `default` - Default
* `internal` - Internal
* `external` - External
* `service_account` - Service Account
* `internal_service_account` - Internal Service Account
Expand All @@ -5070,8 +5070,8 @@ paths:
required: false
schema:
enum:
- default
- external
- internal
- internal_service_account
- service_account
type: string
Expand Down Expand Up @@ -52474,12 +52474,12 @@ components:
type: object
UserTypeEnum:
description: |-
* `default` - Default
* `internal` - Internal
* `external` - External
* `service_account` - Service Account
* `internal_service_account` - Internal Service Account
enum:
- default
- internal
- external
- service_account
- internal_service_account
Expand Down
2 changes: 1 addition & 1 deletion api_core.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/CoreApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -3585,7 +3585,7 @@ func main() {
path := "path_example" // string | (optional)
pathStartswith := "pathStartswith_example" // string | (optional)
search := "search_example" // string | A search term. (optional)
type_ := "type__example" // string | * `default` - Default * `external` - External * `service_account` - Service Account * `internal_service_account` - Internal Service Account (optional)
type_ := "type__example" // string | * `internal` - Internal * `external` - External * `service_account` - Service Account * `internal_service_account` - Internal Service Account (optional)
username := "username_example" // string | (optional)
uuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)

Expand Down Expand Up @@ -3625,7 +3625,7 @@ Name | Type | Description | Notes
**path** | **string** | |
**pathStartswith** | **string** | |
**search** | **string** | A search term. |
**type_** | **string** | * `default` - Default * `external` - External * `service_account` - Service Account * `internal_service_account` - Internal Service Account |
**type_** | **string** | * `internal` - Internal * `external` - External * `service_account` - Service Account * `internal_service_account` - Internal Service Account |
**username** | **string** | |
**uuid** | **string** | |

Expand Down
2 changes: 1 addition & 1 deletion docs/UserTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Enum


* `DEFAULT` (value: `"default"`)
* `INTERNAL` (value: `"internal"`)

* `EXTERNAL` (value: `"external"`)

Expand Down
6 changes: 3 additions & 3 deletions model_user_type_enum.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4609,12 +4609,12 @@ paths:
schema:
type: string
enum:
- default
- external
- internal
- internal_service_account
- service_account
description: |-
* `default` - Default
* `internal` - Internal
* `external` - External
* `service_account` - Service Account
* `internal_service_account` - Internal Service Account
Expand Down Expand Up @@ -42581,13 +42581,13 @@ components:
- user
UserTypeEnum:
enum:
- default
- internal
- external
- service_account
- internal_service_account
type: string
description: |-
* `default` - Default
* `internal` - Internal
* `external` - External
* `service_account` - Service Account
* `internal_service_account` - Internal Service Account
Expand Down

0 comments on commit f720064

Please sign in to comment.