Skip to content

Releases: goauthentik/client-go

v3.2023041.6

07 May 10:37
Compare
Choose a tag to compare
Update API Client

v3.2023041.5

07 May 10:35
Compare
Choose a tag to compare
Update API Client

v3.2023041.4: Update API Client

07 May 10:33
Compare
Choose a tag to compare

What's Changed


GET /crypto/certificatekeypairs/{kp_uuid}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    New required properties:

    • managed
    • Changed property managed (string)

      Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

PUT /crypto/certificatekeypairs/{kp_uuid}/
Request:

Changed content type : application/json

  • Deleted property managed (string)

    Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    New required properties:

    • managed
    • Changed property managed (string)

      Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

PATCH /crypto/certificatekeypairs/{kp_uuid}/
Request:

Changed content type : application/json

  • Deleted property managed (string)

    Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    New required properties:

    • managed
    • Changed property managed (string)

      Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

POST /crypto/certificatekeypairs/generate/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    New required properties:

    • managed
    • Changed property managed (string)

      Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

GET /core/applications/{slug}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
PUT /core/applications/{slug}/
Request:

Changed content type : application/json

  • Changed property policy_engine_mode (string)
    • all - all, all policies must pass
    • any - any, any policy must pass
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
PATCH /core/applications/{slug}/
Request:

Changed content type : application/json

  • Changed property policy_engine_mode (string)
    • all - all, all policies must pass
    • any - any, any policy must pass
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
POST /crypto/certificatekeypairs/
Request:

Changed content type : application/json

  • Deleted property managed (string)

    Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

Return Type:

Changed response : 201 Created

  • Changed content type : application/json

    New required properties:

    • managed
    • Changed property managed (string)

      Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

GET /crypto/certificatekeypairs/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property results (array)

      Changed items (object):
      > CertificateKeyPair Serializer

      New required properties:

      • managed
      • Changed property managed (string)

        Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

GET /flows/instances/{slug}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
PUT /flows/instances/{slug}/
Request:

Changed content type : application/json

  • Changed property policy_engine_mode (string)
    • all - all, all policies must pass
    • any - any, any policy must pass
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
PATCH /flows/instances/{slug}/
Request:

Changed content type : application/json

  • Changed property policy_engine_mode (string)
    • all - all, all policies must pass
    • any - any, any policy must pass
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
GET /sources/all/{slug}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
GET /sources/ldap/{slug}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
PUT /sources/ldap/{slug}/
Request:

Changed content type : application/json

  • Changed property policy_engine_mode (string)
    • all - all, all policies must pass
    • any - any, any policy must pass
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
PATCH /sources/ldap/{slug}/
Request:

Changed content type : application/json

  • Changed property policy_engine_mode (string)
    • all - all, all policies must pass
    • any - any, any policy must pass
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)
      • all - all, all policies must pass
      • any - any, any policy must pass
GET /sources/oauth/{slug}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property policy_engine_mode (string)

      • all - all, all policies must pass
      • any - any, any policy must pass
    • Changed property provider_type (string)

      • apple - Apple
      • azuread - Azure AD
      • discord - Discord
      • facebook - Facebook
      • github - GitHub
      • google - Google
      • mailcow - Mailcow
      • openidconnect - OpenID Connect
      • okta - Okta
      • patreon - Patreon
      • reddit - reddit
      • twitch - Twitch
      • twitter - Twitter

      Added enum value:

      • patreon
PUT /sources/oauth/{slug}/
Request:

Changed content type : application/json

  • Changed property policy_engine_mode (string)

    • all - all, all policies must pass
    • any - any, any policy must pass
  • Changed property provider_type (string)

    • apple - Apple
    • azuread - Azure AD
    • discord - Discord
    • facebook - Facebook
    • github - GitHub
    • google - Google
    • mailcow - Mailcow
    • openidconnect - OpenID Connect
    • okta - Okta
    • patreon - Patreon
    • reddit - reddit
    • twitch - Twitch
    • twitter - Twitter

    Added enum value:

    • patreon
Return Type:

Changed response : 200 OK

  • Changed content type :...
Read more

v3.2023041.3

19 Apr 14:25
Compare
Choose a tag to compare
Update API Client

v3.2023041.2: Update API Client

19 Apr 14:23
Compare
Choose a tag to compare

What's Changed


GET /policies/event_matcher/{policy_uuid}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property app (string)

      • authentik.admin - authentik Admin
      • authentik.api - authentik API
      • authentik.crypto - authentik Crypto
      • authentik.events - authentik Events
      • authentik.flows - authentik Flows
      • authentik.lib - authentik lib
      • authentik.outposts - authentik Outpost
      • authentik.policies.dummy - authentik Policies.Dummy
      • authentik.policies.event_matcher - authentik Policies.Event Matcher
      • authentik.policies.expiry - authentik Policies.Expiry
      • authentik.policies.expression - authentik Policies.Expression
      • authentik.policies.password - authentik Policies.Password
      • authentik.policies.reputation - authentik Policies.Reputation
      • authentik.policies - authentik Policies
      • authentik.providers.ldap - authentik Providers.LDAP
      • authentik.providers.oauth2 - authentik Providers.OAuth2
      • authentik.providers.proxy - authentik Providers.Proxy
      • authentik.providers.radius - authentik Providers.Radius
      • authentik.providers.saml - authentik Providers.SAML
      • authentik.providers.scim - authentik Providers.SCIM
      • authentik.recovery - authentik Recovery
      • authentik.sources.ldap - authentik Sources.LDAP
      • authentik.sources.oauth - authentik Sources.OAuth
      • authentik.sources.plex - authentik Sources.Plex
      • authentik.sources.saml - authentik Sources.SAML
      • authentik.stages.authenticator_duo - authentik Stages.Authenticator.Duo
      • authentik.stages.authenticator_sms - authentik Stages.Authenticator.SMS
      • authentik.stages.authenticator_static - authentik Stages.Authenticator.Static
      • authentik.stages.authenticator_totp - authentik Stages.Authenticator.TOTP
      • authentik.stages.authenticator_validate - authentik Stages.Authenticator.Validate
      • authentik.stages.authenticator_webauthn - authentik Stages.Authenticator.WebAuthn
      • authentik.stages.captcha - authentik Stages.Captcha
      • authentik.stages.consent - authentik Stages.Consent
      • authentik.stages.deny - authentik Stages.Deny
      • authentik.stages.dummy - authentik Stages.Dummy
      • authentik.stages.email - authentik Stages.Email
      • authentik.stages.identification - authentik Stages.Identification
      • authentik.stages.invitation - authentik Stages.User Invitation
      • authentik.stages.password - authentik Stages.Password
      • authentik.stages.prompt - authentik Stages.Prompt
      • authentik.stages.user_delete - authentik Stages.User Delete
      • authentik.stages.user_login - authentik Stages.User Login
      • authentik.stages.user_logout - authentik Stages.User Logout
      • authentik.stages.user_write - authentik Stages.User Write
      • authentik.tenants - authentik Tenants
      • authentik.blueprints - authentik Blueprints
      • authentik.core - authentik Core
      • authentik.enterprise - authentik Enterprise

      Added enum value:

      • authentik.enterprise
PUT /policies/event_matcher/{policy_uuid}/
Request:

Changed content type : application/json

  • Changed property app (string)

    • authentik.admin - authentik Admin
    • authentik.api - authentik API
    • authentik.crypto - authentik Crypto
    • authentik.events - authentik Events
    • authentik.flows - authentik Flows
    • authentik.lib - authentik lib
    • authentik.outposts - authentik Outpost
    • authentik.policies.dummy - authentik Policies.Dummy
    • authentik.policies.event_matcher - authentik Policies.Event Matcher
    • authentik.policies.expiry - authentik Policies.Expiry
    • authentik.policies.expression - authentik Policies.Expression
    • authentik.policies.password - authentik Policies.Password
    • authentik.policies.reputation - authentik Policies.Reputation
    • authentik.policies - authentik Policies
    • authentik.providers.ldap - authentik Providers.LDAP
    • authentik.providers.oauth2 - authentik Providers.OAuth2
    • authentik.providers.proxy - authentik Providers.Proxy
    • authentik.providers.radius - authentik Providers.Radius
    • authentik.providers.saml - authentik Providers.SAML
    • authentik.providers.scim - authentik Providers.SCIM
    • authentik.recovery - authentik Recovery
    • authentik.sources.ldap - authentik Sources.LDAP
    • authentik.sources.oauth - authentik Sources.OAuth
    • authentik.sources.plex - authentik Sources.Plex
    • authentik.sources.saml - authentik Sources.SAML
    • authentik.stages.authenticator_duo - authentik Stages.Authenticator.Duo
    • authentik.stages.authenticator_sms - authentik Stages.Authenticator.SMS
    • authentik.stages.authenticator_static - authentik Stages.Authenticator.Static
    • authentik.stages.authenticator_totp - authentik Stages.Authenticator.TOTP
    • authentik.stages.authenticator_validate - authentik Stages.Authenticator.Validate
    • authentik.stages.authenticator_webauthn - authentik Stages.Authenticator.WebAuthn
    • authentik.stages.captcha - authentik Stages.Captcha
    • authentik.stages.consent - authentik Stages.Consent
    • authentik.stages.deny - authentik Stages.Deny
    • authentik.stages.dummy - authentik Stages.Dummy
    • authentik.stages.email - authentik Stages.Email
    • authentik.stages.identification - authentik Stages.Identification
    • authentik.stages.invitation - authentik Stages.User Invitation
    • authentik.stages.password - authentik Stages.Password
    • authentik.stages.prompt - authentik Stages.Prompt
    • authentik.stages.user_delete - authentik Stages.User Delete
    • authentik.stages.user_login - authentik Stages.User Login
    • authentik.stages.user_logout - authentik Stages.User Logout
    • authentik.stages.user_write - authentik Stages.User Write
    • authentik.tenants - authentik Tenants
    • authentik.blueprints - authentik Blueprints
    • authentik.core - authentik Core
    • authentik.enterprise - authentik Enterprise

    Added enum value:

    • authentik.enterprise
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property app (string)
      • authentik.admin - authentik Admin
      • authentik.api - authentik API
      • authentik.crypto - authentik Crypto
      • authentik.events - authentik Events
      • authentik.flows - authentik Flows
      • authentik.lib - authentik lib
      • authentik.outposts - authentik Outpost
      • authentik.policies.dummy - authentik Policies.Dummy
      • authentik.policies.event_matcher - authentik Policies.Event Matcher
      • authentik.policies.expiry - authentik Policies.Expiry
      • authentik.policies.expression - authentik Policies.Expression
      • authentik.policies.password - authentik Policies.Password
      • authentik.policies.reputation - authentik Policies.Reputation
      • authentik.policies - authentik Policies
      • authentik.providers.ldap - authentik Providers.LDAP
      • authentik.providers.oauth2 - authentik Providers.OAuth2
      • authentik.providers.proxy - authentik Providers.Proxy
      • authentik.providers.radius - authentik Providers.Radius
      • authentik.providers.saml - authentik Providers.SAML
      • authentik.providers.scim - authentik Providers.SCIM
      • authentik.recovery - authentik Recovery
      • authentik.sources.ldap - authentik Sources.LDAP
      • authentik.sources.oauth - authentik Sources.OAuth
      • authentik.sources.plex - authentik Sources.Plex
      • authentik.sources.saml - authentik Sources.SAML
      • authentik.stages.authenticator_duo - authentik Stages.Authenticator.Duo
      • authentik.stages.authenticator_sms - authentik Stages.Authenticator.SMS
      • authentik.stages.authenticator_static - authentik Stages.Authenticator.Static
      • authentik.stages.authenticator_totp - authentik Stages.Authenticator.TOTP
      • authentik.stages.authenticator_validate - authentik Stages.Authenticator.Validate
      • authentik.stages.authenticator_webauthn - authentik Stages.Authenticator.WebAuthn
      • authentik.stages.captcha - authentik Stages.Captcha
      • authentik.stages.consent - authentik Stages.Consent
      • authentik.stages.deny - authentik Stages.Deny
      • authentik.stages.dummy - authentik Stages.Dummy
      • authentik.stages.email - authentik Stages.Email
      • authentik.stages.identification - authentik Stages.Identification
      • authentik.stages.invitation - authentik Stages.User Invitation
      • authentik.stages.password - authentik Stages.Password
      • authentik.stages.prompt - authentik Stages.Prompt
      • authentik.stages.user_delete - authentik Stages.User Delete
      • authentik.stages.user_login - authentik Stages.User Login
      • authentik.stages.user_logout - authentik Stages.User Logout
      • authentik.stages.user_write - authentik Stages.User Write
      • authentik.tenants - authentik Tenants
      • authentik.blueprints - authentik Blueprints
      • authentik.core - authentik Core
      • authentik.enterprise - authentik E...
Read more

v3.2023041.1: Update API Client

19 Apr 14:17
Compare
Choose a tag to compare

What's Changed


GET /flows/executor/{flow_slug}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    Updated ak-stage-prompt component:

    • Changed property fields (array)

      Changed items (object):
      > Serializer for a single Prompt field

      New required properties:

      • initial_value
      • Added property initial_value (string)
POST /flows/executor/{flow_slug}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    Updated ak-stage-prompt component:

    • Changed property fields (array)

      Changed items (object):
      > Serializer for a single Prompt field

      New required properties:

      • initial_value
      • Added property initial_value (string)
GET /stages/prompt/prompts/{prompt_uuid}/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Added property initial_value (string)

      Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

    • Added property initial_value_expression (boolean)

    • Changed property placeholder (string)

      Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

PUT /stages/prompt/prompts/{prompt_uuid}/
Request:

Changed content type : application/json

  • Added property initial_value (string)

    Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

  • Added property initial_value_expression (boolean)

  • Changed property placeholder (string)

    Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Added property initial_value (string)

      Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

    • Added property initial_value_expression (boolean)

    • Changed property placeholder (string)

      Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

PATCH /stages/prompt/prompts/{prompt_uuid}/
Request:

Changed content type : application/json

  • Added property initial_value (string)

    Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

  • Added property initial_value_expression (boolean)

  • Changed property placeholder (string)

    Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Added property initial_value (string)

      Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

    • Added property initial_value_expression (boolean)

    • Changed property placeholder (string)

      Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

POST /stages/prompt/prompts/preview/
Request:

Changed content type : application/json

  • Added property initial_value (string)

    Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

  • Added property initial_value_expression (boolean)

  • Changed property placeholder (string)

    Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property fields (array)

      Changed items (object):
      > Serializer for a single Prompt field

      New required properties:

      • initial_value
      • Added property initial_value (string)
POST /stages/prompt/prompts/
Request:

Changed content type : application/json

  • Added property initial_value (string)

    Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

  • Added property initial_value_expression (boolean)

  • Changed property placeholder (string)

    Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

Return Type:

Changed response : 201 Created

  • Changed content type : application/json

    • Added property initial_value (string)

      Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

    • Added property initial_value_expression (boolean)

    • Changed property placeholder (string)

      Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

GET /stages/prompt/prompts/
Return Type:

Changed response : 200 OK

  • Changed content type : application/json

    • Changed property results (array)

      Changed items (object):
      > Prompt Serializer

      • Added property initial_value (string)

        Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices.

      • Added property initial_value_expression (boolean)

      • Changed property placeholder (string)

        Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices.

v3.2023040.1

14 Apr 12:24
Compare
Choose a tag to compare
Update API Client

v3.2023031.17

04 Apr 17:47
Compare
Choose a tag to compare
Update API Client

v3.2023031.16

04 Apr 17:19
Compare
Choose a tag to compare
Update API Client

v3.2023031.15

04 Apr 17:03
Compare
Choose a tag to compare
Update API Client