diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 717d278..b3d5a53 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -20,12 +20,12 @@ api_products.go
api_sdk_keys.go
api_segments.go
api_tags.go
+api_webhooks.go
client.go
configuration.go
docs/AccessType.md
docs/AddOrUpdateIntegrationLinkModel.md
docs/AddOrUpdateJiraIntegrationLinkModel.md
-docs/AddUserToGroupRequest.md
docs/AuditLogItemModel.md
docs/AuditLogType.md
docs/AuditLogsApi.md
@@ -37,24 +37,10 @@ docs/ComparisonValueListModel.md
docs/ComparisonValueModel.md
docs/ConditionModel.md
docs/ConfigModel.md
-docs/ConfigModelHaljson.md
-docs/ConfigModelHaljsonEmbedded.md
-docs/ConfigModelHaljsonEmbeddedProduct.md
-docs/ConfigModelHaljsonEmbeddedProductEmbedded.md
-docs/ConfigModelHaljsonEmbeddedProductEmbeddedOrganization.md
-docs/ConfigModelHaljsonEmbeddedProductEmbeddedOrganizationLinks.md
-docs/ConfigModelHaljsonEmbeddedProductLinks.md
-docs/ConfigModelHaljsonLinks.md
docs/ConfigSettingFormulaModel.md
docs/ConfigSettingFormulasModel.md
-docs/ConfigSettingFormulasModelHaljson.md
-docs/ConfigSettingFormulasModelHaljsonEmbedded.md
-docs/ConfigSettingFormulasModelHaljsonEmbeddedConfig.md
-docs/ConfigSettingFormulasModelHaljsonEmbeddedEnvironment.md
-docs/ConfigSettingFormulasModelHaljsonEmbeddedEnvironmentLinks.md
docs/ConfigSettingValueModel.md
docs/ConfigSettingValuesModel.md
-docs/ConfigSettingValuesModelHaljson.md
docs/ConfigsApi.md
docs/ConnectRequest.md
docs/CreateConfigRequest.md
@@ -65,12 +51,12 @@ docs/CreateProductRequest.md
docs/CreateSegmentModel.md
docs/CreateSettingInitialValues.md
docs/CreateTagModel.md
+docs/CreateWebHookRequest.md
docs/DeleteIntegrationLinkModel.md
docs/DeleteRepositoryReportsRequest.md
docs/EnvironmentAccessModel.md
docs/EnvironmentAccessType.md
docs/EnvironmentModel.md
-docs/EnvironmentModelHaljson.md
docs/EnvironmentsApi.md
docs/EvaluationVersion.md
docs/FeatureFlagLimitations.md
@@ -86,31 +72,33 @@ docs/IntegrationLinkDetailsModel.md
docs/IntegrationLinkModel.md
docs/IntegrationLinkType.md
docs/IntegrationLinksApi.md
+docs/InvitationModel.md
docs/InviteMembersRequest.md
docs/JsonPatchOperation.md
+docs/KeyGenerationMode.md
docs/MeApi.md
docs/MeModel.md
docs/MemberModel.md
docs/MembersApi.md
docs/OperationType.md
docs/OrganizationAdminModel.md
+docs/OrganizationInvitationModel.md
docs/OrganizationMemberModel.md
docs/OrganizationMembersModel.md
docs/OrganizationModel.md
-docs/OrganizationModelHaljson.md
docs/OrganizationPermissionGroupModel.md
docs/OrganizationPermissionModel.md
docs/OrganizationProductModel.md
docs/OrganizationsApi.md
docs/PercentageOptionModel.md
docs/PermissionGroupModel.md
-docs/PermissionGroupModelHaljson.md
docs/PermissionGroupsApi.md
+docs/PreferencesModel.md
docs/PrerequisiteComparator.md
docs/PrerequisiteFlagConditionModel.md
docs/ProductModel.md
-docs/ProductModelHaljson.md
docs/ProductsApi.md
+docs/ReasonRequiredEnvironmentModel.md
docs/ReferenceLine.md
docs/ReferenceLines.md
docs/RolloutPercentageItemModel.md
@@ -121,27 +109,15 @@ docs/SdkKeysModel.md
docs/SegmentComparator.md
docs/SegmentConditionModel.md
docs/SegmentListModel.md
-docs/SegmentListModelHaljson.md
docs/SegmentModel.md
-docs/SegmentModelHaljson.md
docs/SegmentsApi.md
docs/SettingDataModel.md
docs/SettingFormulaModel.md
-docs/SettingFormulaModelHaljson.md
-docs/SettingFormulaModelHaljsonEmbedded.md
-docs/SettingFormulaModelHaljsonEmbeddedIntegrationLinksInner.md
-docs/SettingFormulaModelHaljsonEmbeddedSetting.md
-docs/SettingFormulaModelHaljsonEmbeddedSettingTagsInner.md
docs/SettingModel.md
-docs/SettingModelHaljson.md
-docs/SettingModelHaljsonEmbedded.md
-docs/SettingModelHaljsonEmbeddedTagsInner.md
docs/SettingTagModel.md
docs/SettingType.md
docs/SettingValueModel.md
-docs/SettingValueModelHaljson.md
docs/TagModel.md
-docs/TagModelHaljson.md
docs/TagsApi.md
docs/TargetingRuleModel.md
docs/UpdateConfigRequest.md
@@ -149,8 +125,11 @@ docs/UpdateEnvironmentModel.md
docs/UpdateEvaluationFormulaModel.md
docs/UpdateEvaluationFormulaWithIdModel.md
docs/UpdateEvaluationFormulasModel.md
+docs/UpdateMemberPermissionsRequest.md
docs/UpdatePermissionGroupRequest.md
+docs/UpdatePreferencesRequest.md
docs/UpdateProductRequest.md
+docs/UpdateReasonRequiredEnvironmentModel.md
docs/UpdateSegmentModel.md
docs/UpdateSettingValueModel.md
docs/UpdateSettingValueWithSettingIdModel.md
@@ -160,13 +139,17 @@ docs/UserComparator.md
docs/UserConditionModel.md
docs/UserModel.md
docs/ValueModel.md
+docs/WebHookHttpMethod.md
+docs/WebhookHeaderModel.md
+docs/WebhookModel.md
+docs/WebhookSigningKeysModel.md
+docs/WebhooksApi.md
git_push.sh
go.mod
go.sum
model_access_type.go
model_add_or_update_integration_link_model.go
model_add_or_update_jira_integration_link_model.go
-model_add_user_to_group_request.go
model_audit_log_item_model.go
model_audit_log_type.go
model_code_reference_model.go
@@ -176,24 +159,10 @@ model_comparison_value_list_model.go
model_comparison_value_model.go
model_condition_model.go
model_config_model.go
-model_config_model_haljson.go
-model_config_model_haljson__embedded.go
-model_config_model_haljson__embedded_product.go
-model_config_model_haljson__embedded_product__embedded.go
-model_config_model_haljson__embedded_product__embedded_organization.go
-model_config_model_haljson__embedded_product__embedded_organization__links.go
-model_config_model_haljson__embedded_product__links.go
-model_config_model_haljson__links.go
model_config_setting_formula_model.go
model_config_setting_formulas_model.go
-model_config_setting_formulas_model_haljson.go
-model_config_setting_formulas_model_haljson__embedded.go
-model_config_setting_formulas_model_haljson__embedded_config.go
-model_config_setting_formulas_model_haljson__embedded_environment.go
-model_config_setting_formulas_model_haljson__embedded_environment__links.go
model_config_setting_value_model.go
model_config_setting_values_model.go
-model_config_setting_values_model_haljson.go
model_connect_request.go
model_create_config_request.go
model_create_environment_model.go
@@ -203,12 +172,12 @@ model_create_product_request.go
model_create_segment_model.go
model_create_setting_initial_values.go
model_create_tag_model.go
+model_create_web_hook_request.go
model_delete_integration_link_model.go
model_delete_repository_reports_request.go
model_environment_access_model.go
model_environment_access_type.go
model_environment_model.go
-model_environment_model_haljson.go
model_evaluation_version.go
model_feature_flag_limitations.go
model_flag_reference.go
@@ -217,26 +186,28 @@ model_integration_link_detail.go
model_integration_link_details_model.go
model_integration_link_model.go
model_integration_link_type.go
+model_invitation_model.go
model_invite_members_request.go
model_json_patch_operation.go
+model_key_generation_mode.go
model_me_model.go
model_member_model.go
model_operation_type.go
model_organization_admin_model.go
+model_organization_invitation_model.go
model_organization_member_model.go
model_organization_members_model.go
model_organization_model.go
-model_organization_model_haljson.go
model_organization_permission_group_model.go
model_organization_permission_model.go
model_organization_product_model.go
model_percentage_option_model.go
model_permission_group_model.go
-model_permission_group_model_haljson.go
+model_preferences_model.go
model_prerequisite_comparator.go
model_prerequisite_flag_condition_model.go
model_product_model.go
-model_product_model_haljson.go
+model_reason_required_environment_model.go
model_reference_line.go
model_reference_lines.go
model_rollout_percentage_item_model.go
@@ -246,34 +217,25 @@ model_sdk_keys_model.go
model_segment_comparator.go
model_segment_condition_model.go
model_segment_list_model.go
-model_segment_list_model_haljson.go
model_segment_model.go
-model_segment_model_haljson.go
model_setting_data_model.go
model_setting_formula_model.go
-model_setting_formula_model_haljson.go
-model_setting_formula_model_haljson__embedded.go
-model_setting_formula_model_haljson__embedded_integration_links_inner.go
-model_setting_formula_model_haljson__embedded_setting.go
-model_setting_formula_model_haljson__embedded_setting_tags_inner.go
model_setting_model.go
-model_setting_model_haljson.go
-model_setting_model_haljson__embedded.go
-model_setting_model_haljson__embedded_tags_inner.go
model_setting_tag_model.go
model_setting_type.go
model_setting_value_model.go
-model_setting_value_model_haljson.go
model_tag_model.go
-model_tag_model_haljson.go
model_targeting_rule_model.go
model_update_config_request.go
model_update_environment_model.go
model_update_evaluation_formula_model.go
model_update_evaluation_formula_with_id_model.go
model_update_evaluation_formulas_model.go
+model_update_member_permissions_request.go
model_update_permission_group_request.go
+model_update_preferences_request.go
model_update_product_request.go
+model_update_reason_required_environment_model.go
model_update_segment_model.go
model_update_setting_value_model.go
model_update_setting_value_with_setting_id_model.go
@@ -283,5 +245,9 @@ model_user_comparator.go
model_user_condition_model.go
model_user_model.go
model_value_model.go
+model_web_hook_http_method.go
+model_webhook_header_model.go
+model_webhook_model.go
+model_webhook_signing_keys_model.go
response.go
utils.go
diff --git a/README.md b/README.md
index 544fda9..c09749c 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
# Go API client for configcatpublicapi
+The purpose of this API is to access the ConfigCat platform programmatically.
+You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat.
+
**Base API URL**: https://test-api.configcat.com
If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger).
-The purpose of this API is to access the ConfigCat platform programmatically.
-You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat.
-
The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON
-and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview).
+format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview).
# OpenAPI Specification
@@ -154,13 +154,16 @@ Class | Method | HTTP request | Description
*IntegrationLinksApi* | [**DeleteIntegrationLink**](docs/IntegrationLinksApi.md#deleteintegrationlink) | **Delete** /v1/environments/{environmentId}/settings/{settingId}/integrationLinks/{integrationLinkType}/{key} | Delete Integration link
*IntegrationLinksApi* | [**GetIntegrationLinkDetails**](docs/IntegrationLinksApi.md#getintegrationlinkdetails) | **Get** /v1/integrationLink/{integrationLinkType}/{key}/details | Get Integration link
*IntegrationLinksApi* | [**JiraAddOrUpdateIntegrationLink**](docs/IntegrationLinksApi.md#jiraaddorupdateintegrationlink) | **Post** /v1/jira/environments/{environmentId}/settings/{settingId}/integrationLinks/{key} |
-*IntegrationLinksApi* | [**V1JiraConnectPost**](docs/IntegrationLinksApi.md#v1jiraconnectpost) | **Post** /v1/jira/Connect |
+*IntegrationLinksApi* | [**JiraConnect**](docs/IntegrationLinksApi.md#jiraconnect) | **Post** /v1/jira/connect |
*MeApi* | [**GetMe**](docs/MeApi.md#getme) | **Get** /v1/me | Get authenticated user details
*MembersApi* | [**AddMemberToGroup**](docs/MembersApi.md#addmembertogroup) | **Post** /v1/organizations/{organizationId}/members/{userId} | Update Member Permissions
+*MembersApi* | [**DeleteInvitation**](docs/MembersApi.md#deleteinvitation) | **Delete** /v1/invitations/{invitationId} | Delete Invitation
*MembersApi* | [**DeleteOrganizationMember**](docs/MembersApi.md#deleteorganizationmember) | **Delete** /v1/organizations/{organizationId}/members/{userId} | Delete Member from Organization
*MembersApi* | [**DeleteProductMember**](docs/MembersApi.md#deleteproductmember) | **Delete** /v1/products/{productId}/members/{userId} | Delete Member from Product
*MembersApi* | [**GetOrganizationMembers**](docs/MembersApi.md#getorganizationmembers) | **Get** /v1/organizations/{organizationId}/members | List Organization Members
*MembersApi* | [**GetOrganizationMembersV2**](docs/MembersApi.md#getorganizationmembersv2) | **Get** /v2/organizations/{organizationId}/members | List Organization Members
+*MembersApi* | [**GetPendingInvitations**](docs/MembersApi.md#getpendinginvitations) | **Get** /v1/products/{productId}/invitations | List Pending Invitations in Product
+*MembersApi* | [**GetPendingInvitationsOrg**](docs/MembersApi.md#getpendinginvitationsorg) | **Get** /v1/organizations/{organizationId}/invitations | List Pending Invitations in Organization
*MembersApi* | [**GetProductMembers**](docs/MembersApi.md#getproductmembers) | **Get** /v1/products/{productId}/members | List Product Members
*MembersApi* | [**InviteMember**](docs/MembersApi.md#invitemember) | **Post** /v1/products/{productId}/members/invite | Invite Member
*OrganizationsApi* | [**GetOrganizations**](docs/OrganizationsApi.md#getorganizations) | **Get** /v1/organizations | List Organizations
@@ -172,8 +175,10 @@ Class | Method | HTTP request | Description
*ProductsApi* | [**CreateProduct**](docs/ProductsApi.md#createproduct) | **Post** /v1/organizations/{organizationId}/products | Create Product
*ProductsApi* | [**DeleteProduct**](docs/ProductsApi.md#deleteproduct) | **Delete** /v1/products/{productId} | Delete Product
*ProductsApi* | [**GetProduct**](docs/ProductsApi.md#getproduct) | **Get** /v1/products/{productId} | Get Product
+*ProductsApi* | [**GetProductPreferences**](docs/ProductsApi.md#getproductpreferences) | **Get** /v1/products/{productId}/preferences | Get Product Preferences
*ProductsApi* | [**GetProducts**](docs/ProductsApi.md#getproducts) | **Get** /v1/products | List Products
*ProductsApi* | [**UpdateProduct**](docs/ProductsApi.md#updateproduct) | **Put** /v1/products/{productId} | Update Product
+*ProductsApi* | [**UpdateProductPreferences**](docs/ProductsApi.md#updateproductpreferences) | **Post** /v1/products/{productId}/preferences | Update Product Preferences
*SDKKeysApi* | [**GetSdkKeys**](docs/SDKKeysApi.md#getsdkkeys) | **Get** /v1/configs/{configId}/environments/{environmentId} | Get SDK Key
*SegmentsApi* | [**CreateSegment**](docs/SegmentsApi.md#createsegment) | **Post** /v1/products/{productId}/segments | Create Segment
*SegmentsApi* | [**DeleteSegment**](docs/SegmentsApi.md#deletesegment) | **Delete** /v1/segments/{segmentId} | Delete Segment
@@ -186,6 +191,12 @@ Class | Method | HTTP request | Description
*TagsApi* | [**GetTag**](docs/TagsApi.md#gettag) | **Get** /v1/tags/{tagId} | Get Tag
*TagsApi* | [**GetTags**](docs/TagsApi.md#gettags) | **Get** /v1/products/{productId}/tags | List Tags
*TagsApi* | [**UpdateTag**](docs/TagsApi.md#updatetag) | **Put** /v1/tags/{tagId} | Update Tag
+*WebhooksApi* | [**CreateWebhook**](docs/WebhooksApi.md#createwebhook) | **Post** /v1/configs/{configId}/environments/{environmentId}/webhooks | Create Webhook
+*WebhooksApi* | [**DeleteWebhook**](docs/WebhooksApi.md#deletewebhook) | **Delete** /v1/webhooks/{webhookId} | Delete Webhook
+*WebhooksApi* | [**GetWebhook**](docs/WebhooksApi.md#getwebhook) | **Get** /v1/webhooks/{webhookId} | Get Webhook
+*WebhooksApi* | [**GetWebhookSigningKeys**](docs/WebhooksApi.md#getwebhooksigningkeys) | **Get** /v1/webhooks/{webhookId}/keys | Get Webhook Signing Keys
+*WebhooksApi* | [**GetWebhooks**](docs/WebhooksApi.md#getwebhooks) | **Get** /v1/products/{productId}/webhooks | List Webhooks
+*WebhooksApi* | [**UpdateWebhook**](docs/WebhooksApi.md#updatewebhook) | **Patch** /v1/webhooks/{webhookId} | Update Webhook
## Documentation For Models
@@ -193,7 +204,6 @@ Class | Method | HTTP request | Description
- [AccessType](docs/AccessType.md)
- [AddOrUpdateIntegrationLinkModel](docs/AddOrUpdateIntegrationLinkModel.md)
- [AddOrUpdateJiraIntegrationLinkModel](docs/AddOrUpdateJiraIntegrationLinkModel.md)
- - [AddUserToGroupRequest](docs/AddUserToGroupRequest.md)
- [AuditLogItemModel](docs/AuditLogItemModel.md)
- [AuditLogType](docs/AuditLogType.md)
- [CodeReferenceModel](docs/CodeReferenceModel.md)
@@ -203,24 +213,10 @@ Class | Method | HTTP request | Description
- [ComparisonValueModel](docs/ComparisonValueModel.md)
- [ConditionModel](docs/ConditionModel.md)
- [ConfigModel](docs/ConfigModel.md)
- - [ConfigModelHaljson](docs/ConfigModelHaljson.md)
- - [ConfigModelHaljsonEmbedded](docs/ConfigModelHaljsonEmbedded.md)
- - [ConfigModelHaljsonEmbeddedProduct](docs/ConfigModelHaljsonEmbeddedProduct.md)
- - [ConfigModelHaljsonEmbeddedProductEmbedded](docs/ConfigModelHaljsonEmbeddedProductEmbedded.md)
- - [ConfigModelHaljsonEmbeddedProductEmbeddedOrganization](docs/ConfigModelHaljsonEmbeddedProductEmbeddedOrganization.md)
- - [ConfigModelHaljsonEmbeddedProductEmbeddedOrganizationLinks](docs/ConfigModelHaljsonEmbeddedProductEmbeddedOrganizationLinks.md)
- - [ConfigModelHaljsonEmbeddedProductLinks](docs/ConfigModelHaljsonEmbeddedProductLinks.md)
- - [ConfigModelHaljsonLinks](docs/ConfigModelHaljsonLinks.md)
- [ConfigSettingFormulaModel](docs/ConfigSettingFormulaModel.md)
- [ConfigSettingFormulasModel](docs/ConfigSettingFormulasModel.md)
- - [ConfigSettingFormulasModelHaljson](docs/ConfigSettingFormulasModelHaljson.md)
- - [ConfigSettingFormulasModelHaljsonEmbedded](docs/ConfigSettingFormulasModelHaljsonEmbedded.md)
- - [ConfigSettingFormulasModelHaljsonEmbeddedConfig](docs/ConfigSettingFormulasModelHaljsonEmbeddedConfig.md)
- - [ConfigSettingFormulasModelHaljsonEmbeddedEnvironment](docs/ConfigSettingFormulasModelHaljsonEmbeddedEnvironment.md)
- - [ConfigSettingFormulasModelHaljsonEmbeddedEnvironmentLinks](docs/ConfigSettingFormulasModelHaljsonEmbeddedEnvironmentLinks.md)
- [ConfigSettingValueModel](docs/ConfigSettingValueModel.md)
- [ConfigSettingValuesModel](docs/ConfigSettingValuesModel.md)
- - [ConfigSettingValuesModelHaljson](docs/ConfigSettingValuesModelHaljson.md)
- [ConnectRequest](docs/ConnectRequest.md)
- [CreateConfigRequest](docs/CreateConfigRequest.md)
- [CreateEnvironmentModel](docs/CreateEnvironmentModel.md)
@@ -230,12 +226,12 @@ Class | Method | HTTP request | Description
- [CreateSegmentModel](docs/CreateSegmentModel.md)
- [CreateSettingInitialValues](docs/CreateSettingInitialValues.md)
- [CreateTagModel](docs/CreateTagModel.md)
+ - [CreateWebHookRequest](docs/CreateWebHookRequest.md)
- [DeleteIntegrationLinkModel](docs/DeleteIntegrationLinkModel.md)
- [DeleteRepositoryReportsRequest](docs/DeleteRepositoryReportsRequest.md)
- [EnvironmentAccessModel](docs/EnvironmentAccessModel.md)
- [EnvironmentAccessType](docs/EnvironmentAccessType.md)
- [EnvironmentModel](docs/EnvironmentModel.md)
- - [EnvironmentModelHaljson](docs/EnvironmentModelHaljson.md)
- [EvaluationVersion](docs/EvaluationVersion.md)
- [FeatureFlagLimitations](docs/FeatureFlagLimitations.md)
- [FlagReference](docs/FlagReference.md)
@@ -244,26 +240,28 @@ Class | Method | HTTP request | Description
- [IntegrationLinkDetailsModel](docs/IntegrationLinkDetailsModel.md)
- [IntegrationLinkModel](docs/IntegrationLinkModel.md)
- [IntegrationLinkType](docs/IntegrationLinkType.md)
+ - [InvitationModel](docs/InvitationModel.md)
- [InviteMembersRequest](docs/InviteMembersRequest.md)
- [JsonPatchOperation](docs/JsonPatchOperation.md)
+ - [KeyGenerationMode](docs/KeyGenerationMode.md)
- [MeModel](docs/MeModel.md)
- [MemberModel](docs/MemberModel.md)
- [OperationType](docs/OperationType.md)
- [OrganizationAdminModel](docs/OrganizationAdminModel.md)
+ - [OrganizationInvitationModel](docs/OrganizationInvitationModel.md)
- [OrganizationMemberModel](docs/OrganizationMemberModel.md)
- [OrganizationMembersModel](docs/OrganizationMembersModel.md)
- [OrganizationModel](docs/OrganizationModel.md)
- - [OrganizationModelHaljson](docs/OrganizationModelHaljson.md)
- [OrganizationPermissionGroupModel](docs/OrganizationPermissionGroupModel.md)
- [OrganizationPermissionModel](docs/OrganizationPermissionModel.md)
- [OrganizationProductModel](docs/OrganizationProductModel.md)
- [PercentageOptionModel](docs/PercentageOptionModel.md)
- [PermissionGroupModel](docs/PermissionGroupModel.md)
- - [PermissionGroupModelHaljson](docs/PermissionGroupModelHaljson.md)
+ - [PreferencesModel](docs/PreferencesModel.md)
- [PrerequisiteComparator](docs/PrerequisiteComparator.md)
- [PrerequisiteFlagConditionModel](docs/PrerequisiteFlagConditionModel.md)
- [ProductModel](docs/ProductModel.md)
- - [ProductModelHaljson](docs/ProductModelHaljson.md)
+ - [ReasonRequiredEnvironmentModel](docs/ReasonRequiredEnvironmentModel.md)
- [ReferenceLine](docs/ReferenceLine.md)
- [ReferenceLines](docs/ReferenceLines.md)
- [RolloutPercentageItemModel](docs/RolloutPercentageItemModel.md)
@@ -273,34 +271,25 @@ Class | Method | HTTP request | Description
- [SegmentComparator](docs/SegmentComparator.md)
- [SegmentConditionModel](docs/SegmentConditionModel.md)
- [SegmentListModel](docs/SegmentListModel.md)
- - [SegmentListModelHaljson](docs/SegmentListModelHaljson.md)
- [SegmentModel](docs/SegmentModel.md)
- - [SegmentModelHaljson](docs/SegmentModelHaljson.md)
- [SettingDataModel](docs/SettingDataModel.md)
- [SettingFormulaModel](docs/SettingFormulaModel.md)
- - [SettingFormulaModelHaljson](docs/SettingFormulaModelHaljson.md)
- - [SettingFormulaModelHaljsonEmbedded](docs/SettingFormulaModelHaljsonEmbedded.md)
- - [SettingFormulaModelHaljsonEmbeddedIntegrationLinksInner](docs/SettingFormulaModelHaljsonEmbeddedIntegrationLinksInner.md)
- - [SettingFormulaModelHaljsonEmbeddedSetting](docs/SettingFormulaModelHaljsonEmbeddedSetting.md)
- - [SettingFormulaModelHaljsonEmbeddedSettingTagsInner](docs/SettingFormulaModelHaljsonEmbeddedSettingTagsInner.md)
- [SettingModel](docs/SettingModel.md)
- - [SettingModelHaljson](docs/SettingModelHaljson.md)
- - [SettingModelHaljsonEmbedded](docs/SettingModelHaljsonEmbedded.md)
- - [SettingModelHaljsonEmbeddedTagsInner](docs/SettingModelHaljsonEmbeddedTagsInner.md)
- [SettingTagModel](docs/SettingTagModel.md)
- [SettingType](docs/SettingType.md)
- [SettingValueModel](docs/SettingValueModel.md)
- - [SettingValueModelHaljson](docs/SettingValueModelHaljson.md)
- [TagModel](docs/TagModel.md)
- - [TagModelHaljson](docs/TagModelHaljson.md)
- [TargetingRuleModel](docs/TargetingRuleModel.md)
- [UpdateConfigRequest](docs/UpdateConfigRequest.md)
- [UpdateEnvironmentModel](docs/UpdateEnvironmentModel.md)
- [UpdateEvaluationFormulaModel](docs/UpdateEvaluationFormulaModel.md)
- [UpdateEvaluationFormulaWithIdModel](docs/UpdateEvaluationFormulaWithIdModel.md)
- [UpdateEvaluationFormulasModel](docs/UpdateEvaluationFormulasModel.md)
+ - [UpdateMemberPermissionsRequest](docs/UpdateMemberPermissionsRequest.md)
- [UpdatePermissionGroupRequest](docs/UpdatePermissionGroupRequest.md)
+ - [UpdatePreferencesRequest](docs/UpdatePreferencesRequest.md)
- [UpdateProductRequest](docs/UpdateProductRequest.md)
+ - [UpdateReasonRequiredEnvironmentModel](docs/UpdateReasonRequiredEnvironmentModel.md)
- [UpdateSegmentModel](docs/UpdateSegmentModel.md)
- [UpdateSettingValueModel](docs/UpdateSettingValueModel.md)
- [UpdateSettingValueWithSettingIdModel](docs/UpdateSettingValueWithSettingIdModel.md)
@@ -310,6 +299,10 @@ Class | Method | HTTP request | Description
- [UserConditionModel](docs/UserConditionModel.md)
- [UserModel](docs/UserModel.md)
- [ValueModel](docs/ValueModel.md)
+ - [WebHookHttpMethod](docs/WebHookHttpMethod.md)
+ - [WebhookHeaderModel](docs/WebhookHeaderModel.md)
+ - [WebhookModel](docs/WebhookModel.md)
+ - [WebhookSigningKeysModel](docs/WebhookSigningKeysModel.md)
## Documentation For Authorization
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 591eb9f..8926b91 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -4,14 +4,14 @@ info:
email: support@configcat.com
name: ConfigCat
url: https://configcat.com
- description: "**Base API URL**: https://test-api.configcat.com\n\nIf you prefer\
- \ the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger).\n\
- \nThe purpose of this API is to access the ConfigCat platform programmatically.\
- \ \nYou can **Create**, **Read**, **Update** and **Delete** any entities like\
- \ **Feature Flags, Configs, Environments** or **Products** within ConfigCat. \n\
+ description: "The purpose of this API is to access the ConfigCat platform programmatically.\n\
+ You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature\
+ \ Flags, Configs, Environments** or **Products** within ConfigCat.\n\n**Base API\
+ \ URL**: https://test-api.configcat.com\n\nIf you prefer the swagger documentation,\
+ \ you can find it here: [Swagger UI](https://test-api.configcat.com/swagger).\n\
\nThe API is based on HTTP REST, uses resource-oriented URLs, status codes and\
- \ supports JSON \nand JSON+HAL format. Do not use this API for accessing and evaluating\
- \ feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview).\n\
+ \ supports JSON \nformat. Do not use this API for accessing and evaluating feature\
+ \ flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview).\n\
\n\n# OpenAPI Specification\n\nThe complete specification is publicly available\
\ in the following formats: \n- [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json)\n\
- [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json)\n\nYou\
@@ -38,8 +38,8 @@ security:
- Basic: []
tags:
- description: |-
- _These endpoints are exclusive for **Config V2** Feature Flags._
-
+ These endpoints are exclusive for Config V2 Feature Flags.
+
They can only be used on a Config that has `evaluationVersion` set to `v2`.
With these endpoints you can control how your existing Feature Flags and Settings should serve their values.
You can turn Feature Flags on or off, update Setting values and change Targeting Rules.
@@ -49,8 +49,8 @@ tags:
from the [Feature Flag & Setting](#tag/Feature-Flags-and-Settings) endpoints.
name: Feature Flag & Setting values using SDK Key V2
- description: |-
- _These endpoints are exclusive for **Config V2** Feature Flags._
-
+ These endpoints are exclusive for Config V2 Feature Flags.
+
They can only be used on a Config that has `evaluationVersion` set to `v2`.
With these endpoints you can control how your existing Feature Flags and Settings should serve their values.
You can turn Feature Flags on or off, update Setting values and change Targeting Rules.
@@ -111,10 +111,15 @@ tags:
name: Permission Groups
- description: |-
With these endpoints you can manage your Products.
- This also can be used to manage [Environments](#tag/Environments), [Configs](#tag/Configs), [Tags](#tag/Tags) and [Permission Groups](#tag/Permission-Groups) through this API.
+ By gathering the right `productId`, you can also manage [Environments](#tag/Environments), [Configs](#tag/Configs), [Tags](#tag/Tags), [Webhooks](#tag/Webhooks), and [Permission Groups](#tag/Permission-Groups) through the API.
Here you can read more about the concept of Products.
name: Products
+- description: |-
+ With these endpoints you can manage Webhooks.
+
+ Here you can read more about the concept of Webhooks.
+ name: Webhooks
- description: "With these endpoints you can manage your Configs.\nThis also can be\
\ used to manage [Feature Flags and Settings](#tag/Feature-Flags-and-Settings)\
\ and their \n[served values](#tag/Feature-Flag-and-Setting-values) through this\
@@ -162,15 +167,7 @@ paths:
items:
$ref: '#/components/schemas/OrganizationModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/OrganizationModel-haljson'
- type: array
description: ""
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -190,15 +187,7 @@ paths:
items:
$ref: '#/components/schemas/ProductModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/ProductModel-haljson'
- type: array
description: ""
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -228,15 +217,7 @@ paths:
items:
$ref: '#/components/schemas/TagModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/TagModel-haljson'
- type: array
description: ""
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -276,23 +257,48 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/TagModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/TagModel-haljson'
description: When the creation was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
summary: Create Tag
tags:
- Tags
+ /v1/products/{productId}/webhooks:
+ get:
+ description: |-
+ This endpoint returns the list of the Webhooks that belongs to the given Product identified by the
+ `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
+ operationId: get-webhooks
+ parameters:
+ - description: The identifier of the Product.
+ explode: false
+ in: path
+ name: productId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/WebhookModel'
+ type: array
+ description: ""
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: List Webhooks
+ tags:
+ - Webhooks
/v1/products/{productId}/configs:
get:
description: |-
@@ -317,19 +323,11 @@ paths:
items:
$ref: '#/components/schemas/ConfigModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/ConfigModel-haljson'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -369,17 +367,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ConfigModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ConfigModel-haljson'
description: When the creation was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -410,19 +402,11 @@ paths:
items:
$ref: '#/components/schemas/EnvironmentModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/EnvironmentModel-haljson'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -462,17 +446,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/EnvironmentModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/EnvironmentModel-haljson'
description: When the creation was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -503,19 +481,11 @@ paths:
items:
$ref: '#/components/schemas/PermissionGroupModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/PermissionGroupModel-haljson'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -555,17 +525,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/PermissionGroupModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/PermissionGroupModel-haljson'
description: When the creation was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -596,19 +560,11 @@ paths:
items:
$ref: '#/components/schemas/SegmentListModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/SegmentListModel-haljson'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -648,17 +604,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SegmentModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SegmentModel-haljson'
description: When the creation was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -688,19 +638,11 @@ paths:
items:
$ref: '#/components/schemas/SettingModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/SettingModel-haljson'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -742,17 +684,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingModel-haljson'
description: When the creation was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -828,19 +764,11 @@ paths:
items:
$ref: '#/components/schemas/AuditLogItemModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/AuditLogItemModel'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -868,19 +796,11 @@ paths:
items:
$ref: '#/components/schemas/CodeReferenceModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/CodeReferenceModel'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -908,19 +828,11 @@ paths:
items:
$ref: '#/components/schemas/CodeReferencesForSettingModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/CodeReferencesForSettingModel'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -948,9 +860,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -978,17 +887,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ConfigModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ConfigModel-haljson'
description: "When everything is ok, the config data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1026,17 +929,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ConfigModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ConfigModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1066,19 +963,11 @@ paths:
items:
$ref: '#/components/schemas/SettingModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/SettingModel-haljson'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1118,9 +1007,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1147,17 +1033,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/EnvironmentModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/EnvironmentModel-haljson'
description: "When everything is ok, the environment data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1196,17 +1076,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/EnvironmentModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/EnvironmentModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1235,9 +1109,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1264,17 +1135,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/PermissionGroupModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/PermissionGroupModel-haljson'
description: "When everything is ok, the permission group data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1313,17 +1178,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/PermissionGroupModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/PermissionGroupModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1357,18 +1216,12 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/IntegrationLinkDetailsModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/IntegrationLinkDetailsModel'
description: "When everything is ok, the details for the integration link\
\ returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1405,17 +1258,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SdkKeysModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SdkKeysModel'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1432,13 +1279,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/MeModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/MeModel'
description: ""
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1524,19 +1365,11 @@ paths:
items:
$ref: '#/components/schemas/AuditLogItemModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/AuditLogItemModel'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1573,19 +1406,11 @@ paths:
items:
$ref: '#/components/schemas/UserModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/UserModel'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1619,23 +1444,87 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/OrganizationMembersModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/OrganizationMembersModel'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
summary: List Organization Members
tags:
- Members
+ /v1/organizations/{organizationId}/invitations:
+ get:
+ description: |-
+ This endpoint returns the list of pending invitations within the
+ given Organization identified by the `organizationId` parameter.
+ operationId: get-pending-invitations-org
+ parameters:
+ - description: The identifier of the Organization.
+ explode: false
+ in: path
+ name: organizationId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/OrganizationInvitationModel'
+ type: array
+ description: ""
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: List Pending Invitations in Organization
+ tags:
+ - Members
+ /v1/products/{productId}/invitations:
+ get:
+ description: |-
+ This endpoint returns the list of pending invitations within the
+ given Product identified by the `productId` parameter.
+ operationId: get-pending-invitations
+ parameters:
+ - description: The identifier of the Product.
+ explode: false
+ in: path
+ name: productId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/InvitationModel'
+ type: array
+ description: ""
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: List Pending Invitations in Product
+ tags:
+ - Members
/v1/products/{productId}:
delete:
description: This endpoint removes a Product identified by the `productId` parameter.
@@ -1657,9 +1546,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1686,17 +1572,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ProductModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ProductModel-haljson'
- description: "When everything is ok, the product data returned."
+ description: "When everything is ok, the product data is returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1734,17 +1614,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ProductModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ProductModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1774,25 +1648,92 @@ paths:
items:
$ref: '#/components/schemas/MemberModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/MemberModel'
- type: array
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
summary: List Product Members
tags:
- Members
+ /v1/products/{productId}/preferences:
+ get:
+ description: "This endpoint returns the preferences of a Product \nidentified\
+ \ by the `productId`."
+ operationId: get-product-preferences
+ parameters:
+ - description: The identifier of the Product.
+ explode: false
+ in: path
+ name: productId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PreferencesModel'
+ description: "When everything is ok, the product preferences data is returned."
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: Get Product Preferences
+ tags:
+ - Products
+ post:
+ description: This endpoint updates the preferences of a Product identified by
+ the `productId` parameter.
+ operationId: update-product-preferences
+ parameters:
+ - description: The identifier of the Product.
+ explode: false
+ in: path
+ name: productId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UpdatePreferencesRequest'
+ text/json:
+ schema:
+ $ref: '#/components/schemas/UpdatePreferencesRequest'
+ application/*+json:
+ schema:
+ $ref: '#/components/schemas/UpdatePreferencesRequest'
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PreferencesModel'
+ description: When the update was successful.
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: Update Product Preferences
+ tags:
+ - Products
/v1/segments/{segmentId}:
delete:
description: This endpoint removes a Segment identified by the `segmentId` parameter.
@@ -1814,9 +1755,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1844,17 +1782,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SegmentModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SegmentModel-haljson'
description: "When everything is ok, the config data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1892,17 +1824,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SegmentModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SegmentModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1931,9 +1857,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1960,17 +1883,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingModel-haljson'
description: "When everything is ok, the setting data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -1979,30 +1896,30 @@ paths:
- Feature Flags & Settings
patch:
description: "This endpoint updates the metadata of a Feature Flag or Setting\
- \ \nwith a collection of [JSON Patch](http://jsonpatch.com) operations in\
+ \ \nwith a collection of [JSON Patch](https://jsonpatch.com) operations in\
\ a specified Config.\n\nOnly the `name`, `hint` and `tags` attributes are\
\ modifiable by this endpoint.\nThe `tags` attribute is a simple collection\
\ of the [tag IDs](#operation/get-tags) attached to the given setting.\n\n\
The advantage of using JSON Patch is that you can describe individual update\
\ operations on a resource\nwithout touching attributes that you don't want\
- \ to change.\n\nFor example: We have the following resource.\n```\n{\n\t\"\
- settingId\": 5345,\n\t\"key\": \"myGrandFeature\",\n\t\"name\": \"Tihs is\
- \ a naem with soem typos.\",\n\t\"hint\": \"This flag controls my grandioso\
- \ feature.\",\n\t\"settingType\": \"boolean\",\n\t\"tags\": [\n\t\t{\n\t\t\
- \t\"tagId\": 0,\n\t\t\t\"name\": \"sample tag\",\n\t\t\t\"color\": \"whale\"\
- \n\t\t}\n\t]\n}\n```\nIf we send an update request body as below (it changes\
- \ the name and adds the already existing tag with the id 2):\n```\n[\n\t{\n\
- \t\t\"op\": \"replace\",\n\t\t\"path\": \"/name\",\n\t\t\"value\": \"This\
- \ is the name without typos.\"\n\t},\n\t{\n\t\t\"op\": \"add\",\n\t\t\"path\"\
- : \"/tags/-\",\n\t\t\"value\": 2\n\t}\n]\n```\nOnly the `name` and `tags`\
- \ are going to be updated and all the other attributes are remaining unchanged.\n\
- So we get a response like this:\n```\n{\n\t\"settingId\": 5345,\n\t\"key\"\
- : \"myGrandFeature\",\n\t\"name\": \"This is the name without typos.\",\n\t\
- \"hint\": \"This flag controls my grandioso feature.\",\n\t\"settingType\"\
- : \"boolean\",\n\t\"tags\": [\n\t\t{\n\t\t\t\"tagId\": 0,\n\t\t\t\"name\"\
- : \"sample tag\",\n\t\t\t\"color\": \"whale\"\n\t\t},\n\t\t{\n\t\t\t\"tagId\"\
- : 2,\n\t\t\t\"name\": \"another tag\",\n\t\t\t\"color\": \"koala\"\n\t\t}\n\
- \t]\n}\n```"
+ \ to change.\n\nFor example: We have the following resource.\n```json\n{\n\
+ \ \"settingId\": 5345,\n \"key\": \"myGrandFeature\",\n \"name\": \"Tihs\
+ \ is a naem with soem typos.\",\n \"hint\": \"This flag controls my grandioso\
+ \ feature.\",\n \"settingType\": \"boolean\",\n \"tags\": [\n {\n \
+ \ \"tagId\": 0, \n \"name\": \"sample tag\", \n \"color\": \"\
+ whale\"\n }\n ]\n}\n```\nIf we send an update request body as below (it\
+ \ changes the `name` and adds the already existing tag with the id `2`):\n\
+ ```json\n[\n {\n \"op\": \"replace\", \n \"path\": \"/name\", \n \
+ \ \"value\": \"This is the name without typos.\"\n }, \n {\n \"op\"\
+ : \"add\", \n \"path\": \"/tags/-\", \n \"value\": 2\n }\n]\n```\n\
+ Only the `name` and `tags` are updated and all the other attributes remain\
+ \ unchanged.\nSo we get a response like this:\n```json\n{\n \"settingId\"\
+ : 5345, \n \"key\": \"myGrandFeature\", \n \"name\": \"This is the name\
+ \ without typos.\", \n \"hint\": \"This flag controls my grandioso feature.\"\
+ , \n \"settingType\": \"boolean\", \n \"tags\": [\n {\n \"tagId\"\
+ : 0, \n \"name\": \"sample tag\", \n \"color\": \"whale\"\n },\
+ \ \n {\n \"tagId\": 2, \n \"name\": \"another tag\", \n \
+ \ \"color\": \"koala\"\n }\n ]\n}\n```"
operationId: update-setting
parameters:
- description: The identifier of the Setting.
@@ -2038,17 +1955,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingModel-haljson'
description: When the update was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -2078,19 +1989,11 @@ paths:
items:
$ref: '#/components/schemas/SettingModel'
type: array
- application/hal+json:
- schema:
- items:
- $ref: '#/components/schemas/SettingModel-haljson'
- type: array
description: "When everything is ok, the settings data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -2111,7 +2014,7 @@ paths:
\ and Percentage Rules configuration of the actual Feature Flag or Setting\
\ \nin an **ordered** collection, which means the order of the returned rules\
\ is matching to the\nevaluation order. You can read more about these rules\
- \ [here](https://configcat.com/docs/advanced/targeting/)."
+ \ [here](https://configcat.com/docs/targeting/targeting-overview/)."
operationId: get-setting-value-by-sdkkey
parameters:
- description: The key or id of the Setting.
@@ -2136,17 +2039,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingValueModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingValueModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -2155,7 +2052,7 @@ paths:
- Feature Flag & Setting values using SDK Key
patch:
description: "This endpoint updates the value of a Feature Flag or Setting \n\
- with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified\
+ with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified\
\ Environment\nidentified by the SDK key passed in the `X-CONFIGCAT-SDKKEY`\
\ header.\n\nOnly the `value`, `rolloutRules` and `percentageRules` attributes\
@@ -2164,16 +2061,17 @@ paths:
\ touching attributes that you don't want to change. It supports collection\
\ reordering, so it also \ncan be used for reordering the targeting rules\
\ of a Feature Flag or Setting.\n\nFor example: We have the following resource.\n\
- ```\n{\n\t\"rolloutPercentageItems\": [\n\t\t{\n\t\t\t\"percentage\": 30,\n\
- \t\t\t\"value\": true\n\t\t},\n\t\t{\n\t\t\t\"percentage\": 70,\n\t\t\t\"\
- value\": false\n\t\t}\n\t],\n\t\"rolloutRules\": [],\n\t\"value\": false\n\
- }\n```\nIf we send an update request body as below:\n```\n[\n\t{\n\t\t\"op\"\
- : \"replace\",\n\t\t\"path\": \"/value\",\n\t\t\"value\": true\n\t}\n]\n```\n\
- Only the default served value is going to be set to `true` and all the Percentage\
- \ Rules are remaining unchanged.\nSo we get a response like this:\n```\n{\n\
- \t\"rolloutPercentageItems\": [\n\t\t{\n\t\t\t\"percentage\": 30,\n\t\t\t\"\
- value\": true\n\t\t},\n\t\t{\n\t\t\t\"percentage\": 70,\n\t\t\t\"value\":\
- \ false\n\t\t}\n\t],\n\t\"rolloutRules\": [],\n\t\"value\": true\n}\n```"
+ ```json\n{\n \"rolloutPercentageItems\": [\n {\n \"percentage\":\
+ \ 30,\n \"value\": true\n },\n {\n \"percentage\": 70,\n \
+ \ \"value\": false\n }\n ],\n \"rolloutRules\": [],\n \"value\"\
+ : false\n}\n```\nIf we send an update request body as below:\n```json\n[\n\
+ \ {\n \"op\": \"replace\",\n \"path\": \"/value\",\n \"value\":\
+ \ true\n }\n]\n```\nOnly the default served value is going to be set to `true`\
+ \ and all the Percentage Rules are remaining unchanged.\nSo we get a response\
+ \ like this:\n```json\n{\n \"rolloutPercentageItems\": [\n {\n \"\
+ percentage\": 30,\n \"value\": true\n },\n {\n \"percentage\"\
+ : 70,\n \"value\": false\n }\n ],\n \"rolloutRules\": [],\n \"\
+ value\": true\n}\n```"
operationId: update-setting-value-by-sdkkey
parameters:
- description: The key or id of the Setting.
@@ -2417,9 +2315,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingValueModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingValueModel-haljson'
description: ""
"204":
description: When no change applied on the resource.
@@ -2427,9 +2322,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -2445,14 +2337,14 @@ paths:
\ As this endpoint is doing a complete replace, it's important to set every\
\ other attribute that you don't \nwant to change to its original state. Not\
\ listing one means that it will reset.\n\nFor example: We have the following\
- \ resource.\n```\n{\n\t\"rolloutPercentageItems\": [\n\t\t{\n\t\t\t\"percentage\"\
- : 30,\n\t\t\t\"value\": true\n\t\t},\n\t\t{\n\t\t\t\"percentage\": 70,\n\t\
- \t\t\"value\": false\n\t\t}\n\t],\n\t\"rolloutRules\": [],\n\t\"value\": false\n\
- }\n```\nIf we send a replace request body as below:\n```\n{\n\t\"value\":\
- \ true\n}\n```\nThen besides that the default served value is set to `true`,\
- \ all the Percentage Rules are deleted. \nSo we get a response like this:\n\
- ```\n{\n\t\"rolloutPercentageItems\": [],\n\t\"rolloutRules\": [],\n\t\"value\"\
- : true\n}\n```"
+ \ resource.\n```json\n{\n \"rolloutPercentageItems\": [\n {\n \"\
+ percentage\": 30,\n \"value\": true\n },\n {\n \"percentage\"\
+ : 70,\n \"value\": false\n }\n ],\n \"rolloutRules\": [],\n \"\
+ value\": false\n}\n```\nIf we send a replace request body as below:\n```json\n\
+ {\n \"value\": true\n}\n```\nThen besides that the default served value is\
+ \ set to `true`, all the Percentage Rules are deleted. \nSo we get a response\
+ \ like this:\n```json\n{\n \"rolloutPercentageItems\": [],\n \"rolloutRules\"\
+ : [],\n \"value\": true\n}\n```"
operationId: replace-setting-value-by-sdkkey
parameters:
- description: The key or id of the Setting.
@@ -2543,17 +2435,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingValueModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingValueModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -2572,7 +2458,7 @@ paths:
\ representing the current \nTargeting and Percentage Rules configuration\
\ of the actual Feature Flag or Setting \nin an **ordered** collection, which\
\ means the order of the returned rules is matching to the\nevaluation order.\
- \ You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/)."
+ \ You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview)."
operationId: get-setting-value
parameters:
- description: The identifier of the Environment.
@@ -2599,17 +2485,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingValueModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingValueModel-haljson'
description: "When everything is ok, the setting value data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -2618,29 +2498,29 @@ paths:
- Feature Flag & Setting values
patch:
description: "This endpoint updates the value of a Feature Flag or Setting \n\
- with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified\
+ with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified\
\ Environment.\n\nOnly the `value`, `rolloutRules` and `percentageRules` attributes\
\ are modifiable by this endpoint.\n\nThe advantage of using JSON Patch is\
\ that you can describe individual update operations on a resource\nwithout\
\ touching attributes that you don't want to change. It supports collection\
\ reordering, so it also \ncan be used for reordering the targeting rules\
\ of a Feature Flag or Setting.\n\nFor example: We have the following resource.\n\
- ```\n{\n\t\"rolloutPercentageItems\": [\n\t\t{\n\t\t\t\"percentage\": 30,\n\
- \t\t\t\"value\": true\n\t\t},\n\t\t{\n\t\t\t\"percentage\": 70,\n\t\t\t\"\
- value\": false\n\t\t}\n\t],\n\t\"rolloutRules\": [],\n\t\"value\": false\n\
- }\n```\nIf we send an update request body as below:\n```\n[\n\t{\n\t\t\"op\"\
- : \"replace\",\n\t\t\"path\": \"/value\",\n\t\t\"value\": true\n\t}\n]\n```\n\
- Only the default value is going to be set to `true` and all the Percentage\
- \ Rules are remaining unchanged.\nSo we get a response like this:\n```\n{\n\
- \t\"rolloutPercentageItems\": [\n\t\t{\n\t\t\t\"percentage\": 30,\n\t\t\t\"\
- value\": true\n\t\t},\n\t\t{\n\t\t\t\"percentage\": 70,\n\t\t\t\"value\":\
- \ false\n\t\t}\n\t],\n\t\"rolloutRules\": [],\n\t\"value\": true\n}\n```\n\
- \nThe `rolloutRules` property describes two types of rules:\n\n- **Targeting\
- \ rules**: When you want to add or update a targeting rule, the `comparator`,\
- \ `comparisonAttribute`, and `comparisonValue` members are required.\n- **Segment\
- \ rules**: When you want to add add or update a segment rule, the `segmentId`\
- \ which identifies the desired segment and the `segmentComparator` members\
- \ are required."
+ ```json\n{\n \"rolloutPercentageItems\": [\n {\n \"percentage\":\
+ \ 30,\n \"value\": true\n },\n {\n \"percentage\": 70,\n \
+ \ \"value\": false\n }\n ],\n \"rolloutRules\": [],\n \"value\"\
+ : false\n}\n```\nIf we send an update request body as below:\n```json\n[\n\
+ \ {\n \"op\": \"replace\",\n \"path\": \"/value\",\n \"value\":\
+ \ true\n }\n]\n```\nOnly the default value is going to be set to `true` and\
+ \ all the Percentage Rules are remaining unchanged.\nSo we get a response\
+ \ like this:\n```json\n{\n \"rolloutPercentageItems\": [\n {\n \"\
+ percentage\": 30,\n \"value\": true\n },\n {\n \"percentage\"\
+ : 70,\n \"value\": false\n }\n ],\n \"rolloutRules\": [],\n \"\
+ value\": true\n}\n```\n\nThe `rolloutRules` property describes two types of\
+ \ rules:\n\n- **Targeting rules**: When you want to add or update a targeting\
+ \ rule, the `comparator`, `comparisonAttribute`, and `comparisonValue` members\
+ \ are required.\n- **Segment rules**: When you want to add add or update a\
+ \ segment rule, the `segmentId` which identifies the desired segment and the\
+ \ `segmentComparator` members are required."
operationId: update-setting-value
parameters:
- description: The identifier of the Environment.
@@ -2886,9 +2766,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingValueModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingValueModel-haljson'
description: When the patch was successful.
"204":
description: When no change applied on the resource.
@@ -2896,9 +2773,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -2911,14 +2785,14 @@ paths:
\ attributes are modifiable by this endpoint.\n\n**Important:** As this endpoint\
\ is doing a complete replace, it's important to set every other attribute\
\ that you don't \nwant to change in its original state. Not listing one means\
- \ that it will reset.\n\nFor example: We have the following resource.\n```\n\
- {\n\t\"rolloutPercentageItems\": [\n\t\t{\n\t\t\t\"percentage\": 30,\n\t\t\
- \t\"value\": true\n\t\t},\n\t\t{\n\t\t\t\"percentage\": 70,\n\t\t\t\"value\"\
- : false\n\t\t}\n\t],\n\t\"rolloutRules\": [],\n\t\"value\": false\n}\n```\n\
- If we send a replace request body as below:\n```\n{\n\t\"value\": true\n}\n\
- ```\nThen besides that the default value is set to `true`, all the Percentage\
- \ Rules are deleted. \nSo we get a response like this:\n```\n{\n\t\"rolloutPercentageItems\"\
- : [],\n\t\"rolloutRules\": [],\n\t\"value\": true\n}\n```\n\nThe `rolloutRules`\
+ \ that it will reset.\n\nFor example: We have the following resource.\n```json\n\
+ {\n \"rolloutPercentageItems\": [\n {\n \"percentage\": 30,\n \
+ \ \"value\": true\n },\n {\n \"percentage\": 70,\n \"value\"\
+ : false\n }\n ],\n \"rolloutRules\": [],\n \"value\": false\n}\n```\n\
+ If we send a replace request body as below:\n```json\n{\n \"value\": true\n\
+ }\n```\nThen besides that the default value is set to `true`, all the Percentage\
+ \ Rules are deleted. \nSo we get a response like this:\n```json\n{\n \"rolloutPercentageItems\"\
+ : [],\n \"rolloutRules\": [],\n \"value\": true\n}\n```\n\nThe `rolloutRules`\
\ property describes two types of rules:\n\n- **Targeting rules**: When you\
\ want to add or update a targeting rule, the `comparator`, `comparisonAttribute`,\
\ and `comparisonValue` members are required.\n- **Segment rules**: When you\
@@ -3016,17 +2890,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingValueModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingValueModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -3046,9 +2914,9 @@ paths:
The `targetingRules` represents the current
Targeting Rule configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
- evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+ evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview/).
- The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/advanced/user-object/) attribute that must be used at the [percentage evaluation](https://configcat.com/docs/advanced/targeting/#anatomy-of-the-percentage-based-targeting) of the Feature Flag or Setting.
+ The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/targeting/user-object/) attribute that must be used at the [percentage evaluation](https://configcat.com/docs/advanced/targeting/#anatomy-of-the-percentage-based-targeting) of the Feature Flag or Setting.
operationId: get-setting-value-by-sdkkey-v2
parameters:
- description: The key or id of the Setting.
@@ -3073,17 +2941,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingFormulaModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingFormulaModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -3091,37 +2953,82 @@ paths:
tags:
- Feature Flag & Setting values using SDK Key V2
patch:
- description: "This endpoint updates the value of a Feature Flag or Setting\n\
- with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified\
- \ Environment.\n\nOnly the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute`\
- \ fields are modifiable by this endpoint.\n\nThe advantage of using JSON Patch\
- \ is that you can describe individual update operations on a resource\nwithout\
- \ touching attributes that you don't want to change. It supports collection\
- \ reordering, so it also\ncan be used for reordering the targeting rules of\
- \ a Feature Flag or Setting.\n\nFor example: We have the following resource\
- \ of a Feature Flag.\n```\n{\n\t\"defaultValue\": {\n \"boolValue\"\
- : false,\n },\n\t\"targetingRules\": [\n {\n \"conditions\"\
- : [\n {\n \"userCondition\": {\n \
- \ \"comparisonAttribute\": \"Email\",\n \
- \ \"comparator\": \"sensitiveTextEquals\",\n \"\
- comparisonValue\": {\n \"stringValue\": \"test@example.com\"\
- ,\n }\n },\n }\n\
- \ ],\n \"percentageOptions\": [],\n \"value\"\
- : {\n \"boolValue\": true,\n }\n }\n ],\n\
- }\n```\nIf we send an update request body as below:\n```\n[\n\t{\n\t\t\"op\"\
- : \"replace\",\n\t\t\"path\": \"/targetingRules/0/value/boolValue\",\n\t\t\
- \"value\": true\n\t}\n]\n```\nOnly the first Targeting Rule's `value` is going\
- \ to be set to `false` and all the other fields are remaining unchanged.\n\
- \nSo we get a response like this:\n```\n{\n\t\"defaultValue\": {\n \
- \ \"boolValue\": false,\n },\n\t\"targetingRules\": [\n {\n \
- \ \"conditions\": [\n {\n \"userCondition\"\
- : {\n \"comparisonAttribute\": \"Email\",\n \
- \ \"comparator\": \"sensitiveTextEquals\",\n \
- \ \"comparisonValue\": {\n \"stringValue\"\
- : \"test@example.com\",\n }\n },\n\
- \ }\n ],\n \"percentageOptions\": [],\n\
- \ \"value\": {\n \"boolValue\": false,\n \
- \ }\n }\n ],\n}\n```"
+ description: |-
+ This endpoint updates the value of a Feature Flag or Setting
+ with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified Environment.
+
+ Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable by this endpoint.
+
+ The advantage of using JSON Patch is that you can describe individual update operations on a resource
+ without touching attributes that you don't want to change. It supports collection reordering, so it also
+ can be used for reordering the targeting rules of a Feature Flag or Setting.
+
+ For example: We have the following resource of a Feature Flag.
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
+ {
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
+ }
+ }
+ }
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ]
+ }
+ ```
+ If we send an update request body as below:
+ ```json
+ [
+ {
+ "op": "replace",
+ "path": "/targetingRules/0/value/boolValue",
+ "value": true
+ }
+ ]
+ ```
+ Only the first Targeting Rule's `value` is going to be set to `false` and all the other fields are remaining unchanged.
+
+ So we get a response like this:
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
+ {
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
+ }
+ }
+ }
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": false
+ }
+ }
+ ]
+ }
+ ```
operationId: update-setting-value-by-sdkkey-v2
parameters:
- description: The key or id of the Setting.
@@ -3401,9 +3308,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingFormulaModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingFormulaModel-haljson'
description: ""
"204":
description: When no change applied on the resource.
@@ -3411,9 +3315,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -3421,29 +3322,60 @@ paths:
tags:
- Feature Flag & Setting values using SDK Key V2
put:
- description: "This endpoint replaces the value and the Targeting Rules of a\
- \ Feature Flag or Setting\nin a specified Environment identified by the SDK key passed in the `X-CONFIGCAT-SDKKEY` header.\n\nOnly the `defaultValue`,\
- \ `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable\
- \ by this endpoint.\n\n**Important:** As this endpoint is doing a complete\
- \ replace, it's important to set every other field that you don't\nwant to\
- \ change to its original state. Not listing one means that it will reset.\n\
- \nFor example: We have the following resource of a Feature Flag.\n```\n{\n\
- \t\"defaultValue\": {\n \"boolValue\": false,\n },\n\t\"targetingRules\"\
- : [\n {\n \"conditions\": [\n {\n \
- \ \"userCondition\": {\n \"comparisonAttribute\"\
- : \"Email\",\n \"comparator\": \"sensitiveTextEquals\"\
- ,\n \"comparisonValue\": {\n \
- \ \"stringValue\": \"test@example.com\",\n }\n\
- \ },\n }\n ],\n \"\
- percentageOptions\": [],\n \"value\": {\n \"boolValue\"\
- : true,\n }\n }\n ],\n}\n```\nIf we send a replace request\
- \ body as below:\n```\n{\n\t\"defaultValue\": {\n \"boolValue\": true,\n\
- \ },\n}\n```\nThen besides that the default served value is set to `true`,\
- \ all the Targeting Rules are deleted.\nSo we get a response like this:\n\
- ```\n{\n \"defaultValue\": {\n \"boolValue\": true,\n },\n \
- \ \"targetingRules\": [],\n}\n```"
+ description: |-
+ This endpoint replaces the value and the Targeting Rules of a Feature Flag or Setting
+ in a specified Environment identified by the SDK key passed in the `X-CONFIGCAT-SDKKEY` header.
+
+ Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable by this endpoint.
+
+ **Important:** As this endpoint is doing a complete replace, it's important to set every other field that you don't
+ want to change to its original state. Not listing one means that it will reset.
+
+ For example: We have the following resource of a Feature Flag.
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
+ {
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
+ }
+ }
+ }
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ]
+ }
+ ```
+ If we send a replace request body as below:
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": true
+ }
+ }
+ ```
+ Then besides that the default served value is set to `true`, all the Targeting Rules are deleted.
+ So we get a response like this:
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": true
+ },
+ "targetingRules": []
+ }
+ ```
operationId: replace-setting-value-by-sdkkey-v2
parameters:
- description: The key or id of the Setting.
@@ -3567,17 +3499,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingFormulaModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingFormulaModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -3597,9 +3523,9 @@ paths:
The `targetingRules` represents the current
Targeting Rule configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
- evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+ evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview/).
- The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/advanced/user-object/) attribute that must be used for [percentage evaluation](https://configcat.com/docs/advanced/targeting/#anatomy-of-the-percentage-based-targeting) of the Feature Flag or Setting.
+ The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/targeting/user-object/) attribute that must be used for [percentage evaluation](https://configcat.com/docs/targeting/percentage-options/) of the Feature Flag or Setting.
operationId: get-setting-value-v2
parameters:
- description: The identifier of the Environment.
@@ -3626,17 +3552,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingFormulaModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingFormulaModel-haljson'
description: "When everything is ok, the setting value data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -3644,37 +3564,82 @@ paths:
tags:
- Feature Flag & Setting values V2
patch:
- description: "This endpoint updates the value of a Feature Flag or Setting\n\
- with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified\
- \ Environment.\n\nOnly the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute`\
- \ fields are modifiable by this endpoint.\n\nThe advantage of using JSON Patch\
- \ is that you can describe individual update operations on a resource\nwithout\
- \ touching attributes that you don't want to change. It supports collection\
- \ reordering, so it also\ncan be used for reordering the targeting rules of\
- \ a Feature Flag or Setting.\n\nFor example: We have the following resource\
- \ of a Feature Flag.\n```\n{\n\t\"defaultValue\": {\n \"boolValue\"\
- : false,\n },\n\t\"targetingRules\": [\n {\n \"conditions\"\
- : [\n {\n \"userCondition\": {\n \
- \ \"comparisonAttribute\": \"Email\",\n \
- \ \"comparator\": \"sensitiveTextEquals\",\n \"\
- comparisonValue\": {\n \"stringValue\": \"test@example.com\"\
- ,\n }\n },\n }\n\
- \ ],\n \"percentageOptions\": [],\n \"value\"\
- : {\n \"boolValue\": true,\n }\n }\n ],\n\
- }\n```\nIf we send an update request body as below:\n```\n[\n\t{\n\t\t\"op\"\
- : \"replace\",\n\t\t\"path\": \"/targetingRules/0/value/boolValue\",\n\t\t\
- \"value\": true\n\t}\n]\n```\nOnly the first Targeting Rule's `value` is going\
- \ to be set to `false` and all the other fields are remaining unchanged.\n\
- \nSo we get a response like this:\n```\n{\n\t\"defaultValue\": {\n \
- \ \"boolValue\": false,\n },\n\t\"targetingRules\": [\n {\n \
- \ \"conditions\": [\n {\n \"userCondition\"\
- : {\n \"comparisonAttribute\": \"Email\",\n \
- \ \"comparator\": \"sensitiveTextEquals\",\n \
- \ \"comparisonValue\": {\n \"stringValue\"\
- : \"test@example.com\",\n }\n },\n\
- \ }\n ],\n \"percentageOptions\": [],\n\
- \ \"value\": {\n \"boolValue\": false,\n \
- \ }\n }\n ],\n}\n```"
+ description: |-
+ This endpoint updates the value of a Feature Flag or Setting
+ with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified Environment.
+
+ Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable by this endpoint.
+
+ The advantage of using JSON Patch is that you can describe individual update operations on a resource
+ without touching attributes that you don't want to change. It supports collection reordering, so it also
+ can be used for reordering the targeting rules of a Feature Flag or Setting.
+
+ For example: We have the following resource of a Feature Flag.
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
+ {
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
+ }
+ }
+ }
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ]
+ }
+ ```
+ If we send an update request body as below:
+ ```json
+ [
+ {
+ "op": "replace",
+ "path": "/targetingRules/0/value/boolValue",
+ "value": true
+ }
+ ]
+ ```
+ Only the first Targeting Rule's `value` is going to be set to `false` and all the other fields are remaining unchanged.
+
+ So we get a response like this:
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
+ {
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
+ }
+ }
+ }
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": false
+ }
+ }
+ ]
+ }
+ ```
operationId: update-setting-value-v2
parameters:
- description: The identifier of the Environment.
@@ -3956,9 +3921,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingFormulaModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingFormulaModel-haljson'
description: When the patch was successful.
"204":
description: When no change applied on the resource.
@@ -3966,9 +3928,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -3976,29 +3935,60 @@ paths:
tags:
- Feature Flag & Setting values V2
put:
- description: "This endpoint replaces the value and the Targeting Rules of a\
- \ Feature Flag or Setting\nin a specified Environment identified by the SDK key passed in the `X-CONFIGCAT-SDKKEY` header.\n\nOnly the `defaultValue`,\
- \ `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable\
- \ by this endpoint.\n\n**Important:** As this endpoint is doing a complete\
- \ replace, it's important to set every other field that you don't\nwant to\
- \ change to its original state. Not listing one means that it will reset.\n\
- \nFor example: We have the following resource of a Feature Flag.\n```\n{\n\
- \t\"defaultValue\": {\n \"boolValue\": false,\n },\n\t\"targetingRules\"\
- : [\n {\n \"conditions\": [\n {\n \
- \ \"userCondition\": {\n \"comparisonAttribute\"\
- : \"Email\",\n \"comparator\": \"sensitiveTextEquals\"\
- ,\n \"comparisonValue\": {\n \
- \ \"stringValue\": \"test@example.com\",\n }\n\
- \ },\n }\n ],\n \"\
- percentageOptions\": [],\n \"value\": {\n \"boolValue\"\
- : true,\n }\n }\n ],\n}\n```\nIf we send a replace request\
- \ body as below:\n```\n{\n\t\"defaultValue\": {\n \"boolValue\": true,\n\
- \ },\n}\n```\nThen besides that the default served value is set to `true`,\
- \ all the Targeting Rules are deleted.\nSo we get a response like this:\n\
- ```\n{\n \"defaultValue\": {\n \"boolValue\": true,\n },\n \
- \ \"targetingRules\": [],\n}\n```"
+ description: |-
+ This endpoint replaces the value and the Targeting Rules of a Feature Flag or Setting
+ in a specified Environment identified by the SDK key passed in the `X-CONFIGCAT-SDKKEY` header.
+
+ Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable by this endpoint.
+
+ **Important:** As this endpoint is doing a complete replace, it's important to set every other field that you don't
+ want to change to its original state. Not listing one means that it will reset.
+
+ For example: We have the following resource of a Feature Flag.
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
+ {
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
+ }
+ }
+ }
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ]
+ }
+ ```
+ If we send a replace request body as below:
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": true
+ }
+ }
+ ```
+ Then besides that the default served value is set to `true`, all the Targeting Rules are deleted.
+ So we get a response like this:
+ ```json
+ {
+ "defaultValue": {
+ "boolValue": true
+ },
+ "targetingRules": []
+ }
+ ```
operationId: replace-setting-value-v2
parameters:
- description: The identifier of the Environment.
@@ -4124,17 +4114,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SettingFormulaModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/SettingFormulaModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4154,7 +4138,7 @@ paths:
\ and Percentage Rules configuration of the actual Feature Flag or Setting\
\ \nin an **ordered** collection, which means the order of the returned rules\
\ is matching to the\nevaluation order. You can read more about these rules\
- \ [here](https://configcat.com/docs/advanced/targeting/)."
+ \ [here](https://configcat.com/docs/targeting/targeting-overview/)."
operationId: get-setting-values
parameters:
- description: The identifier of the Config.
@@ -4181,17 +4165,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ConfigSettingValuesModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ConfigSettingValuesModel-haljson'
description: "When everything is ok, the setting values returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4206,18 +4184,18 @@ paths:
\n**Important:** As this endpoint is doing a complete replace, it's important\
\ to set every other attribute that you don't \nwant to change in its original\
\ state. Not listing one means that it will reset.\n\nFor example: We have\
- \ the following resource.\n```\n{\n \"settingValues\": [\n\t\t{\n\t\t\t\
- \"rolloutPercentageItems\": [\n\t\t\t\t{\n\t\t\t\t\t\"percentage\": 30,\n\t\
- \t\t\t\t\"value\": true\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"percentage\":\
- \ 70,\n\t\t\t\t\t\"value\": false\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"rolloutRules\"\
- : [],\n\t\t\t\"value\": false,\n\t\t\t\"settingId\": 1\n\t\t}\n\t]\n}\n```\n\
- If we send a replace request body as below:\n```\n{ \n\t\"settingValues\"\
- : [\n\t\t{\n\t\t\t\"value\": true,\n\t\t\t\"settingId\": 1\n\t\t}\n\t]\n}\n\
+ \ the following resource.\n```json\n{\n \"settingValues\": [\n {\n \
+ \ \"rolloutPercentageItems\": [\n {\n \"percentage\": 30,\n\
+ \ \"value\": true\n },\n {\n \"percentage\"\
+ : 70,\n \"value\": false\n }\n ],\n \"rolloutRules\"\
+ : [],\n \"value\": false,\n \"settingId\": 1\n }\n ]\n}\n```\n\
+ If we send a replace request body as below:\n```json\n{ \n \"settingValues\"\
+ : [\n {\n \"value\": true,\n \"settingId\": 1\n }\n ]\n}\n\
```\nThen besides that the default value is set to `true`, all the Percentage\
- \ Rules are deleted. \nSo we get a response like this:\n```\n{\n\t\"settingValues\"\
- : [\n\t\t{\n\t\t\t\"rolloutPercentageItems\": [],\n\t\t\t\"rolloutRules\"\
- : [],\n\t\t\t\"value\": true,\n\t\t\t\"setting\": \n\t\t\t{\n\t\t\t\t\"settingId\"\
- : 1\n\t\t\t}\n\t\t}\n\t]\n}\n```\n\nThe `rolloutRules` property describes\
+ \ Rules are deleted. \nSo we get a response like this:\n```json\n{\n \"settingValues\"\
+ : [\n {\n \"rolloutPercentageItems\": [],\n \"rolloutRules\"\
+ : [],\n \"value\": true,\n \"setting\": \n {\n \"settingId\"\
+ : 1\n }\n }\n ]\n}\n```\n\nThe `rolloutRules` property describes\
\ two types of rules:\n\n- **Targeting rules**: When you want to add or update\
\ a targeting rule, the `comparator`, `comparisonAttribute`, and `comparisonValue`\
\ members are required.\n- **Segment rules**: When you want to add add or\
@@ -4270,17 +4248,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ConfigSettingValuesModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ConfigSettingValuesModel-haljson'
description: "When everything is ok, the updated setting values returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4300,9 +4272,9 @@ paths:
The `targetingRules` represents the current
Targeting Rule configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
- evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+ evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview/).
- The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/advanced/user-object/) attribute that must be used for [percentage evaluation](https://configcat.com/docs/advanced/targeting/#anatomy-of-the-percentage-based-targeting) of the Feature Flag or Setting.
+ The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/targeting/user-object/) attribute that must be used for [percentage evaluation](https://configcat.com/docs/targeting/percentage-options/) of the Feature Flag or Setting.
operationId: get-setting-values-v2
parameters:
- description: The identifier of the Config.
@@ -4329,17 +4301,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ConfigSettingFormulasModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ConfigSettingFormulasModel-haljson'
description: "When everything is ok, the setting values returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4355,27 +4321,24 @@ paths:
\ on those Feature Flags and Settings, which are set in the request. \nIt's\
\ important to set every other field that you don't want to change in its\
\ original state. Not listing a field means that it will reset.\n\nFor example:\
- \ We have the following resource of a Feature Flag.\n```\n{\n \"settingValues\"\
- : [\n\t\t{\n\t\t\t\"defaultValue\": {\n \"boolValue\": false,\n\
- \ },\n \"targetingRules\": [\n {\n \
- \ \"conditions\": [\n {\n \
- \ \"userCondition\": {\n \
- \ \"comparisonAttribute\": \"Email\",\n \"\
- comparator\": \"sensitiveTextEquals\",\n \"\
- comparisonValue\": {\n \"stringValue\"\
- : \"test@example.com\",\n }\n \
- \ },\n }\n ],\n \
- \ \"percentageOptions\": [],\n \"value\"\
- : {\n \"boolValue\": true,\n }\n\
- \ }\n ],\n\t\t\t\"settingId\": 1\n\t\t}\n\t]\n}\n\
- ```\nIf we send a batch replace request body as below:\n```\n{ \n\t\"settingValues\"\
- : [\n\t\t{\n\t\t\t\"defaultValue\": {\n \"boolValue\": false,\n\
- \ },\n\t\t\t\"settingId\": 1\n\t\t}\n\t]\n}\n```\nThen besides\
- \ that the default value is set to `true`, all Targeting Rules of the related\
- \ Feature Flag are deleted.\nSo we get a response like this:\n```\n{\n\t\"\
- settingValues\": [\n\t\t{\n\t\t\t\"defaultValue\": {\n \"boolValue\"\
- : false,\n },\n \"targetingRules\": [],\n\t\t\t\"setting\"\
- : \n\t\t\t{\n\t\t\t\t\"settingId\": 1\n\t\t\t}\n\t\t}\n\t]\n}\n```"
+ \ We have the following resource of a Feature Flag.\n```json\n{\n \"settingValues\"\
+ : [\n {\n \"defaultValue\": {\n \"boolValue\": false\n \
+ \ },\n \"targetingRules\": [\n {\n \"conditions\": [\n\
+ \ {\n \"userCondition\": {\n \"comparisonAttribute\"\
+ : \"Email\",\n \"comparator\": \"sensitiveTextEquals\",\n \
+ \ \"comparisonValue\": {\n \"stringValue\"\
+ : \"test@example.com\"\n }\n }\n }\n\
+ \ ],\n \"percentageOptions\": [],\n \"value\":\
+ \ {\n \"boolValue\": true\n }\n }\n ],\n \
+ \ \"settingId\": 1\n }\n ]\n}\n```\nIf we send a batch replace request\
+ \ body as below:\n```json\n{ \n \"settingValues\": [\n {\n \"defaultValue\"\
+ : {\n \"boolValue\": false\n },\n \"settingId\": 1\n }\n\
+ \ ]\n}\n```\nThen besides that the default value is set to `true`, all Targeting\
+ \ Rules of the related Feature Flag are deleted.\nSo we get a response like\
+ \ this:\n```json\n{\n \"settingValues\": [\n {\n \"defaultValue\"\
+ : {\n \"boolValue\": false\n },\n \"targetingRules\": [],\n\
+ \ \"setting\": \n {\n \"settingId\": 1\n }\n }\n\
+ \ ]\n}\n```"
operationId: post-setting-values-v2
parameters:
- description: The identifier of the Config.
@@ -4423,17 +4386,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ConfigSettingFormulasModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ConfigSettingFormulasModel-haljson'
description: "When everything is ok, the updated setting values returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4463,9 +4420,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4492,17 +4446,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/TagModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/TagModel-haljson'
description: "When everything is ok, the tag data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4540,45 +4488,30 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/TagModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/TagModel-haljson'
description: ""
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
summary: Update Tag
tags:
- Tags
- /v1/organizations/{organizationId}/members/{userId}:
+ /v1/webhooks/{webhookId}:
delete:
- description: "This endpoint removes a Member identified by the `userId` from\
- \ the \ngiven Organization identified by the `organizationId` parameter."
- operationId: delete-organization-member
+ description: This endpoint removes a Webhook identified by the `webhookId` parameter.
+ operationId: delete-webhook
parameters:
- - description: The identifier of the Organization.
- explode: false
- in: path
- name: organizationId
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: The identifier of the Member.
+ - description: The identifier of the Webhook.
explode: false
in: path
- name: userId
+ name: webhookId
required: true
schema:
- type: string
+ format: int32
+ type: integer
style: simple
responses:
"204":
@@ -4587,67 +4520,144 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
- summary: Delete Member from Organization
+ summary: Delete Webhook
tags:
- - Members
- post:
- description: "This endpoint adds a Member identified by the `userId` to one\
- \ or more Permission Groups. \nThis endpoint can also be used to move a Member\
- \ between Permission Groups within a Product.\nOnly a single Permission Group\
- \ can be set per Product."
- operationId: add-member-to-group
+ - Webhooks
+ get:
+ description: "This endpoint returns the metadata of a Webhook \nidentified by\
+ \ the `webhookId`."
+ operationId: get-webhook
parameters:
- - description: The identifier of the Organization.
+ - description: The identifier of the Webhook.
explode: false
in: path
- name: organizationId
+ name: webhookId
required: true
schema:
- format: uuid
- type: string
+ format: int32
+ type: integer
style: simple
- - description: The identifier of the Member.
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WebhookModel'
+ description: "When everything is ok, the webhook data is returned."
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: Get Webhook
+ tags:
+ - Webhooks
+ patch:
+ description: "This endpoint updates a Webhook identified by the `webhookId`\
+ \ parameter with a collection of [JSON Patch](https://jsonpatch.com) operations.\n\
+ \nThe advantage of using JSON Patch is that you can describe individual update\
+ \ operations on a resource without touching attributes that you don't want\
+ \ to change.\n\nFor example: We have the following resource.\n```json\n{\n\
+ \ \"webhookId\": 6,\n \"url\": \"https://example.com/hook\",\n \"httpMethod\"\
+ : \"post\",\n \"content\": \"null\",\n \"webHookHeaders\": []\n}\n```\n\
+ If we send an update request body as below (it changes the `content` field\
+ \ and adds a new HTTP header):\n```json\n[\n {\n \"op\": \"replace\",\
+ \ \n \"path\": \"/content\", \n \"value\": \"Some webhook content.\"\
+ \n }, \n {\n \"op\": \"add\", \n \"path\": \"/webHookHeaders/-\",\
+ \ \n \"value\": {\n \"key\": \"X-Custom-Header\", \n \"value\"\
+ : \"Custom header value\"\n }\n }\n]\n```\nOnly the `content` and `webHookHeaders`\
+ \ are updated and all the other attributes remain unchanged.\nSo we get a\
+ \ response like this:\n```json\n{\n \"webhookId\": 6,\n \"url\": \"https://example.com/hook\"\
+ ,\n \"httpMethod\": \"post\", \n \"content\": \"Some webhook content.\"\
+ , \n \"webHookHeaders\": [\n {\n \"key\": \"X-Custom-Header\", \n\
+ \ \"value\": \"Custom header value\", \n \"isSecure\": false\n \
+ \ }\n ]\n}\n```"
+ operationId: update-webhook
+ parameters:
+ - description: The identifier of the Webhook.
explode: false
in: path
- name: userId
+ name: webhookId
required: true
schema:
- type: string
+ format: int32
+ type: integer
style: simple
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/AddUserToGroupRequest'
+ items:
+ $ref: '#/components/schemas/JsonPatchOperation'
+ type: array
text/json:
schema:
- $ref: '#/components/schemas/AddUserToGroupRequest'
+ items:
+ $ref: '#/components/schemas/JsonPatchOperation'
+ type: array
application/*+json:
schema:
- $ref: '#/components/schemas/AddUserToGroupRequest'
+ items:
+ $ref: '#/components/schemas/JsonPatchOperation'
+ type: array
required: true
responses:
"200":
- description: When the addition was successful.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WebhookModel'
+ description: When the update was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
- summary: Update Member Permissions
+ summary: Update Webhook
tags:
- - Members
+ - Webhooks
+ /v1/webhooks/{webhookId}/keys:
+ get:
+ description: "This endpoint returns the signing keys of a Webhook \nidentified\
+ \ by the `webhookId`.\n\nSigning keys are used for ensuring the Webhook requests\
+ \ you receive are actually sent by ConfigCat.\n\nHere you can read more\
+ \ about Webhook request verification."
+ operationId: get-webhook-signing-keys
+ parameters:
+ - description: The identifier of the Webhook.
+ explode: false
+ in: path
+ name: webhookId
+ required: true
+ schema:
+ format: int32
+ type: integer
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WebhookSigningKeysModel'
+ description: "When everything is ok, the webhook signing keys are returned."
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: Get Webhook Signing Keys
+ tags:
+ - Webhooks
/v1/environments/{environmentId}/settings/{settingId}/integrationLinks/{integrationLinkType}/{key}:
delete:
description: ""
@@ -4693,17 +4703,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/DeleteIntegrationLinkModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/DeleteIntegrationLinkModel'
description: When everything is ok.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4765,17 +4769,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/IntegrationLinkModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/IntegrationLinkModel'
description: "When everything is ok, the integration link data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4829,24 +4827,19 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/IntegrationLinkModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/IntegrationLinkModel'
description: "When everything is ok, the integration link data returned."
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
tags:
- Integration links
- /v1/jira/Connect:
+ /v1/jira/connect:
post:
+ operationId: jira-connect
requestBody:
content:
application/json:
@@ -4861,9 +4854,6 @@ paths:
responses:
"200":
description: Success
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4903,23 +4893,71 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ProductModel'
- application/hal+json:
- schema:
- $ref: '#/components/schemas/ProductModel-haljson'
description: When the creation was successful.
"400":
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
summary: Create Product
tags:
- Products
+ /v1/configs/{configId}/environments/{environmentId}/webhooks:
+ post:
+ description: |-
+ This endpoint creates a new Webhook in a specified Product
+ identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
+ operationId: create-webhook
+ parameters:
+ - description: The identifier of the Config.
+ explode: false
+ in: path
+ name: configId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: The identifier of the Environment.
+ explode: false
+ in: path
+ name: environmentId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CreateWebHookRequest'
+ text/json:
+ schema:
+ $ref: '#/components/schemas/CreateWebHookRequest'
+ application/*+json:
+ schema:
+ $ref: '#/components/schemas/CreateWebHookRequest'
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WebhookModel'
+ description: When the creation was successful.
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: Create Webhook
+ tags:
+ - Webhooks
/v1/code-references/delete-reports:
post:
description: ""
@@ -4942,9 +4980,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -4985,9 +5020,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -5016,15 +5048,125 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
summary: Upload References
tags:
- Code References
+ /v1/organizations/{organizationId}/members/{userId}:
+ delete:
+ description: "This endpoint removes a Member identified by the `userId` from\
+ \ the \ngiven Organization identified by the `organizationId` parameter."
+ operationId: delete-organization-member
+ parameters:
+ - description: The identifier of the Organization.
+ explode: false
+ in: path
+ name: organizationId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: The identifier of the Member.
+ explode: false
+ in: path
+ name: userId
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: When the delete was successful.
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: Delete Member from Organization
+ tags:
+ - Members
+ post:
+ description: "This endpoint updates the permissions of a Member identified by\
+ \ the `userId`. \nThis endpoint can also be used to move a Member between\
+ \ Permission Groups within a Product.\nOnly a single Permission Group can\
+ \ be set per Product."
+ operationId: add-member-to-group
+ parameters:
+ - description: The identifier of the Organization.
+ explode: false
+ in: path
+ name: organizationId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: The identifier of the Member.
+ explode: false
+ in: path
+ name: userId
+ required: true
+ schema:
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UpdateMemberPermissionsRequest'
+ text/json:
+ schema:
+ $ref: '#/components/schemas/UpdateMemberPermissionsRequest'
+ application/*+json:
+ schema:
+ $ref: '#/components/schemas/UpdateMemberPermissionsRequest'
+ required: true
+ responses:
+ "200":
+ description: When the update was successful.
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: Update Member Permissions
+ tags:
+ - Members
+ /v1/invitations/{invitationId}:
+ delete:
+ description: This endpoint removes an Invitation identified by the `invitationId`
+ parameter.
+ operationId: delete-invitation
+ parameters:
+ - description: The identifier of the Invitation.
+ explode: false
+ in: path
+ name: invitationId
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: When the delete was successful.
+ "400":
+ description: Bad request.
+ "404":
+ description: Not found.
+ "429":
+ description: Too many requests. In case of the request rate exceeds the
+ rate limits.
+ summary: Delete Invitation
+ tags:
+ - Members
/v1/products/{productId}/members/{userId}:
delete:
description: "This endpoint removes a Member identified by the `userId` from\
@@ -5055,9 +5197,6 @@ paths:
description: Bad request.
"404":
description: Not found.
- "401":
- description: Unauthorized. In case of the Public Management API credentials
- are invalid.
"429":
description: Too many requests. In case of the request rate exceeds the
rate limits.
@@ -5118,24 +5257,7 @@ components:
- clientKey
- jiraJwtToken
type: object
- AddUserToGroupRequest:
- additionalProperties: false
- example:
- permissionGroupIds:
- - 0
- - 0
- properties:
- permissionGroupIds:
- description: List of Permission Group identifiers to where the Member should
- be added.
- items:
- format: int64
- type: integer
- type: array
- required:
- - permissionGroupIds
- type: object
- AuditLogItemModel:
+ AuditLogItemModel:
additionalProperties: false
example:
auditLogTypeEnum: null
@@ -5431,13 +5553,13 @@ components:
description: The source control repository that contains the scanned code.
(Source of the repository selector on the ConfigCat Dashboard)
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
branch:
description: The source control branch on where the scan was performed.
(Source of the branch selector on the ConfigCat Dashboard)
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
commitUrl:
description: The related commit's URL. (Appears on the ConfigCat Dashboard)
@@ -5726,35 +5848,6 @@ components:
evaluationVersion:
$ref: '#/components/schemas/EvaluationVersion'
type: object
- ConfigModel-haljson:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- configId:
- description: Identifier of the Config.
- format: uuid
- type: string
- name:
- description: Name of the Config.
- nullable: true
- type: string
- description:
- description: Description of the Config.
- nullable: true
- type: string
- order:
- description: The order of the Config represented on the ConfigCat Dashboard.
- format: int32
- type: integer
- migratedConfigId:
- format: uuid
- nullable: true
- type: string
- evaluationVersion:
- $ref: '#/components/schemas/EvaluationVersion'
- _links:
- $ref: '#/components/schemas/ConfigModel_haljson__links'
- type: object
ConfigSettingFormulaModel:
additionalProperties: false
example:
@@ -6380,23 +6473,6 @@ components:
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
type: object
- ConfigSettingFormulasModel-haljson:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded'
- readOnly:
- type: boolean
- settingFormulas:
- description: Evaluation descriptors of each updated Feature Flag and Setting.
- items:
- $ref: '#/components/schemas/ConfigSettingFormulaModel'
- nullable: true
- type: array
- featureFlagLimitations:
- $ref: '#/components/schemas/FeatureFlagLimitations'
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
ConfigSettingValueModel:
additionalProperties: false
example:
@@ -6658,22 +6734,6 @@ components:
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
type: object
- ConfigSettingValuesModel-haljson:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded'
- readOnly:
- type: boolean
- settingValues:
- items:
- $ref: '#/components/schemas/ConfigSettingValueModel'
- nullable: true
- type: array
- featureFlagLimitations:
- $ref: '#/components/schemas/FeatureFlagLimitations'
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
ConnectRequest:
additionalProperties: false
example:
@@ -6703,7 +6763,7 @@ components:
name:
description: The name of the Config.
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
description:
description: The description of the Config.
@@ -6733,7 +6793,7 @@ components:
name:
description: The name of the Environment.
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
color:
description: The color of the Environment. RGB or HTML color codes are allowed.
@@ -6804,7 +6864,7 @@ components:
name:
description: Name of the Permission Group.
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
canManageMembers:
description: Group members can manage team members.
@@ -6889,7 +6949,7 @@ components:
name:
description: The name of the Product.
maxLength: 1000
- minLength: 0
+ minLength: 1
type: string
description:
description: The description of the Product.
@@ -6918,7 +6978,7 @@ components:
name:
description: Name of the Segment.
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
description:
description: Description of the Segment.
@@ -6930,7 +6990,7 @@ components:
description: The user's attribute the evaluation process must take into
account.
maxLength: 1000
- minLength: 0
+ minLength: 1
type: string
comparator:
$ref: '#/components/schemas/RolloutRuleComparator'
@@ -6984,13 +7044,13 @@ components:
key:
description: The key of the Feature Flag or Setting.
maxLength: 255
- minLength: 0
+ minLength: 1
pattern: "^[a-zA-Z]+[a-zA-Z0-9_-]*$"
type: string
name:
description: The name of the Feature Flag or Setting.
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
settingType:
$ref: '#/components/schemas/SettingType'
@@ -7015,7 +7075,7 @@ components:
name:
description: Name of the Tag.
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
color:
description: Color of the Tag.
@@ -7026,6 +7086,45 @@ components:
required:
- name
type: object
+ CreateWebHookRequest:
+ additionalProperties: false
+ example:
+ webHookHeaders:
+ - isSecure: true
+ value: value
+ key: key
+ - isSecure: true
+ value: value
+ key: key
+ httpMethod: null
+ url: url
+ content: content
+ properties:
+ url:
+ description: The URL of the Webhook.
+ maxLength: 1000
+ minLength: 7
+ pattern: "^(https?:\\/\\/(?:www\\.|(?!www)|(?!a-zA-Z))[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]\\\
+ .[^\\s]{2,}|https?:\\/\\/(?:www\\.|(?!www)|(?!a-zA-Z))[a-zA-Z0-9]\\.[^\\\
+ s]{2,})$"
+ type: string
+ content:
+ description: The HTTP body content.
+ maxLength: 15000
+ minLength: 0
+ nullable: true
+ type: string
+ httpMethod:
+ $ref: '#/components/schemas/WebHookHttpMethod'
+ webHookHeaders:
+ description: List of HTTP headers.
+ items:
+ $ref: '#/components/schemas/WebhookHeaderModel'
+ nullable: true
+ type: array
+ required:
+ - url
+ type: object
DeleteIntegrationLinkModel:
additionalProperties: false
example:
@@ -7049,7 +7148,7 @@ components:
repository:
description: The source control repository which's reports should be deleted.
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
branch:
description: "If it's set, only this branch's reports belonging to the given\
@@ -7160,38 +7259,9 @@ components:
when the Feature Flags or Settings in the given Environment are saved.
type: boolean
type: object
- EnvironmentModel-haljson:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- environmentId:
- description: Identifier of the Environment.
- format: uuid
- type: string
- name:
- description: Name of the Environment.
- nullable: true
- type: string
- color:
- description: The configured color of the Environment.
- nullable: true
- type: string
- description:
- description: Description of the Environment.
- nullable: true
- type: string
- order:
- description: The order of the Environment represented on the ConfigCat Dashboard.
- format: int32
- type: integer
- reasonRequired:
- description: Determines whether a mandatory reason must be given every time
- when the Feature Flags or Settings in the given Environment are saved.
- type: boolean
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
EvaluationVersion:
+ description: "Determines the evaluation version of a Config.\r\nUsing `v2` enables\
+ \ the new features of Config V2 (https://configcat.com/docs/advanced/config-v2)."
enum:
- v1
- v2
@@ -7535,6 +7605,36 @@ components:
- jira
- monday
type: string
+ InvitationModel:
+ additionalProperties: false
+ example:
+ permissionGroupId: 0
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ expired: true
+ invitationId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: email
+ properties:
+ invitationId:
+ description: The identifier of the Invitation.
+ format: uuid
+ type: string
+ email:
+ description: The invited user's email address.
+ nullable: true
+ type: string
+ permissionGroupId:
+ description: The identifier of the Permission Group the user was invited
+ to.
+ format: int64
+ type: integer
+ createdAt:
+ description: Creation time of the Invitation.
+ format: date-time
+ type: string
+ expired:
+ description: Determines whether the Invitation is expired.
+ type: boolean
+ type: object
InviteMembersRequest:
additionalProperties: false
example:
@@ -7582,6 +7682,15 @@ components:
- op
- path
type: object
+ KeyGenerationMode:
+ description: Determines the Feature Flag key generation mode.
+ enum:
+ - camelCase
+ - lowerCase
+ - upperCase
+ - pascalCase
+ - kebabCase
+ type: string
MeModel:
additionalProperties: false
example:
@@ -7662,6 +7771,51 @@ components:
description: Determines whether 2FA is enabled for the Organization Admin.
type: boolean
type: object
+ OrganizationInvitationModel:
+ additionalProperties: false
+ example:
+ permissionGroupId: 0
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ expires: 2000-01-23T04:56:07.000+00:00
+ expired: true
+ productId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ invitationId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: email
+ productName: productName
+ properties:
+ invitationId:
+ description: The identifier of the Invitation.
+ format: uuid
+ type: string
+ email:
+ description: The invited user's email address.
+ nullable: true
+ type: string
+ productId:
+ description: The identifier of the Product the user was invited to.
+ format: uuid
+ type: string
+ productName:
+ description: The name of the Product the user was invited to.
+ nullable: true
+ type: string
+ permissionGroupId:
+ description: The identifier of the Permission Group the user was invited
+ to.
+ format: int64
+ type: integer
+ createdAt:
+ description: Creation time of the Invitation.
+ format: date-time
+ type: string
+ expired:
+ description: Determines whether the Invitation is expired.
+ type: boolean
+ expires:
+ description: Expiration time of the Invitation.
+ format: date-time
+ type: string
+ type: object
OrganizationMemberModel:
additionalProperties: false
description: Describes an Organization Member.
@@ -7709,6 +7863,15 @@ components:
OrganizationMembersModel:
additionalProperties: false
example:
+ billingManagers:
+ - twoFactorEnabled: true
+ fullName: fullName
+ userId: userId
+ email: email
+ - twoFactorEnabled: true
+ fullName: fullName
+ userId: userId
+ email: email
members:
- twoFactorEnabled: true
permissions:
@@ -7760,6 +7923,12 @@ components:
$ref: '#/components/schemas/OrganizationAdminModel'
nullable: true
type: array
+ billingManagers:
+ description: List of Billing Managers.
+ items:
+ $ref: '#/components/schemas/OrganizationAdminModel'
+ nullable: true
+ type: array
members:
description: List of Organization Members.
items:
@@ -7783,19 +7952,6 @@ components:
nullable: true
type: string
type: object
- OrganizationModel-haljson:
- properties:
- organizationId:
- description: Identifier of the Organization.
- format: uuid
- type: string
- name:
- description: Name of the Organization.
- nullable: true
- type: string
- _links:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded_product__embedded_organization__links'
- type: object
OrganizationPermissionGroupModel:
additionalProperties: false
description: Describes the Member's Permission Group within a Product.
@@ -7998,90 +8154,40 @@ components:
product:
$ref: '#/components/schemas/ProductModel'
type: object
- PermissionGroupModel-haljson:
+ PreferencesModel:
+ additionalProperties: false
+ example:
+ keyGenerationMode: null
+ showVariationId: true
+ mandatorySettingHint: true
+ reasonRequiredEnvironments:
+ - environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ environmentName: environmentName
+ reasonRequired: true
+ - environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ environmentName: environmentName
+ reasonRequired: true
+ reasonRequired: true
properties:
- permissionGroupId:
- description: Identifier of the Permission Group.
- format: int64
- type: integer
- name:
- description: Name of the Permission Group.
- nullable: true
- type: string
- canManageMembers:
- description: Group members can manage team members.
- type: boolean
- canCreateOrUpdateConfig:
- description: Group members can create/update Configs.
- type: boolean
- canDeleteConfig:
- description: Group members can delete Configs.
- type: boolean
- canCreateOrUpdateEnvironment:
- description: Group members can create/update Environments.
- type: boolean
- canDeleteEnvironment:
- description: Group members can delete Environments.
- type: boolean
- canCreateOrUpdateSetting:
- description: Group members can create/update Feature Flags and Settings.
- type: boolean
- canTagSetting:
- description: Group members can attach/detach Tags to Feature Flags and Settings.
- type: boolean
- canDeleteSetting:
- description: Group members can delete Feature Flags and Settings.
- type: boolean
- canCreateOrUpdateTag:
- description: Group members can create/update Tags.
- type: boolean
- canDeleteTag:
- description: Group members can delete Tags.
- type: boolean
- canManageWebhook:
- description: Group members can create/update/delete Webhooks.
- type: boolean
- canUseExportImport:
- description: Group members can use the export/import feature.
+ reasonRequired:
+ description: Indicates that a mandatory note required for saving and publishing.
type: boolean
- canManageProductPreferences:
- description: Group members can update Product preferences.
+ keyGenerationMode:
+ $ref: '#/components/schemas/KeyGenerationMode'
+ showVariationId:
+ description: Indicates whether a variation ID's must be shown on the ConfigCat
+ Dashboard.
type: boolean
- canManageIntegrations:
- description: Group members can add and configure integrations.
+ reasonRequiredEnvironments:
+ description: List of Environments where mandatory note must be set before
+ saving and publishing.
+ items:
+ $ref: '#/components/schemas/ReasonRequiredEnvironmentModel'
+ nullable: true
+ type: array
+ mandatorySettingHint:
+ description: Indicates whether Feature flags and Settings must have a hint.
type: boolean
- canViewSdkKey:
- description: Group members has access to SDK keys.
- type: boolean
- canRotateSdkKey:
- description: Group members can rotate SDK keys.
- type: boolean
- canCreateOrUpdateSegments:
- description: Group members can create/update Segments.
- type: boolean
- canDeleteSegments:
- description: Group members can delete Segments.
- type: boolean
- canViewProductAuditLog:
- description: Group members has access to audit logs.
- type: boolean
- canViewProductStatistics:
- description: Group members has access to product statistics.
- type: boolean
- accessType:
- $ref: '#/components/schemas/AccessType'
- newEnvironmentAccessType:
- $ref: '#/components/schemas/EnvironmentAccessType'
- environmentAccesses:
- description: List of environment specific permissions.
- items:
- $ref: '#/components/schemas/EnvironmentAccessModel'
- nullable: true
- type: array
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
type: object
PrerequisiteComparator:
description: Prerequisite flag comparison operator used during the evaluation
@@ -8152,33 +8258,25 @@ components:
when the Feature Flags or Settings within a Product are saved.
type: boolean
type: object
- ProductModel-haljson:
+ ReasonRequiredEnvironmentModel:
+ additionalProperties: false
+ example:
+ environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ environmentName: environmentName
+ reasonRequired: true
properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded_product__embedded'
- productId:
- description: Identifier of the Product.
+ environmentId:
+ description: Identifier of the Environment.
format: uuid
type: string
- name:
- description: Name of the Product.
- nullable: true
- type: string
- description:
- description: Description of the Product.
- nullable: true
- type: string
- order:
- description: "The order of the Product represented on the ConfigCat Dashboard.\r\
- \nDetermined from an ascending sequence of integers."
- format: int32
- type: integer
reasonRequired:
- description: Determines whether a mandatory reason must be given every time
- when the Feature Flags or Settings within a Product are saved.
+ description: Indicates that a mandatory note is required in this Environment
+ for saving and publishing.
type: boolean
- _links:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded_product__links'
+ environmentName:
+ description: Name of the Environment.
+ nullable: true
+ type: string
type: object
ReferenceLine:
additionalProperties: false
@@ -8223,7 +8321,7 @@ components:
description: The file's name in where the code reference has been found.
(Appears on the ConfigCat Dashboard)
maxLength: 255
- minLength: 0
+ minLength: 1
type: string
fileUrl:
description: The file's url. (Used to point to the file on the repository's
@@ -8429,54 +8527,6 @@ components:
format: int32
type: integer
type: object
- SegmentListModel-haljson:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- segmentId:
- description: Identifier of the Segment.
- format: uuid
- type: string
- name:
- description: Name of the Segment.
- nullable: true
- type: string
- description:
- description: Description of the Segment.
- nullable: true
- type: string
- creatorEmail:
- description: The email of the user who created the Segment.
- nullable: true
- type: string
- creatorFullName:
- description: The name of the user who created the Segment.
- nullable: true
- type: string
- createdAt:
- description: The date and time when the Segment was created.
- format: date-time
- type: string
- lastUpdaterEmail:
- description: The email of the user who last updated the Segment.
- nullable: true
- type: string
- lastUpdaterFullName:
- description: The name of the user who last updated the Segment.
- nullable: true
- type: string
- updatedAt:
- description: The date and time when the Segment was last updated.
- format: date-time
- type: string
- usage:
- description: Determines how many Feature Flags and Settings are using the
- Segment.
- format: int32
- type: integer
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
SegmentModel:
additionalProperties: false
example:
@@ -8552,60 +8602,6 @@ components:
nullable: true
type: string
type: object
- SegmentModel-haljson:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- segmentId:
- description: Identifier of the Segment.
- format: uuid
- type: string
- name:
- description: Name of the Segment.
- nullable: true
- type: string
- description:
- description: Description of the Segment.
- nullable: true
- type: string
- creatorEmail:
- description: The email of the user who created the Segment.
- nullable: true
- type: string
- creatorFullName:
- description: The name of the user who created the Segment.
- nullable: true
- type: string
- createdAt:
- description: The date and time when the Segment was created.
- format: date-time
- type: string
- lastUpdaterEmail:
- description: The email of the user who last updated the Segment.
- nullable: true
- type: string
- lastUpdaterFullName:
- description: The name of the user who last updated the Segment.
- nullable: true
- type: string
- updatedAt:
- description: The date and time when the Segment was last updated.
- format: date-time
- type: string
- comparisonAttribute:
- description: The user's attribute the evaluation process must take into
- account.
- nullable: true
- type: string
- comparator:
- $ref: '#/components/schemas/RolloutRuleComparator'
- comparisonValue:
- description: The value to compare with the given user attribute's value.
- nullable: true
- type: string
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
SettingDataModel:
additionalProperties: false
description: Metadata of a Feature Flag or Setting.
@@ -8935,55 +8931,6 @@ components:
featureFlagLimitations:
$ref: '#/components/schemas/FeatureFlagLimitations'
type: object
- SettingFormulaModel-haljson:
- properties:
- lastVersionId:
- format: uuid
- type: string
- defaultValue:
- $ref: '#/components/schemas/ValueModel'
- targetingRules:
- description: The targeting rules of the Feature Flag or Setting.
- items:
- $ref: '#/components/schemas/TargetingRuleModel'
- nullable: true
- type: array
- updatedAt:
- description: The last updated date and time when the Feature Flag or Setting.
- format: date-time
- nullable: true
- type: string
- percentageEvaluationAttribute:
- description: "The user attribute used for percentage evaluation. If not\
- \ set, it defaults to the `Identifier` user object attribute."
- nullable: true
- type: string
- lastUpdaterUserEmail:
- description: The email of the user who last updated the Feature Flag or
- Setting.
- nullable: true
- type: string
- lastUpdaterUserFullName:
- description: The name of the user who last updated the Feature Flag or Setting.
- nullable: true
- type: string
- _embedded:
- $ref: '#/components/schemas/SettingFormulaModel_haljson__embedded'
- settingIdsWherePrerequisite:
- description: List of Feature Flag and Setting IDs where the actual Feature
- Flag or Setting is prerequisite.
- items:
- format: int32
- type: integer
- nullable: true
- type: array
- readOnly:
- type: boolean
- featureFlagLimitations:
- $ref: '#/components/schemas/FeatureFlagLimitations'
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
SettingModel:
additionalProperties: false
description: Metadata of a Feature Flag or Setting.
@@ -9060,44 +9007,6 @@ components:
nullable: true
type: array
type: object
- SettingModel-haljson:
- properties:
- settingId:
- description: Identifier of the Feature Flag or Setting.
- format: int32
- type: integer
- key:
- description: Key of the Feature Flag or Setting.
- nullable: true
- type: string
- name:
- description: Name of the Feature Flag or Setting.
- nullable: true
- type: string
- hint:
- description: Description of the Feature Flag or Setting.
- nullable: true
- type: string
- order:
- description: The order of the Feature Flag or Setting represented on the
- ConfigCat Dashboard.
- format: int32
- type: integer
- settingType:
- $ref: '#/components/schemas/SettingType'
- configId:
- description: Identifier of the Feature Flag's Config.
- format: uuid
- type: string
- configName:
- description: Name of the Feature Flag's Config.
- nullable: true
- type: string
- _embedded:
- $ref: '#/components/schemas/SettingModel_haljson__embedded'
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
SettingTagModel:
additionalProperties: false
example:
@@ -9275,95 +9184,36 @@ components:
readOnly:
type: boolean
type: object
- SettingValueModel-haljson:
+ TagModel:
+ additionalProperties: false
+ example:
+ product:
+ productId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ organization:
+ organizationId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ name: name
+ name: name
+ description: description
+ order: 0
+ reasonRequired: true
+ color: color
+ tagId: 0
+ name: name
properties:
- rolloutRules:
- description: The targeting rule collection.
- items:
- $ref: '#/components/schemas/RolloutRuleModel'
- nullable: true
- type: array
- rolloutPercentageItems:
- description: The percentage rule collection.
- items:
- $ref: '#/components/schemas/RolloutPercentageItemModel'
- nullable: true
- type: array
- value:
- description: The value to serve. It must respect the setting type.
- nullable: true
- updatedAt:
- description: The last updated date and time when the Feature Flag or Setting.
- format: date-time
- nullable: true
- type: string
- lastUpdaterUserEmail:
- description: The email of the user who last updated the Feature Flag or
- Setting.
- nullable: true
- type: string
- lastUpdaterUserFullName:
- description: The name of the user who last updated the Feature Flag or Setting.
- nullable: true
- type: string
- _embedded:
- $ref: '#/components/schemas/SettingFormulaModel_haljson__embedded'
- featureFlagLimitations:
- $ref: '#/components/schemas/FeatureFlagLimitations'
- readOnly:
- type: boolean
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
- TagModel:
- additionalProperties: false
- example:
- product:
- productId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- organization:
- organizationId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- name: name
- name: name
- description: description
- order: 0
- reasonRequired: true
- color: color
- tagId: 0
- name: name
- properties:
- product:
- $ref: '#/components/schemas/ProductModel'
- tagId:
- description: Identifier of the Tag.
- format: int64
- type: integer
- name:
- description: Name of the Tag.
- nullable: true
- type: string
- color:
- description: The configured color of the Tag.
- nullable: true
- type: string
- type: object
- TagModel-haljson:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- tagId:
- description: Identifier of the Tag.
- format: int64
- type: integer
- name:
- description: Name of the Tag.
+ product:
+ $ref: '#/components/schemas/ProductModel'
+ tagId:
+ description: Identifier of the Tag.
+ format: int64
+ type: integer
+ name:
+ description: Name of the Tag.
nullable: true
type: string
color:
description: The configured color of the Tag.
nullable: true
type: string
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
type: object
TargetingRuleModel:
additionalProperties: false
@@ -9433,8 +9283,8 @@ components:
doubleValue: 6.027456183070403
properties:
conditions:
- description: "The user conditions that are combined with the AND logical\
- \ operator.\r\nIt can be one of the following:\r\n- User condition\r\n\
+ description: "The list of conditions that are combined with logical AND\
+ \ operators.\r\nIt can be one of the following:\r\n- User condition\r\n\
- Segment condition\r\n- Prerequisite flag condition"
items:
$ref: '#/components/schemas/ConditionModel'
@@ -10102,6 +9952,37 @@ components:
nullable: true
type: array
type: object
+ UpdateMemberPermissionsRequest:
+ additionalProperties: false
+ example:
+ removeFromPermissionGroupsWhereIdNotSet: true
+ isBillingManager: true
+ permissionGroupIds:
+ - 0
+ - 0
+ isAdmin: true
+ properties:
+ permissionGroupIds:
+ description: List of Permission Group identifiers to where the Member should
+ be added.
+ items:
+ format: int64
+ type: integer
+ nullable: true
+ type: array
+ isAdmin:
+ description: Indicates that the member must be Organization Admin.
+ nullable: true
+ type: boolean
+ isBillingManager:
+ description: Indicates that the member must be Billing Manager.
+ nullable: true
+ type: boolean
+ removeFromPermissionGroupsWhereIdNotSet:
+ description: "When `true`, the member will be removed from those Permission\
+ \ Groups that are not listed in the `permissionGroupIds` field."
+ type: boolean
+ type: object
UpdatePermissionGroupRequest:
additionalProperties: false
example:
@@ -10231,6 +10112,43 @@ components:
nullable: true
type: array
type: object
+ UpdatePreferencesRequest:
+ additionalProperties: false
+ example:
+ keyGenerationMode: null
+ showVariationId: true
+ mandatorySettingHint: true
+ reasonRequiredEnvironments:
+ - environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ reasonRequired: true
+ - environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ reasonRequired: true
+ reasonRequired: true
+ properties:
+ reasonRequired:
+ description: Indicates that a mandatory note is required for saving and
+ publishing.
+ nullable: true
+ type: boolean
+ keyGenerationMode:
+ $ref: '#/components/schemas/KeyGenerationMode'
+ showVariationId:
+ description: Indicates whether a variation ID's must be shown on the ConfigCat
+ Dashboard.
+ nullable: true
+ type: boolean
+ mandatorySettingHint:
+ description: Indicates whether Feature flags and Settings must have a hint.
+ nullable: true
+ type: boolean
+ reasonRequiredEnvironments:
+ description: List of Environments where mandatory note must be set before
+ saving and publishing.
+ items:
+ $ref: '#/components/schemas/UpdateReasonRequiredEnvironmentModel'
+ nullable: true
+ type: array
+ type: object
UpdateProductRequest:
additionalProperties: false
example:
@@ -10257,6 +10175,21 @@ components:
nullable: true
type: integer
type: object
+ UpdateReasonRequiredEnvironmentModel:
+ additionalProperties: false
+ example:
+ environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ reasonRequired: true
+ properties:
+ environmentId:
+ description: Identifier of the Environment.
+ format: uuid
+ type: string
+ reasonRequired:
+ description: Indicates that a mandatory note is required in this Environment
+ for saving and publishing.
+ type: boolean
+ type: object
UpdateSegmentModel:
additionalProperties: false
example:
@@ -10501,7 +10434,7 @@ components:
description: "The User Object attribute that the condition is based on.\
\ Can be \"User ID\", \"Email\", \"Country\" or any custom attribute."
maxLength: 1000
- minLength: 0
+ minLength: 1
type: string
comparator:
$ref: '#/components/schemas/UserComparator'
@@ -10564,276 +10497,99 @@ components:
nullable: true
type: number
type: object
- ConfigModel_haljson__embedded_product__embedded_organization__links:
- properties:
- products:
- type: string
- members:
- type: string
- type: object
- ConfigModel_haljson__embedded_product__embedded_organization:
- properties:
- organizationId:
- description: Identifier of the Organization.
- format: uuid
- type: string
- name:
- description: Name of the Organization.
- nullable: true
- type: string
- _links:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded_product__embedded_organization__links'
- type: object
- ConfigModel_haljson__embedded_product__embedded:
- properties:
- organization:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded_product__embedded_organization'
- type: object
- ConfigModel_haljson__embedded_product__links:
- properties:
- self:
- type: string
- configs:
- type: string
- environments:
- type: string
- tags:
- type: string
- permission-groups:
- type: string
- members:
- type: string
- segments:
- type: string
- type: object
- ConfigModel_haljson__embedded_product:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded_product__embedded'
- productId:
- description: Identifier of the Product.
- format: uuid
- type: string
- name:
- description: Name of the Product.
- nullable: true
- type: string
- description:
- description: Description of the Product.
- nullable: true
- type: string
- order:
- description: "The order of the Product represented on the ConfigCat Dashboard.\r\
- \nDetermined from an ascending sequence of integers."
- format: int32
- type: integer
- reasonRequired:
- description: Determines whether a mandatory reason must be given every time
- when the Feature Flags or Settings within a Product are saved.
- type: boolean
- _links:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded_product__links'
- type: object
- ConfigModel_haljson__embedded:
- properties:
- product:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded_product'
- type: object
- ConfigModel_haljson__links:
- properties:
- self:
- type: string
- settings:
- type: string
- type: object
- ConfigSettingFormulasModel_haljson__embedded_config:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- configId:
- description: Identifier of the Config.
- format: uuid
- type: string
- name:
- description: Name of the Config.
- nullable: true
- type: string
- description:
- description: Description of the Config.
- nullable: true
- type: string
- order:
- description: The order of the Config represented on the ConfigCat Dashboard.
- format: int32
- type: integer
- migratedConfigId:
- format: uuid
- nullable: true
- type: string
- evaluationVersion:
- $ref: '#/components/schemas/EvaluationVersion'
- _links:
- $ref: '#/components/schemas/ConfigModel_haljson__links'
- type: object
- ConfigSettingFormulasModel_haljson__embedded_environment__links:
- properties:
- self:
- type: string
- type: object
- ConfigSettingFormulasModel_haljson__embedded_environment:
+ WebHookHttpMethod:
+ enum:
+ - get
+ - post
+ type: string
+ WebhookHeaderModel:
+ additionalProperties: false
+ example:
+ isSecure: true
+ value: value
+ key: key
properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- environmentId:
- description: Identifier of the Environment.
- format: uuid
- type: string
- name:
- description: Name of the Environment.
- nullable: true
- type: string
- color:
- description: The configured color of the Environment.
- nullable: true
+ key:
+ description: The HTTP header key.
+ maxLength: 255
+ minLength: 1
+ pattern: "^[\\x00-\\x7F]*$"
type: string
- description:
- description: Description of the Environment.
- nullable: true
+ value:
+ description: The HTTP header value.
+ maxLength: 1000
+ minLength: 1
+ pattern: "^[\\x00-\\x7F]*$"
type: string
- order:
- description: The order of the Environment represented on the ConfigCat Dashboard.
- format: int32
- type: integer
- reasonRequired:
- description: Determines whether a mandatory reason must be given every time
- when the Feature Flags or Settings in the given Environment are saved.
+ isSecure:
+ description: Indicates whether the header value is sensitive.
type: boolean
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
- ConfigSettingFormulasModel_haljson__embedded:
- properties:
- config:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_config'
- environment:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment'
+ required:
+ - key
+ - value
type: object
- SettingFormulaModel_haljson__embedded_setting:
+ WebhookModel:
additionalProperties: false
- description: Metadata of a Feature Flag or Setting.
+ example:
+ webHookHeaders:
+ - isSecure: true
+ value: value
+ key: key
+ - isSecure: true
+ value: value
+ key: key
+ configName: configName
+ webhookId: 0
+ environmentName: environmentName
+ httpMethod: null
+ url: url
+ content: content
properties:
- settingId:
- description: Identifier of the Feature Flag or Setting.
+ webhookId:
+ description: The identifier of the Webhook.
format: int32
type: integer
- key:
- description: Key of the Feature Flag or Setting.
- nullable: true
- type: string
- name:
- description: Name of the Feature Flag or Setting.
- nullable: true
- type: string
- hint:
- description: Description of the Feature Flag or Setting.
- nullable: true
- type: string
- settingType:
- $ref: '#/components/schemas/SettingType'
- order:
- description: The order of the Feature Flag or Setting represented on the
- ConfigCat Dashboard.
- format: int32
- type: integer
- createdAt:
- description: The creation time of the Feature Flag or Setting.
- format: date-time
- nullable: true
- type: string
- creatorEmail:
- description: The user's email address who created the Feature Flag or Setting.
+ url:
+ description: The URL of the Webhook.
nullable: true
type: string
- creatorFullName:
- description: The user's name who created the Feature Flag or Setting.
+ httpMethod:
+ $ref: '#/components/schemas/WebHookHttpMethod'
+ content:
+ description: The HTTP body content.
nullable: true
type: string
- isWatching:
- type: boolean
- type: object
- SettingFormulaModel_haljson__embedded_integrationLinks_inner:
- additionalProperties: false
- properties:
- key:
+ webHookHeaders:
+ description: List of HTTP headers that the Webhook must send.
+ items:
+ $ref: '#/components/schemas/WebhookHeaderModel'
nullable: true
- type: string
- description:
+ type: array
+ configName:
+ description: The Config's name where the applied changes will invoke the
+ Webhook.
nullable: true
type: string
- integrationLinkType:
- $ref: '#/components/schemas/IntegrationLinkType'
- url:
+ environmentName:
+ description: The Environment's name where the applied changes will invoke
+ the Webhook.
nullable: true
type: string
type: object
- SettingFormulaModel_haljson__embedded_settingTags_inner:
+ WebhookSigningKeysModel:
additionalProperties: false
+ example:
+ key1: key1
+ key2: key2
properties:
- settingTagId:
- format: int64
- type: integer
- tagId:
- format: int64
- type: integer
- name:
- nullable: true
- type: string
- color:
- nullable: true
- type: string
- type: object
- SettingFormulaModel_haljson__embedded:
- properties:
- setting:
- $ref: '#/components/schemas/SettingFormulaModel_haljson__embedded_setting'
- config:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_config'
- environment:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment'
- integrationLinks:
- items:
- $ref: '#/components/schemas/SettingFormulaModel_haljson__embedded_integrationLinks_inner'
- type: array
- settingTags:
- items:
- $ref: '#/components/schemas/SettingFormulaModel_haljson__embedded_settingTags_inner'
- type: array
- type: object
- SettingModel_haljson__embedded_tags_inner:
- properties:
- _embedded:
- $ref: '#/components/schemas/ConfigModel_haljson__embedded'
- tagId:
- description: Identifier of the Tag.
- format: int64
- type: integer
- name:
- description: Name of the Tag.
+ key1:
+ description: The first signing key.
nullable: true
type: string
- color:
- description: The configured color of the Tag.
+ key2:
+ description: The second signing key.
nullable: true
type: string
- _links:
- $ref: '#/components/schemas/ConfigSettingFormulasModel_haljson__embedded_environment__links'
- type: object
- SettingModel_haljson__embedded:
- properties:
- tags:
- items:
- $ref: '#/components/schemas/SettingModel_haljson__embedded_tags_inner'
- type: array
type: object
securitySchemes:
Basic:
@@ -10848,7 +10604,7 @@ x-tagGroups:
tags:
- Feature Flag & Setting values using SDK Key V2
- Feature Flag & Setting values V2
-- name: Feature Flag values
+- name: Feature Flag values (legacy)
tags:
- Feature Flag & Setting values using SDK Key
- Feature Flag & Setting values
@@ -10863,6 +10619,7 @@ x-tagGroups:
- Environments
- Segments
- SDK Keys
+ - Webhooks
- Code References
- name: Membership
tags:
diff --git a/api_audit_logs.go b/api_audit_logs.go
index 2bd1ffa..c76f134 100644
--- a/api_audit_logs.go
+++ b/api_audit_logs.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -135,7 +135,7 @@ func (a *AuditLogsApiService) GetAuditlogsExecute(r AuditLogsApiGetAuditlogsRequ
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -238,7 +238,7 @@ func (a *AuditLogsApiService) GetDeletedSettingsExecute(r AuditLogsApiGetDeleted
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -402,7 +402,7 @@ func (a *AuditLogsApiService) GetOrganizationAuditlogsExecute(r AuditLogsApiGetO
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_code_references.go b/api_code_references.go
index e08649f..bcaee48 100644
--- a/api_code_references.go
+++ b/api_code_references.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -281,7 +281,7 @@ func (a *CodeReferencesApiService) V1ConfigsConfigIdCodeReferencesGetExecute(r C
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -384,7 +384,7 @@ func (a *CodeReferencesApiService) V1SettingsSettingIdCodeReferencesGetExecute(r
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_configs.go b/api_configs.go
index 4844ff5..ba8f8e2 100644
--- a/api_configs.go
+++ b/api_configs.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -93,7 +93,7 @@ func (a *ConfigsApiService) CreateConfigExecute(r ConfigsApiCreateConfigRequest)
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -291,7 +291,7 @@ func (a *ConfigsApiService) GetConfigExecute(r ConfigsApiGetConfigRequest) (*Con
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -395,7 +395,7 @@ func (a *ConfigsApiService) GetConfigsExecute(r ConfigsApiGetConfigsRequest) ([]
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -507,7 +507,7 @@ func (a *ConfigsApiService) UpdateConfigExecute(r ConfigsApiUpdateConfigRequest)
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_environments.go b/api_environments.go
index 503ff53..0c05be8 100644
--- a/api_environments.go
+++ b/api_environments.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -93,7 +93,7 @@ func (a *EnvironmentsApiService) CreateEnvironmentExecute(r EnvironmentsApiCreat
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -303,7 +303,7 @@ func (a *EnvironmentsApiService) GetEnvironmentExecute(r EnvironmentsApiGetEnvir
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -407,7 +407,7 @@ func (a *EnvironmentsApiService) GetEnvironmentsExecute(r EnvironmentsApiGetEnvi
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -519,7 +519,7 @@ func (a *EnvironmentsApiService) UpdateEnvironmentExecute(r EnvironmentsApiUpdat
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_feature_flag_setting_values.go b/api_feature_flag_setting_values.go
index 31c00a9..1b2bb1e 100644
--- a/api_feature_flag_setting_values.go
+++ b/api_feature_flag_setting_values.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -48,7 +48,7 @@ are not matching to any of the defined Targeting or Percentage Rules, or when th
The `rolloutRules` and `percentageRules` attributes are representing the current
Targeting and Percentage Rules configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
-evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentId The identifier of the Environment.
@@ -97,7 +97,7 @@ func (a *FeatureFlagSettingValuesApiService) GetSettingValueExecute(r FeatureFla
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -165,7 +165,7 @@ are not matching to any of the defined Targeting or Percentage Rules, or when th
The `rolloutRules` and `percentageRules` attributes are representing the current
Targeting and Percentage Rules configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
-evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview/).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param configId The identifier of the Config.
@@ -214,7 +214,7 @@ func (a *FeatureFlagSettingValuesApiService) GetSettingValuesExecute(r FeatureFl
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -294,53 +294,53 @@ Only the `value`, `rolloutRules` and `percentageRules` attributes are modifiable
want to change in its original state. Not listing one means that it will reset.
For example: We have the following resource.
-```
+```json
{
- "settingValues": [
- {
- "rolloutPercentageItems": [
- {
- "percentage": 30,
- "value": true
- },
- {
- "percentage": 70,
- "value": false
- }
- ],
- "rolloutRules": [],
- "value": false,
- "settingId": 1
- }
- ]
+ "settingValues": [
+ {
+ "rolloutPercentageItems": [
+ {
+ "percentage": 30,
+ "value": true
+ },
+ {
+ "percentage": 70,
+ "value": false
+ }
+ ],
+ "rolloutRules": [],
+ "value": false,
+ "settingId": 1
+ }
+ ]
}
```
If we send a replace request body as below:
-```
+```json
{
- "settingValues": [
- {
- "value": true,
- "settingId": 1
- }
- ]
+ "settingValues": [
+ {
+ "value": true,
+ "settingId": 1
+ }
+ ]
}
```
Then besides that the default value is set to `true`, all the Percentage Rules are deleted.
So we get a response like this:
-```
+```json
{
- "settingValues": [
- {
- "rolloutPercentageItems": [],
- "rolloutRules": [],
- "value": true,
- "setting":
- {
- "settingId": 1
- }
- }
- ]
+ "settingValues": [
+ {
+ "rolloutPercentageItems": [],
+ "rolloutRules": [],
+ "value": true,
+ "setting":
+ {
+ "settingId": 1
+ }
+ }
+ ]
}
```
@@ -402,7 +402,7 @@ func (a *FeatureFlagSettingValuesApiService) PostSettingValuesExecute(r FeatureF
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -483,35 +483,35 @@ Only the `value`, `rolloutRules` and `percentageRules` attributes are modifiable
want to change in its original state. Not listing one means that it will reset.
For example: We have the following resource.
-```
+```json
{
- "rolloutPercentageItems": [
- {
- "percentage": 30,
- "value": true
- },
- {
- "percentage": 70,
- "value": false
- }
- ],
- "rolloutRules": [],
- "value": false
+ "rolloutPercentageItems": [
+ {
+ "percentage": 30,
+ "value": true
+ },
+ {
+ "percentage": 70,
+ "value": false
+ }
+ ],
+ "rolloutRules": [],
+ "value": false
}
```
If we send a replace request body as below:
-```
+```json
{
- "value": true
+ "value": true
}
```
Then besides that the default value is set to `true`, all the Percentage Rules are deleted.
So we get a response like this:
-```
+```json
{
- "rolloutPercentageItems": [],
- "rolloutRules": [],
- "value": true
+ "rolloutPercentageItems": [],
+ "rolloutRules": [],
+ "value": true
}
```
@@ -573,7 +573,7 @@ func (a *FeatureFlagSettingValuesApiService) ReplaceSettingValueExecute(r Featur
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -647,7 +647,7 @@ func (r FeatureFlagSettingValuesApiUpdateSettingValueRequest) Execute() (*Settin
UpdateSettingValue Update value
This endpoint updates the value of a Feature Flag or Setting
-with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified Environment.
+with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified Environment.
Only the `value`, `rolloutRules` and `percentageRules` attributes are modifiable by this endpoint.
@@ -656,48 +656,48 @@ without touching attributes that you don't want to change. It supports collectio
can be used for reordering the targeting rules of a Feature Flag or Setting.
For example: We have the following resource.
-```
+```json
{
- "rolloutPercentageItems": [
- {
- "percentage": 30,
- "value": true
- },
- {
- "percentage": 70,
- "value": false
- }
- ],
- "rolloutRules": [],
- "value": false
+ "rolloutPercentageItems": [
+ {
+ "percentage": 30,
+ "value": true
+ },
+ {
+ "percentage": 70,
+ "value": false
+ }
+ ],
+ "rolloutRules": [],
+ "value": false
}
```
If we send an update request body as below:
-```
+```json
[
- {
- "op": "replace",
- "path": "/value",
- "value": true
- }
+ {
+ "op": "replace",
+ "path": "/value",
+ "value": true
+ }
]
```
Only the default value is going to be set to `true` and all the Percentage Rules are remaining unchanged.
So we get a response like this:
-```
+```json
{
- "rolloutPercentageItems": [
- {
- "percentage": 30,
- "value": true
- },
- {
- "percentage": 70,
- "value": false
- }
- ],
- "rolloutRules": [],
- "value": true
+ "rolloutPercentageItems": [
+ {
+ "percentage": 30,
+ "value": true
+ },
+ {
+ "percentage": 70,
+ "value": false
+ }
+ ],
+ "rolloutRules": [],
+ "value": true
}
```
@@ -759,7 +759,7 @@ func (a *FeatureFlagSettingValuesApiService) UpdateSettingValueExecute(r Feature
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_feature_flag_setting_values_using_sdk_key.go b/api_feature_flag_setting_values_using_sdk_key.go
index 83763d7..8a7b8eb 100644
--- a/api_feature_flag_setting_values_using_sdk_key.go
+++ b/api_feature_flag_setting_values_using_sdk_key.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -54,7 +54,7 @@ are not matching to any of the defined Targeting or Percentage Rules, or when th
The `rolloutRules` and `percentageRules` attributes are representing the current
Targeting and Percentage Rules configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
-evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview/).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param settingKeyOrId The key or id of the Setting.
@@ -100,7 +100,7 @@ func (a *FeatureFlagSettingValuesUsingSDKKeyApiService) GetSettingValueBySdkkeyE
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -189,35 +189,35 @@ Only the `value`, `rolloutRules` and `percentageRules` attributes are modifiable
want to change to its original state. Not listing one means that it will reset.
For example: We have the following resource.
-```
+```json
{
- "rolloutPercentageItems": [
- {
- "percentage": 30,
- "value": true
- },
- {
- "percentage": 70,
- "value": false
- }
- ],
- "rolloutRules": [],
- "value": false
+ "rolloutPercentageItems": [
+ {
+ "percentage": 30,
+ "value": true
+ },
+ {
+ "percentage": 70,
+ "value": false
+ }
+ ],
+ "rolloutRules": [],
+ "value": false
}
```
If we send a replace request body as below:
-```
+```json
{
- "value": true
+ "value": true
}
```
Then besides that the default served value is set to `true`, all the Percentage Rules are deleted.
So we get a response like this:
-```
+```json
{
- "rolloutPercentageItems": [],
- "rolloutRules": [],
- "value": true
+ "rolloutPercentageItems": [],
+ "rolloutRules": [],
+ "value": true
}
```
@@ -271,7 +271,7 @@ func (a *FeatureFlagSettingValuesUsingSDKKeyApiService) ReplaceSettingValueBySdk
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -354,7 +354,7 @@ func (r FeatureFlagSettingValuesUsingSDKKeyApiUpdateSettingValueBySdkkeyRequest)
UpdateSettingValueBySdkkey Update value
This endpoint updates the value of a Feature Flag or Setting
-with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified Environment
+with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified Environment
identified by the SDK key passed in the `X-CONFIGCAT-SDKKEY` header.
Only the `value`, `rolloutRules` and `percentageRules` attributes are modifiable by this endpoint.
@@ -364,48 +364,48 @@ without touching attributes that you don't want to change. It supports collectio
can be used for reordering the targeting rules of a Feature Flag or Setting.
For example: We have the following resource.
-```
+```json
{
- "rolloutPercentageItems": [
- {
- "percentage": 30,
- "value": true
- },
- {
- "percentage": 70,
- "value": false
- }
- ],
- "rolloutRules": [],
- "value": false
+ "rolloutPercentageItems": [
+ {
+ "percentage": 30,
+ "value": true
+ },
+ {
+ "percentage": 70,
+ "value": false
+ }
+ ],
+ "rolloutRules": [],
+ "value": false
}
```
If we send an update request body as below:
-```
+```json
[
- {
- "op": "replace",
- "path": "/value",
- "value": true
- }
+ {
+ "op": "replace",
+ "path": "/value",
+ "value": true
+ }
]
```
Only the default served value is going to be set to `true` and all the Percentage Rules are remaining unchanged.
So we get a response like this:
-```
+```json
{
- "rolloutPercentageItems": [
- {
- "percentage": 30,
- "value": true
- },
- {
- "percentage": 70,
- "value": false
- }
- ],
- "rolloutRules": [],
- "value": true
+ "rolloutPercentageItems": [
+ {
+ "percentage": 30,
+ "value": true
+ },
+ {
+ "percentage": 70,
+ "value": false
+ }
+ ],
+ "rolloutRules": [],
+ "value": true
}
```
@@ -459,7 +459,7 @@ func (a *FeatureFlagSettingValuesUsingSDKKeyApiService) UpdateSettingValueBySdkk
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_feature_flag_setting_values_using_sdk_key_v2.go b/api_feature_flag_setting_values_using_sdk_key_v2.go
index 826d491..7f023d4 100644
--- a/api_feature_flag_setting_values_using_sdk_key_v2.go
+++ b/api_feature_flag_setting_values_using_sdk_key_v2.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -54,9 +54,9 @@ are not matching to any of the defined Targeting Rules, or when there are no add
The `targetingRules` represents the current
Targeting Rule configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
-evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview/).
-The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/advanced/user-object/) attribute that must be used at the [percentage evaluation](https://configcat.com/docs/advanced/targeting/#anatomy-of-the-percentage-based-targeting) of the Feature Flag or Setting.
+The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/targeting/user-object/) attribute that must be used at the [percentage evaluation](https://configcat.com/docs/advanced/targeting/#anatomy-of-the-percentage-based-targeting) of the Feature Flag or Setting.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param settingKeyOrId The key or id of the Setting.
@@ -102,7 +102,7 @@ func (a *FeatureFlagSettingValuesUsingSDKKeyV2ApiService) GetSettingValueBySdkke
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -191,48 +191,48 @@ Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` f
want to change to its original state. Not listing one means that it will reset.
For example: We have the following resource of a Feature Flag.
-```
+```json
{
- "defaultValue": {
- "boolValue": false,
- },
- "targetingRules": [
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
{
- "conditions": [
- {
- "userCondition": {
- "comparisonAttribute": "Email",
- "comparator": "sensitiveTextEquals",
- "comparisonValue": {
- "stringValue": "test@example.com",
- }
- },
- }
- ],
- "percentageOptions": [],
- "value": {
- "boolValue": true,
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
}
+ }
}
- ],
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ]
}
```
If we send a replace request body as below:
-```
+```json
{
- "defaultValue": {
- "boolValue": true,
- },
+ "defaultValue": {
+ "boolValue": true
+ }
}
```
Then besides that the default served value is set to `true`, all the Targeting Rules are deleted.
So we get a response like this:
-```
+```json
{
- "defaultValue": {
- "boolValue": true,
- },
- "targetingRules": [],
+ "defaultValue": {
+ "boolValue": true
+ },
+ "targetingRules": []
}
```
@@ -286,7 +286,7 @@ func (a *FeatureFlagSettingValuesUsingSDKKeyV2ApiService) ReplaceSettingValueByS
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -369,7 +369,7 @@ func (r FeatureFlagSettingValuesUsingSDKKeyV2ApiUpdateSettingValueBySdkkeyV2Requ
UpdateSettingValueBySdkkeyV2 Update value
This endpoint updates the value of a Feature Flag or Setting
-with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified Environment.
+with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified Environment.
Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable by this endpoint.
@@ -378,69 +378,69 @@ without touching attributes that you don't want to change. It supports collectio
can be used for reordering the targeting rules of a Feature Flag or Setting.
For example: We have the following resource of a Feature Flag.
-```
+```json
{
- "defaultValue": {
- "boolValue": false,
- },
- "targetingRules": [
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
{
- "conditions": [
- {
- "userCondition": {
- "comparisonAttribute": "Email",
- "comparator": "sensitiveTextEquals",
- "comparisonValue": {
- "stringValue": "test@example.com",
- }
- },
- }
- ],
- "percentageOptions": [],
- "value": {
- "boolValue": true,
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
}
+ }
}
- ],
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ]
}
```
If we send an update request body as below:
-```
+```json
[
- {
- "op": "replace",
- "path": "/targetingRules/0/value/boolValue",
- "value": true
- }
+ {
+ "op": "replace",
+ "path": "/targetingRules/0/value/boolValue",
+ "value": true
+ }
]
```
Only the first Targeting Rule's `value` is going to be set to `false` and all the other fields are remaining unchanged.
So we get a response like this:
-```
+```json
{
- "defaultValue": {
- "boolValue": false,
- },
- "targetingRules": [
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
{
- "conditions": [
- {
- "userCondition": {
- "comparisonAttribute": "Email",
- "comparator": "sensitiveTextEquals",
- "comparisonValue": {
- "stringValue": "test@example.com",
- }
- },
- }
- ],
- "percentageOptions": [],
- "value": {
- "boolValue": false,
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
}
+ }
}
- ],
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": false
+ }
+ }
+ ]
}
```
@@ -494,7 +494,7 @@ func (a *FeatureFlagSettingValuesUsingSDKKeyV2ApiService) UpdateSettingValueBySd
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_feature_flag_setting_values_v2.go b/api_feature_flag_setting_values_v2.go
index a361487..401feb4 100644
--- a/api_feature_flag_setting_values_v2.go
+++ b/api_feature_flag_setting_values_v2.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -48,9 +48,9 @@ are not matching to any of the defined Targeting Rules, or when there are no add
The `targetingRules` represents the current
Targeting Rule configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
-evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview/).
-The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/advanced/user-object/) attribute that must be used for [percentage evaluation](https://configcat.com/docs/advanced/targeting/#anatomy-of-the-percentage-based-targeting) of the Feature Flag or Setting.
+The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/targeting/user-object/) attribute that must be used for [percentage evaluation](https://configcat.com/docs/targeting/percentage-options/) of the Feature Flag or Setting.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentId The identifier of the Environment.
@@ -99,7 +99,7 @@ func (a *FeatureFlagSettingValuesV2ApiService) GetSettingValueV2Execute(r Featur
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -167,9 +167,9 @@ are not matching to any of the defined Targeting Rules, or when there are no add
The `targetingRules` represents the current
Targeting Rule configuration of the actual Feature Flag or Setting
in an **ordered** collection, which means the order of the returned rules is matching to the
-evaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/).
+evaluation order. You can read more about these rules [here](https://configcat.com/docs/targeting/targeting-overview/).
-The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/advanced/user-object/) attribute that must be used for [percentage evaluation](https://configcat.com/docs/advanced/targeting/#anatomy-of-the-percentage-based-targeting) of the Feature Flag or Setting.
+The `percentageEvaluationAttribute` represents the custom [User Object](https://configcat.com/docs/targeting/user-object/) attribute that must be used for [percentage evaluation](https://configcat.com/docs/targeting/percentage-options/) of the Feature Flag or Setting.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param configId The identifier of the Config.
@@ -218,7 +218,7 @@ func (a *FeatureFlagSettingValuesV2ApiService) GetSettingValuesV2Execute(r Featu
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -298,66 +298,66 @@ Only those Feature Flags and Settings are updated which are part of the request,
It's important to set every other field that you don't want to change in its original state. Not listing a field means that it will reset.
For example: We have the following resource of a Feature Flag.
-```
+```json
{
- "settingValues": [
- {
- "defaultValue": {
- "boolValue": false,
- },
- "targetingRules": [
- {
- "conditions": [
- {
- "userCondition": {
- "comparisonAttribute": "Email",
- "comparator": "sensitiveTextEquals",
- "comparisonValue": {
- "stringValue": "test@example.com",
- }
- },
- }
- ],
- "percentageOptions": [],
- "value": {
- "boolValue": true,
- }
+ "settingValues": [
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
+ {
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
}
- ],
- "settingId": 1
- }
- ]
+ }
+ }
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ],
+ "settingId": 1
+ }
+ ]
}
```
If we send a batch replace request body as below:
-```
+```json
{
- "settingValues": [
- {
- "defaultValue": {
- "boolValue": false,
- },
- "settingId": 1
- }
- ]
+ "settingValues": [
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "settingId": 1
+ }
+ ]
}
```
Then besides that the default value is set to `true`, all Targeting Rules of the related Feature Flag are deleted.
So we get a response like this:
-```
+```json
{
- "settingValues": [
- {
- "defaultValue": {
- "boolValue": false,
- },
- "targetingRules": [],
- "setting":
- {
- "settingId": 1
- }
- }
- ]
+ "settingValues": [
+ {
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [],
+ "setting":
+ {
+ "settingId": 1
+ }
+ }
+ ]
}
```
@@ -414,7 +414,7 @@ func (a *FeatureFlagSettingValuesV2ApiService) PostSettingValuesV2Execute(r Feat
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -496,48 +496,48 @@ Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` f
want to change to its original state. Not listing one means that it will reset.
For example: We have the following resource of a Feature Flag.
-```
+```json
{
- "defaultValue": {
- "boolValue": false,
- },
- "targetingRules": [
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
{
- "conditions": [
- {
- "userCondition": {
- "comparisonAttribute": "Email",
- "comparator": "sensitiveTextEquals",
- "comparisonValue": {
- "stringValue": "test@example.com",
- }
- },
- }
- ],
- "percentageOptions": [],
- "value": {
- "boolValue": true,
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
}
+ }
}
- ],
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ]
}
```
If we send a replace request body as below:
-```
+```json
{
- "defaultValue": {
- "boolValue": true,
- },
+ "defaultValue": {
+ "boolValue": true
+ }
}
```
Then besides that the default served value is set to `true`, all the Targeting Rules are deleted.
So we get a response like this:
-```
+```json
{
- "defaultValue": {
- "boolValue": true,
- },
- "targetingRules": [],
+ "defaultValue": {
+ "boolValue": true
+ },
+ "targetingRules": []
}
```
@@ -594,7 +594,7 @@ func (a *FeatureFlagSettingValuesV2ApiService) ReplaceSettingValueV2Execute(r Fe
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -668,7 +668,7 @@ func (r FeatureFlagSettingValuesV2ApiUpdateSettingValueV2Request) Execute() (*Se
UpdateSettingValueV2 Update value
This endpoint updates the value of a Feature Flag or Setting
-with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified Environment.
+with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified Environment.
Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable by this endpoint.
@@ -677,69 +677,69 @@ without touching attributes that you don't want to change. It supports collectio
can be used for reordering the targeting rules of a Feature Flag or Setting.
For example: We have the following resource of a Feature Flag.
-```
+```json
{
- "defaultValue": {
- "boolValue": false,
- },
- "targetingRules": [
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
{
- "conditions": [
- {
- "userCondition": {
- "comparisonAttribute": "Email",
- "comparator": "sensitiveTextEquals",
- "comparisonValue": {
- "stringValue": "test@example.com",
- }
- },
- }
- ],
- "percentageOptions": [],
- "value": {
- "boolValue": true,
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
}
+ }
}
- ],
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": true
+ }
+ }
+ ]
}
```
If we send an update request body as below:
-```
+```json
[
- {
- "op": "replace",
- "path": "/targetingRules/0/value/boolValue",
- "value": true
- }
+ {
+ "op": "replace",
+ "path": "/targetingRules/0/value/boolValue",
+ "value": true
+ }
]
```
Only the first Targeting Rule's `value` is going to be set to `false` and all the other fields are remaining unchanged.
So we get a response like this:
-```
+```json
{
- "defaultValue": {
- "boolValue": false,
- },
- "targetingRules": [
+ "defaultValue": {
+ "boolValue": false
+ },
+ "targetingRules": [
+ {
+ "conditions": [
{
- "conditions": [
- {
- "userCondition": {
- "comparisonAttribute": "Email",
- "comparator": "sensitiveTextEquals",
- "comparisonValue": {
- "stringValue": "test@example.com",
- }
- },
- }
- ],
- "percentageOptions": [],
- "value": {
- "boolValue": false,
+ "userCondition": {
+ "comparisonAttribute": "Email",
+ "comparator": "sensitiveTextEquals",
+ "comparisonValue": {
+ "stringValue": "test@example.com"
}
+ }
}
- ],
+ ],
+ "percentageOptions": [],
+ "value": {
+ "boolValue": false
+ }
+ }
+ ]
}
```
@@ -796,7 +796,7 @@ func (a *FeatureFlagSettingValuesV2ApiService) UpdateSettingValueV2Execute(r Fea
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_feature_flags_settings.go b/api_feature_flags_settings.go
index b7d8def..12adbe8 100644
--- a/api_feature_flags_settings.go
+++ b/api_feature_flags_settings.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -95,7 +95,7 @@ func (a *FeatureFlagsSettingsApiService) CreateSettingExecute(r FeatureFlagsSett
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -294,7 +294,7 @@ func (a *FeatureFlagsSettingsApiService) GetSettingExecute(r FeatureFlagsSetting
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -398,7 +398,7 @@ func (a *FeatureFlagsSettingsApiService) GetSettingsExecute(r FeatureFlagsSettin
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -462,7 +462,7 @@ func (r FeatureFlagsSettingsApiUpdateSettingRequest) Execute() (*SettingModel, *
UpdateSetting Update Flag
This endpoint updates the metadata of a Feature Flag or Setting
-with a collection of [JSON Patch](http://jsonpatch.com) operations in a specified Config.
+with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified Config.
Only the `name`, `hint` and `tags` attributes are modifiable by this endpoint.
The `tags` attribute is a simple collection of the [tag IDs](#operation/get-tags) attached to the given setting.
@@ -471,58 +471,58 @@ The advantage of using JSON Patch is that you can describe individual update ope
without touching attributes that you don't want to change.
For example: We have the following resource.
-```
+```json
{
- "settingId": 5345,
- "key": "myGrandFeature",
- "name": "Tihs is a naem with soem typos.",
- "hint": "This flag controls my grandioso feature.",
- "settingType": "boolean",
- "tags": [
- {
- "tagId": 0,
- "name": "sample tag",
- "color": "whale"
- }
- ]
+ "settingId": 5345,
+ "key": "myGrandFeature",
+ "name": "Tihs is a naem with soem typos.",
+ "hint": "This flag controls my grandioso feature.",
+ "settingType": "boolean",
+ "tags": [
+ {
+ "tagId": 0,
+ "name": "sample tag",
+ "color": "whale"
+ }
+ ]
}
```
-If we send an update request body as below (it changes the name and adds the already existing tag with the id 2):
-```
+If we send an update request body as below (it changes the `name` and adds the already existing tag with the id `2`):
+```json
[
- {
- "op": "replace",
- "path": "/name",
- "value": "This is the name without typos."
- },
- {
- "op": "add",
- "path": "/tags/-",
- "value": 2
- }
+ {
+ "op": "replace",
+ "path": "/name",
+ "value": "This is the name without typos."
+ },
+ {
+ "op": "add",
+ "path": "/tags/-",
+ "value": 2
+ }
]
```
-Only the `name` and `tags` are going to be updated and all the other attributes are remaining unchanged.
+Only the `name` and `tags` are updated and all the other attributes remain unchanged.
So we get a response like this:
-```
+```json
{
- "settingId": 5345,
- "key": "myGrandFeature",
- "name": "This is the name without typos.",
- "hint": "This flag controls my grandioso feature.",
- "settingType": "boolean",
- "tags": [
- {
- "tagId": 0,
- "name": "sample tag",
- "color": "whale"
- },
- {
- "tagId": 2,
- "name": "another tag",
- "color": "koala"
- }
- ]
+ "settingId": 5345,
+ "key": "myGrandFeature",
+ "name": "This is the name without typos.",
+ "hint": "This flag controls my grandioso feature.",
+ "settingType": "boolean",
+ "tags": [
+ {
+ "tagId": 0,
+ "name": "sample tag",
+ "color": "whale"
+ },
+ {
+ "tagId": 2,
+ "name": "another tag",
+ "color": "koala"
+ }
+ ]
}
```
@@ -573,7 +573,7 @@ func (a *FeatureFlagsSettingsApiService) UpdateSettingExecute(r FeatureFlagsSett
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_integration_links.go b/api_integration_links.go
index 3864fc4..76c6b31 100644
--- a/api_integration_links.go
+++ b/api_integration_links.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -101,7 +101,7 @@ func (a *IntegrationLinksApiService) AddOrUpdateIntegrationLinkExecute(r Integra
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -218,7 +218,7 @@ func (a *IntegrationLinksApiService) DeleteIntegrationLinkExecute(r IntegrationL
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -325,7 +325,7 @@ func (a *IntegrationLinksApiService) GetIntegrationLinkDetailsExecute(r Integrat
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -440,7 +440,7 @@ func (a *IntegrationLinksApiService) JiraAddOrUpdateIntegrationLinkExecute(r Int
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -486,48 +486,48 @@ func (a *IntegrationLinksApiService) JiraAddOrUpdateIntegrationLinkExecute(r Int
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IntegrationLinksApiV1JiraConnectPostRequest struct {
+type IntegrationLinksApiJiraConnectRequest struct {
ctx context.Context
ApiService *IntegrationLinksApiService
connectRequest *ConnectRequest
}
-func (r IntegrationLinksApiV1JiraConnectPostRequest) ConnectRequest(connectRequest ConnectRequest) IntegrationLinksApiV1JiraConnectPostRequest {
+func (r IntegrationLinksApiJiraConnectRequest) ConnectRequest(connectRequest ConnectRequest) IntegrationLinksApiJiraConnectRequest {
r.connectRequest = &connectRequest
return r
}
-func (r IntegrationLinksApiV1JiraConnectPostRequest) Execute() (*http.Response, error) {
- return r.ApiService.V1JiraConnectPostExecute(r)
+func (r IntegrationLinksApiJiraConnectRequest) Execute() (*http.Response, error) {
+ return r.ApiService.JiraConnectExecute(r)
}
/*
-V1JiraConnectPost Method for V1JiraConnectPost
+JiraConnect Method for JiraConnect
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IntegrationLinksApiV1JiraConnectPostRequest
+ @return IntegrationLinksApiJiraConnectRequest
*/
-func (a *IntegrationLinksApiService) V1JiraConnectPost(ctx context.Context) IntegrationLinksApiV1JiraConnectPostRequest {
- return IntegrationLinksApiV1JiraConnectPostRequest{
+func (a *IntegrationLinksApiService) JiraConnect(ctx context.Context) IntegrationLinksApiJiraConnectRequest {
+ return IntegrationLinksApiJiraConnectRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *IntegrationLinksApiService) V1JiraConnectPostExecute(r IntegrationLinksApiV1JiraConnectPostRequest) (*http.Response, error) {
+func (a *IntegrationLinksApiService) JiraConnectExecute(r IntegrationLinksApiJiraConnectRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntegrationLinksApiService.V1JiraConnectPost")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntegrationLinksApiService.JiraConnect")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/v1/jira/Connect"
+ localVarPath := localBasePath + "/v1/jira/connect"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
diff --git a/api_me.go b/api_me.go
index 72b9c62..06d542f 100644
--- a/api_me.go
+++ b/api_me.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -78,7 +78,7 @@ func (a *MeApiService) GetMeExecute(r MeApiGetMeRequest) (*MeModel, *http.Respon
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_members.go b/api_members.go
index f24cf54..7d8ae5b 100644
--- a/api_members.go
+++ b/api_members.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -29,11 +29,11 @@ type MembersApiAddMemberToGroupRequest struct {
ApiService *MembersApiService
organizationId string
userId string
- addUserToGroupRequest *AddUserToGroupRequest
+ updateMemberPermissionsRequest *UpdateMemberPermissionsRequest
}
-func (r MembersApiAddMemberToGroupRequest) AddUserToGroupRequest(addUserToGroupRequest AddUserToGroupRequest) MembersApiAddMemberToGroupRequest {
- r.addUserToGroupRequest = &addUserToGroupRequest
+func (r MembersApiAddMemberToGroupRequest) UpdateMemberPermissionsRequest(updateMemberPermissionsRequest UpdateMemberPermissionsRequest) MembersApiAddMemberToGroupRequest {
+ r.updateMemberPermissionsRequest = &updateMemberPermissionsRequest
return r
}
@@ -44,7 +44,7 @@ func (r MembersApiAddMemberToGroupRequest) Execute() (*http.Response, error) {
/*
AddMemberToGroup Update Member Permissions
-This endpoint adds a Member identified by the `userId` to one or more Permission Groups.
+This endpoint updates the permissions of a Member identified by the `userId`.
This endpoint can also be used to move a Member between Permission Groups within a Product.
Only a single Permission Group can be set per Product.
@@ -82,8 +82,8 @@ func (a *MembersApiService) AddMemberToGroupExecute(r MembersApiAddMemberToGroup
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.addUserToGroupRequest == nil {
- return nil, reportError("addUserToGroupRequest is required and must be specified")
+ if r.updateMemberPermissionsRequest == nil {
+ return nil, reportError("updateMemberPermissionsRequest is required and must be specified")
}
// to determine the Content-Type header
@@ -104,7 +104,99 @@ func (a *MembersApiService) AddMemberToGroupExecute(r MembersApiAddMemberToGroup
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.addUserToGroupRequest
+ localVarPostBody = r.updateMemberPermissionsRequest
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type MembersApiDeleteInvitationRequest struct {
+ ctx context.Context
+ ApiService *MembersApiService
+ invitationId string
+}
+
+func (r MembersApiDeleteInvitationRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DeleteInvitationExecute(r)
+}
+
+/*
+DeleteInvitation Delete Invitation
+
+This endpoint removes an Invitation identified by the `invitationId` parameter.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param invitationId The identifier of the Invitation.
+ @return MembersApiDeleteInvitationRequest
+*/
+func (a *MembersApiService) DeleteInvitation(ctx context.Context, invitationId string) MembersApiDeleteInvitationRequest {
+ return MembersApiDeleteInvitationRequest{
+ ApiService: a,
+ ctx: ctx,
+ invitationId: invitationId,
+ }
+}
+
+// Execute executes the request
+func (a *MembersApiService) DeleteInvitationExecute(r MembersApiDeleteInvitationRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MembersApiService.DeleteInvitation")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/invitations/{invitationId}"
+ localVarPath = strings.Replace(localVarPath, "{"+"invitationId"+"}", url.PathEscape(parameterValueToString(r.invitationId, "invitationId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
return nil, err
@@ -395,7 +487,7 @@ func (a *MembersApiService) GetOrganizationMembersExecute(r MembersApiGetOrganiz
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -504,7 +596,215 @@ func (a *MembersApiService) GetOrganizationMembersV2Execute(r MembersApiGetOrgan
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type MembersApiGetPendingInvitationsRequest struct {
+ ctx context.Context
+ ApiService *MembersApiService
+ productId string
+}
+
+func (r MembersApiGetPendingInvitationsRequest) Execute() ([]InvitationModel, *http.Response, error) {
+ return r.ApiService.GetPendingInvitationsExecute(r)
+}
+
+/*
+GetPendingInvitations List Pending Invitations in Product
+
+This endpoint returns the list of pending invitations within the
+given Product identified by the `productId` parameter.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param productId The identifier of the Product.
+ @return MembersApiGetPendingInvitationsRequest
+*/
+func (a *MembersApiService) GetPendingInvitations(ctx context.Context, productId string) MembersApiGetPendingInvitationsRequest {
+ return MembersApiGetPendingInvitationsRequest{
+ ApiService: a,
+ ctx: ctx,
+ productId: productId,
+ }
+}
+
+// Execute executes the request
+// @return []InvitationModel
+func (a *MembersApiService) GetPendingInvitationsExecute(r MembersApiGetPendingInvitationsRequest) ([]InvitationModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []InvitationModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MembersApiService.GetPendingInvitations")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/products/{productId}/invitations"
+ localVarPath = strings.Replace(localVarPath, "{"+"productId"+"}", url.PathEscape(parameterValueToString(r.productId, "productId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type MembersApiGetPendingInvitationsOrgRequest struct {
+ ctx context.Context
+ ApiService *MembersApiService
+ organizationId string
+}
+
+func (r MembersApiGetPendingInvitationsOrgRequest) Execute() ([]OrganizationInvitationModel, *http.Response, error) {
+ return r.ApiService.GetPendingInvitationsOrgExecute(r)
+}
+
+/*
+GetPendingInvitationsOrg List Pending Invitations in Organization
+
+This endpoint returns the list of pending invitations within the
+given Organization identified by the `organizationId` parameter.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param organizationId The identifier of the Organization.
+ @return MembersApiGetPendingInvitationsOrgRequest
+*/
+func (a *MembersApiService) GetPendingInvitationsOrg(ctx context.Context, organizationId string) MembersApiGetPendingInvitationsOrgRequest {
+ return MembersApiGetPendingInvitationsOrgRequest{
+ ApiService: a,
+ ctx: ctx,
+ organizationId: organizationId,
+ }
+}
+
+// Execute executes the request
+// @return []OrganizationInvitationModel
+func (a *MembersApiService) GetPendingInvitationsOrgExecute(r MembersApiGetPendingInvitationsOrgRequest) ([]OrganizationInvitationModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []OrganizationInvitationModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MembersApiService.GetPendingInvitationsOrg")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/organizations/{organizationId}/invitations"
+ localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(parameterValueToString(r.organizationId, "organizationId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -608,7 +908,7 @@ func (a *MembersApiService) GetProductMembersExecute(r MembersApiGetProductMembe
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_organizations.go b/api_organizations.go
index e48d16d..5f48f8f 100644
--- a/api_organizations.go
+++ b/api_organizations.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -78,7 +78,7 @@ func (a *OrganizationsApiService) GetOrganizationsExecute(r OrganizationsApiGetO
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_permission_groups.go b/api_permission_groups.go
index fa1c2e8..ca8625a 100644
--- a/api_permission_groups.go
+++ b/api_permission_groups.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -93,7 +93,7 @@ func (a *PermissionGroupsApiService) CreatePermissionGroupExecute(r PermissionGr
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -291,7 +291,7 @@ func (a *PermissionGroupsApiService) GetPermissionGroupExecute(r PermissionGroup
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -395,7 +395,7 @@ func (a *PermissionGroupsApiService) GetPermissionGroupsExecute(r PermissionGrou
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -507,7 +507,7 @@ func (a *PermissionGroupsApiService) UpdatePermissionGroupExecute(r PermissionGr
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_products.go b/api_products.go
index 8c10ff0..3944e64 100644
--- a/api_products.go
+++ b/api_products.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -93,7 +93,7 @@ func (a *ProductsApiService) CreateProductExecute(r ProductsApiCreateProductRequ
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -291,7 +291,111 @@ func (a *ProductsApiService) GetProductExecute(r ProductsApiGetProductRequest) (
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ProductsApiGetProductPreferencesRequest struct {
+ ctx context.Context
+ ApiService *ProductsApiService
+ productId string
+}
+
+func (r ProductsApiGetProductPreferencesRequest) Execute() (*PreferencesModel, *http.Response, error) {
+ return r.ApiService.GetProductPreferencesExecute(r)
+}
+
+/*
+GetProductPreferences Get Product Preferences
+
+This endpoint returns the preferences of a Product
+identified by the `productId`.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param productId The identifier of the Product.
+ @return ProductsApiGetProductPreferencesRequest
+*/
+func (a *ProductsApiService) GetProductPreferences(ctx context.Context, productId string) ProductsApiGetProductPreferencesRequest {
+ return ProductsApiGetProductPreferencesRequest{
+ ApiService: a,
+ ctx: ctx,
+ productId: productId,
+ }
+}
+
+// Execute executes the request
+// @return PreferencesModel
+func (a *ProductsApiService) GetProductPreferencesExecute(r ProductsApiGetProductPreferencesRequest) (*PreferencesModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PreferencesModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProductsApiService.GetProductPreferences")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/products/{productId}/preferences"
+ localVarPath = strings.Replace(localVarPath, "{"+"productId"+"}", url.PathEscape(parameterValueToString(r.productId, "productId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -390,7 +494,7 @@ func (a *ProductsApiService) GetProductsExecute(r ProductsApiGetProductsRequest)
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -502,7 +606,7 @@ func (a *ProductsApiService) UpdateProductExecute(r ProductsApiUpdateProductRequ
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -547,3 +651,117 @@ func (a *ProductsApiService) UpdateProductExecute(r ProductsApiUpdateProductRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
+
+type ProductsApiUpdateProductPreferencesRequest struct {
+ ctx context.Context
+ ApiService *ProductsApiService
+ productId string
+ updatePreferencesRequest *UpdatePreferencesRequest
+}
+
+func (r ProductsApiUpdateProductPreferencesRequest) UpdatePreferencesRequest(updatePreferencesRequest UpdatePreferencesRequest) ProductsApiUpdateProductPreferencesRequest {
+ r.updatePreferencesRequest = &updatePreferencesRequest
+ return r
+}
+
+func (r ProductsApiUpdateProductPreferencesRequest) Execute() (*PreferencesModel, *http.Response, error) {
+ return r.ApiService.UpdateProductPreferencesExecute(r)
+}
+
+/*
+UpdateProductPreferences Update Product Preferences
+
+This endpoint updates the preferences of a Product identified by the `productId` parameter.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param productId The identifier of the Product.
+ @return ProductsApiUpdateProductPreferencesRequest
+*/
+func (a *ProductsApiService) UpdateProductPreferences(ctx context.Context, productId string) ProductsApiUpdateProductPreferencesRequest {
+ return ProductsApiUpdateProductPreferencesRequest{
+ ApiService: a,
+ ctx: ctx,
+ productId: productId,
+ }
+}
+
+// Execute executes the request
+// @return PreferencesModel
+func (a *ProductsApiService) UpdateProductPreferencesExecute(r ProductsApiUpdateProductPreferencesRequest) (*PreferencesModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PreferencesModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProductsApiService.UpdateProductPreferences")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/products/{productId}/preferences"
+ localVarPath = strings.Replace(localVarPath, "{"+"productId"+"}", url.PathEscape(parameterValueToString(r.productId, "productId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.updatePreferencesRequest == nil {
+ return localVarReturnValue, nil, reportError("updatePreferencesRequest is required and must be specified")
+ }
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.updatePreferencesRequest
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
diff --git a/api_sdk_keys.go b/api_sdk_keys.go
index ac9cc9c..1c23f00 100644
--- a/api_sdk_keys.go
+++ b/api_sdk_keys.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -87,7 +87,7 @@ func (a *SDKKeysApiService) GetSdkKeysExecute(r SDKKeysApiGetSdkKeysRequest) (*S
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_segments.go b/api_segments.go
index f1d3713..4a141c1 100644
--- a/api_segments.go
+++ b/api_segments.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -93,7 +93,7 @@ func (a *SegmentsApiService) CreateSegmentExecute(r SegmentsApiCreateSegmentRequ
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -291,7 +291,7 @@ func (a *SegmentsApiService) GetSegmentExecute(r SegmentsApiGetSegmentRequest) (
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -395,7 +395,7 @@ func (a *SegmentsApiService) GetSegmentsExecute(r SegmentsApiGetSegmentsRequest)
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -507,7 +507,7 @@ func (a *SegmentsApiService) UpdateSegmentExecute(r SegmentsApiUpdateSegmentRequ
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_tags.go b/api_tags.go
index 67e2d42..f93020a 100644
--- a/api_tags.go
+++ b/api_tags.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -93,7 +93,7 @@ func (a *TagsApiService) CreateTagExecute(r TagsApiCreateTagRequest) (*TagModel,
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -291,7 +291,7 @@ func (a *TagsApiService) GetSettingsByTagExecute(r TagsApiGetSettingsByTagReques
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -395,7 +395,7 @@ func (a *TagsApiService) GetTagExecute(r TagsApiGetTagRequest) (*TagModel, *http
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -499,7 +499,7 @@ func (a *TagsApiService) GetTagsExecute(r TagsApiGetTagsRequest) ([]TagModel, *h
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -611,7 +611,7 @@ func (a *TagsApiService) UpdateTagExecute(r TagsApiUpdateTagRequest) (*TagModel,
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "application/hal+json"}
+ localVarHTTPHeaderAccepts := []string{"application/json"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
diff --git a/api_webhooks.go b/api_webhooks.go
new file mode 100644
index 0000000..a844cb5
--- /dev/null
+++ b/api_webhooks.go
@@ -0,0 +1,714 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "bytes"
+ "context"
+ "io"
+ "net/http"
+ "net/url"
+ "strings"
+)
+
+
+// WebhooksApiService WebhooksApi service
+type WebhooksApiService service
+
+type WebhooksApiCreateWebhookRequest struct {
+ ctx context.Context
+ ApiService *WebhooksApiService
+ configId string
+ environmentId string
+ createWebHookRequest *CreateWebHookRequest
+}
+
+func (r WebhooksApiCreateWebhookRequest) CreateWebHookRequest(createWebHookRequest CreateWebHookRequest) WebhooksApiCreateWebhookRequest {
+ r.createWebHookRequest = &createWebHookRequest
+ return r
+}
+
+func (r WebhooksApiCreateWebhookRequest) Execute() (*WebhookModel, *http.Response, error) {
+ return r.ApiService.CreateWebhookExecute(r)
+}
+
+/*
+CreateWebhook Create Webhook
+
+This endpoint creates a new Webhook in a specified Product
+identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param configId The identifier of the Config.
+ @param environmentId The identifier of the Environment.
+ @return WebhooksApiCreateWebhookRequest
+*/
+func (a *WebhooksApiService) CreateWebhook(ctx context.Context, configId string, environmentId string) WebhooksApiCreateWebhookRequest {
+ return WebhooksApiCreateWebhookRequest{
+ ApiService: a,
+ ctx: ctx,
+ configId: configId,
+ environmentId: environmentId,
+ }
+}
+
+// Execute executes the request
+// @return WebhookModel
+func (a *WebhooksApiService) CreateWebhookExecute(r WebhooksApiCreateWebhookRequest) (*WebhookModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *WebhookModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.CreateWebhook")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/configs/{configId}/environments/{environmentId}/webhooks"
+ localVarPath = strings.Replace(localVarPath, "{"+"configId"+"}", url.PathEscape(parameterValueToString(r.configId, "configId")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"environmentId"+"}", url.PathEscape(parameterValueToString(r.environmentId, "environmentId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.createWebHookRequest == nil {
+ return localVarReturnValue, nil, reportError("createWebHookRequest is required and must be specified")
+ }
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.createWebHookRequest
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type WebhooksApiDeleteWebhookRequest struct {
+ ctx context.Context
+ ApiService *WebhooksApiService
+ webhookId int32
+}
+
+func (r WebhooksApiDeleteWebhookRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DeleteWebhookExecute(r)
+}
+
+/*
+DeleteWebhook Delete Webhook
+
+This endpoint removes a Webhook identified by the `webhookId` parameter.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param webhookId The identifier of the Webhook.
+ @return WebhooksApiDeleteWebhookRequest
+*/
+func (a *WebhooksApiService) DeleteWebhook(ctx context.Context, webhookId int32) WebhooksApiDeleteWebhookRequest {
+ return WebhooksApiDeleteWebhookRequest{
+ ApiService: a,
+ ctx: ctx,
+ webhookId: webhookId,
+ }
+}
+
+// Execute executes the request
+func (a *WebhooksApiService) DeleteWebhookExecute(r WebhooksApiDeleteWebhookRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.DeleteWebhook")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/webhooks/{webhookId}"
+ localVarPath = strings.Replace(localVarPath, "{"+"webhookId"+"}", url.PathEscape(parameterValueToString(r.webhookId, "webhookId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type WebhooksApiGetWebhookRequest struct {
+ ctx context.Context
+ ApiService *WebhooksApiService
+ webhookId int32
+}
+
+func (r WebhooksApiGetWebhookRequest) Execute() (*WebhookModel, *http.Response, error) {
+ return r.ApiService.GetWebhookExecute(r)
+}
+
+/*
+GetWebhook Get Webhook
+
+This endpoint returns the metadata of a Webhook
+identified by the `webhookId`.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param webhookId The identifier of the Webhook.
+ @return WebhooksApiGetWebhookRequest
+*/
+func (a *WebhooksApiService) GetWebhook(ctx context.Context, webhookId int32) WebhooksApiGetWebhookRequest {
+ return WebhooksApiGetWebhookRequest{
+ ApiService: a,
+ ctx: ctx,
+ webhookId: webhookId,
+ }
+}
+
+// Execute executes the request
+// @return WebhookModel
+func (a *WebhooksApiService) GetWebhookExecute(r WebhooksApiGetWebhookRequest) (*WebhookModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *WebhookModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.GetWebhook")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/webhooks/{webhookId}"
+ localVarPath = strings.Replace(localVarPath, "{"+"webhookId"+"}", url.PathEscape(parameterValueToString(r.webhookId, "webhookId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type WebhooksApiGetWebhookSigningKeysRequest struct {
+ ctx context.Context
+ ApiService *WebhooksApiService
+ webhookId int32
+}
+
+func (r WebhooksApiGetWebhookSigningKeysRequest) Execute() (*WebhookSigningKeysModel, *http.Response, error) {
+ return r.ApiService.GetWebhookSigningKeysExecute(r)
+}
+
+/*
+GetWebhookSigningKeys Get Webhook Signing Keys
+
+This endpoint returns the signing keys of a Webhook
+identified by the `webhookId`.
+
+Signing keys are used for ensuring the Webhook requests you receive are actually sent by ConfigCat.
+
+Here you can read more about Webhook request verification.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param webhookId The identifier of the Webhook.
+ @return WebhooksApiGetWebhookSigningKeysRequest
+*/
+func (a *WebhooksApiService) GetWebhookSigningKeys(ctx context.Context, webhookId int32) WebhooksApiGetWebhookSigningKeysRequest {
+ return WebhooksApiGetWebhookSigningKeysRequest{
+ ApiService: a,
+ ctx: ctx,
+ webhookId: webhookId,
+ }
+}
+
+// Execute executes the request
+// @return WebhookSigningKeysModel
+func (a *WebhooksApiService) GetWebhookSigningKeysExecute(r WebhooksApiGetWebhookSigningKeysRequest) (*WebhookSigningKeysModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *WebhookSigningKeysModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.GetWebhookSigningKeys")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/webhooks/{webhookId}/keys"
+ localVarPath = strings.Replace(localVarPath, "{"+"webhookId"+"}", url.PathEscape(parameterValueToString(r.webhookId, "webhookId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type WebhooksApiGetWebhooksRequest struct {
+ ctx context.Context
+ ApiService *WebhooksApiService
+ productId string
+}
+
+func (r WebhooksApiGetWebhooksRequest) Execute() ([]WebhookModel, *http.Response, error) {
+ return r.ApiService.GetWebhooksExecute(r)
+}
+
+/*
+GetWebhooks List Webhooks
+
+This endpoint returns the list of the Webhooks that belongs to the given Product identified by the
+`productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param productId The identifier of the Product.
+ @return WebhooksApiGetWebhooksRequest
+*/
+func (a *WebhooksApiService) GetWebhooks(ctx context.Context, productId string) WebhooksApiGetWebhooksRequest {
+ return WebhooksApiGetWebhooksRequest{
+ ApiService: a,
+ ctx: ctx,
+ productId: productId,
+ }
+}
+
+// Execute executes the request
+// @return []WebhookModel
+func (a *WebhooksApiService) GetWebhooksExecute(r WebhooksApiGetWebhooksRequest) ([]WebhookModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []WebhookModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.GetWebhooks")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/products/{productId}/webhooks"
+ localVarPath = strings.Replace(localVarPath, "{"+"productId"+"}", url.PathEscape(parameterValueToString(r.productId, "productId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type WebhooksApiUpdateWebhookRequest struct {
+ ctx context.Context
+ ApiService *WebhooksApiService
+ webhookId int32
+ jsonPatchOperation *[]JsonPatchOperation
+}
+
+func (r WebhooksApiUpdateWebhookRequest) JsonPatchOperation(jsonPatchOperation []JsonPatchOperation) WebhooksApiUpdateWebhookRequest {
+ r.jsonPatchOperation = &jsonPatchOperation
+ return r
+}
+
+func (r WebhooksApiUpdateWebhookRequest) Execute() (*WebhookModel, *http.Response, error) {
+ return r.ApiService.UpdateWebhookExecute(r)
+}
+
+/*
+UpdateWebhook Update Webhook
+
+This endpoint updates a Webhook identified by the `webhookId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations.
+
+The advantage of using JSON Patch is that you can describe individual update operations on a resource without touching attributes that you don't want to change.
+
+For example: We have the following resource.
+```json
+{
+ "webhookId": 6,
+ "url": "https://example.com/hook",
+ "httpMethod": "post",
+ "content": "null",
+ "webHookHeaders": []
+}
+```
+If we send an update request body as below (it changes the `content` field and adds a new HTTP header):
+```json
+[
+ {
+ "op": "replace",
+ "path": "/content",
+ "value": "Some webhook content."
+ },
+ {
+ "op": "add",
+ "path": "/webHookHeaders/-",
+ "value": {
+ "key": "X-Custom-Header",
+ "value": "Custom header value"
+ }
+ }
+]
+```
+Only the `content` and `webHookHeaders` are updated and all the other attributes remain unchanged.
+So we get a response like this:
+```json
+{
+ "webhookId": 6,
+ "url": "https://example.com/hook",
+ "httpMethod": "post",
+ "content": "Some webhook content.",
+ "webHookHeaders": [
+ {
+ "key": "X-Custom-Header",
+ "value": "Custom header value",
+ "isSecure": false
+ }
+ ]
+}
+```
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param webhookId The identifier of the Webhook.
+ @return WebhooksApiUpdateWebhookRequest
+*/
+func (a *WebhooksApiService) UpdateWebhook(ctx context.Context, webhookId int32) WebhooksApiUpdateWebhookRequest {
+ return WebhooksApiUpdateWebhookRequest{
+ ApiService: a,
+ ctx: ctx,
+ webhookId: webhookId,
+ }
+}
+
+// Execute executes the request
+// @return WebhookModel
+func (a *WebhooksApiService) UpdateWebhookExecute(r WebhooksApiUpdateWebhookRequest) (*WebhookModel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *WebhookModel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.UpdateWebhook")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/v1/webhooks/{webhookId}"
+ localVarPath = strings.Replace(localVarPath, "{"+"webhookId"+"}", url.PathEscape(parameterValueToString(r.webhookId, "webhookId")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.jsonPatchOperation == nil {
+ return localVarReturnValue, nil, reportError("jsonPatchOperation is required and must be specified")
+ }
+
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.jsonPatchOperation
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
diff --git a/client.go b/client.go
index 9e527d1..c881015 100644
--- a/client.go
+++ b/client.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -85,6 +85,8 @@ type APIClient struct {
SegmentsApi *SegmentsApiService
TagsApi *TagsApiService
+
+ WebhooksApi *WebhooksApiService
}
type service struct {
@@ -121,6 +123,7 @@ func NewAPIClient(cfg *Configuration) *APIClient {
c.SDKKeysApi = (*SDKKeysApiService)(&c.common)
c.SegmentsApi = (*SegmentsApiService)(&c.common)
c.TagsApi = (*TagsApiService)(&c.common)
+ c.WebhooksApi = (*WebhooksApiService)(&c.common)
return c
}
diff --git a/configuration.go b/configuration.go
index 511b2fa..f180066 100644
--- a/configuration.go
+++ b/configuration.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/docs/AuditLogsApi.md b/docs/AuditLogsApi.md
index 2db6d87..0932490 100644
--- a/docs/AuditLogsApi.md
+++ b/docs/AuditLogsApi.md
@@ -84,7 +84,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -154,7 +154,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -237,7 +237,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/CodeReferencesApi.md b/docs/CodeReferencesApi.md
index cf81bb6..6897372 100644
--- a/docs/CodeReferencesApi.md
+++ b/docs/CodeReferencesApi.md
@@ -202,7 +202,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -272,7 +272,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/ConfigModelLinks.md b/docs/ConfigModelLinks.md
new file mode 100644
index 0000000..a3c6c78
--- /dev/null
+++ b/docs/ConfigModelLinks.md
@@ -0,0 +1,82 @@
+# ConfigModelLinks
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Self** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Settings** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+
+## Methods
+
+### NewConfigModelLinks
+
+`func NewConfigModelLinks() *ConfigModelLinks`
+
+NewConfigModelLinks instantiates a new ConfigModelLinks object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewConfigModelLinksWithDefaults
+
+`func NewConfigModelLinksWithDefaults() *ConfigModelLinks`
+
+NewConfigModelLinksWithDefaults instantiates a new ConfigModelLinks object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetSelf
+
+`func (o *ConfigModelLinks) GetSelf() ConfigModelLinksSelf`
+
+GetSelf returns the Self field if non-nil, zero value otherwise.
+
+### GetSelfOk
+
+`func (o *ConfigModelLinks) GetSelfOk() (*ConfigModelLinksSelf, bool)`
+
+GetSelfOk returns a tuple with the Self field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSelf
+
+`func (o *ConfigModelLinks) SetSelf(v ConfigModelLinksSelf)`
+
+SetSelf sets Self field to given value.
+
+### HasSelf
+
+`func (o *ConfigModelLinks) HasSelf() bool`
+
+HasSelf returns a boolean if a field has been set.
+
+### GetSettings
+
+`func (o *ConfigModelLinks) GetSettings() ConfigModelLinksSelf`
+
+GetSettings returns the Settings field if non-nil, zero value otherwise.
+
+### GetSettingsOk
+
+`func (o *ConfigModelLinks) GetSettingsOk() (*ConfigModelLinksSelf, bool)`
+
+GetSettingsOk returns a tuple with the Settings field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSettings
+
+`func (o *ConfigModelLinks) SetSettings(v ConfigModelLinksSelf)`
+
+SetSettings sets Settings field to given value.
+
+### HasSettings
+
+`func (o *ConfigModelLinks) HasSettings() bool`
+
+HasSettings returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ConfigModelLinksSelf.md b/docs/ConfigModelLinksSelf.md
new file mode 100644
index 0000000..182b8ee
--- /dev/null
+++ b/docs/ConfigModelLinksSelf.md
@@ -0,0 +1,56 @@
+# ConfigModelLinksSelf
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Href** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewConfigModelLinksSelf
+
+`func NewConfigModelLinksSelf() *ConfigModelLinksSelf`
+
+NewConfigModelLinksSelf instantiates a new ConfigModelLinksSelf object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewConfigModelLinksSelfWithDefaults
+
+`func NewConfigModelLinksSelfWithDefaults() *ConfigModelLinksSelf`
+
+NewConfigModelLinksSelfWithDefaults instantiates a new ConfigModelLinksSelf object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetHref
+
+`func (o *ConfigModelLinksSelf) GetHref() string`
+
+GetHref returns the Href field if non-nil, zero value otherwise.
+
+### GetHrefOk
+
+`func (o *ConfigModelLinksSelf) GetHrefOk() (*string, bool)`
+
+GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetHref
+
+`func (o *ConfigModelLinksSelf) SetHref(v string)`
+
+SetHref sets Href field to given value.
+
+### HasHref
+
+`func (o *ConfigModelLinksSelf) HasHref() bool`
+
+HasHref returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ConfigSettingFormulasModelLinks.md b/docs/ConfigSettingFormulasModelLinks.md
new file mode 100644
index 0000000..98b5cbc
--- /dev/null
+++ b/docs/ConfigSettingFormulasModelLinks.md
@@ -0,0 +1,56 @@
+# ConfigSettingFormulasModelLinks
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Self** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+
+## Methods
+
+### NewConfigSettingFormulasModelLinks
+
+`func NewConfigSettingFormulasModelLinks() *ConfigSettingFormulasModelLinks`
+
+NewConfigSettingFormulasModelLinks instantiates a new ConfigSettingFormulasModelLinks object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewConfigSettingFormulasModelLinksWithDefaults
+
+`func NewConfigSettingFormulasModelLinksWithDefaults() *ConfigSettingFormulasModelLinks`
+
+NewConfigSettingFormulasModelLinksWithDefaults instantiates a new ConfigSettingFormulasModelLinks object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetSelf
+
+`func (o *ConfigSettingFormulasModelLinks) GetSelf() ConfigModelLinksSelf`
+
+GetSelf returns the Self field if non-nil, zero value otherwise.
+
+### GetSelfOk
+
+`func (o *ConfigSettingFormulasModelLinks) GetSelfOk() (*ConfigModelLinksSelf, bool)`
+
+GetSelfOk returns a tuple with the Self field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSelf
+
+`func (o *ConfigSettingFormulasModelLinks) SetSelf(v ConfigModelLinksSelf)`
+
+SetSelf sets Self field to given value.
+
+### HasSelf
+
+`func (o *ConfigSettingFormulasModelLinks) HasSelf() bool`
+
+HasSelf returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ConfigsApi.md b/docs/ConfigsApi.md
index 669a386..3ca06f7 100644
--- a/docs/ConfigsApi.md
+++ b/docs/ConfigsApi.md
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -215,7 +215,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -285,7 +285,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -357,7 +357,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/CreateWebHookRequest.md b/docs/CreateWebHookRequest.md
new file mode 100644
index 0000000..b52209d
--- /dev/null
+++ b/docs/CreateWebHookRequest.md
@@ -0,0 +1,149 @@
+# CreateWebHookRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Url** | **string** | The URL of the Webhook. |
+**Content** | Pointer to **NullableString** | The HTTP body content. | [optional]
+**HttpMethod** | Pointer to [**WebHookHttpMethod**](WebHookHttpMethod.md) | | [optional]
+**WebHookHeaders** | Pointer to [**[]WebhookHeaderModel**](WebhookHeaderModel.md) | List of HTTP headers. | [optional]
+
+## Methods
+
+### NewCreateWebHookRequest
+
+`func NewCreateWebHookRequest(url string, ) *CreateWebHookRequest`
+
+NewCreateWebHookRequest instantiates a new CreateWebHookRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewCreateWebHookRequestWithDefaults
+
+`func NewCreateWebHookRequestWithDefaults() *CreateWebHookRequest`
+
+NewCreateWebHookRequestWithDefaults instantiates a new CreateWebHookRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetUrl
+
+`func (o *CreateWebHookRequest) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *CreateWebHookRequest) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *CreateWebHookRequest) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+### GetContent
+
+`func (o *CreateWebHookRequest) GetContent() string`
+
+GetContent returns the Content field if non-nil, zero value otherwise.
+
+### GetContentOk
+
+`func (o *CreateWebHookRequest) GetContentOk() (*string, bool)`
+
+GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetContent
+
+`func (o *CreateWebHookRequest) SetContent(v string)`
+
+SetContent sets Content field to given value.
+
+### HasContent
+
+`func (o *CreateWebHookRequest) HasContent() bool`
+
+HasContent returns a boolean if a field has been set.
+
+### SetContentNil
+
+`func (o *CreateWebHookRequest) SetContentNil(b bool)`
+
+ SetContentNil sets the value for Content to be an explicit nil
+
+### UnsetContent
+`func (o *CreateWebHookRequest) UnsetContent()`
+
+UnsetContent ensures that no value is present for Content, not even an explicit nil
+### GetHttpMethod
+
+`func (o *CreateWebHookRequest) GetHttpMethod() WebHookHttpMethod`
+
+GetHttpMethod returns the HttpMethod field if non-nil, zero value otherwise.
+
+### GetHttpMethodOk
+
+`func (o *CreateWebHookRequest) GetHttpMethodOk() (*WebHookHttpMethod, bool)`
+
+GetHttpMethodOk returns a tuple with the HttpMethod field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetHttpMethod
+
+`func (o *CreateWebHookRequest) SetHttpMethod(v WebHookHttpMethod)`
+
+SetHttpMethod sets HttpMethod field to given value.
+
+### HasHttpMethod
+
+`func (o *CreateWebHookRequest) HasHttpMethod() bool`
+
+HasHttpMethod returns a boolean if a field has been set.
+
+### GetWebHookHeaders
+
+`func (o *CreateWebHookRequest) GetWebHookHeaders() []WebhookHeaderModel`
+
+GetWebHookHeaders returns the WebHookHeaders field if non-nil, zero value otherwise.
+
+### GetWebHookHeadersOk
+
+`func (o *CreateWebHookRequest) GetWebHookHeadersOk() (*[]WebhookHeaderModel, bool)`
+
+GetWebHookHeadersOk returns a tuple with the WebHookHeaders field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWebHookHeaders
+
+`func (o *CreateWebHookRequest) SetWebHookHeaders(v []WebhookHeaderModel)`
+
+SetWebHookHeaders sets WebHookHeaders field to given value.
+
+### HasWebHookHeaders
+
+`func (o *CreateWebHookRequest) HasWebHookHeaders() bool`
+
+HasWebHookHeaders returns a boolean if a field has been set.
+
+### SetWebHookHeadersNil
+
+`func (o *CreateWebHookRequest) SetWebHookHeadersNil(b bool)`
+
+ SetWebHookHeadersNil sets the value for WebHookHeaders to be an explicit nil
+
+### UnsetWebHookHeaders
+`func (o *CreateWebHookRequest) UnsetWebHookHeaders()`
+
+UnsetWebHookHeaders ensures that no value is present for WebHookHeaders, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/EnvironmentsApi.md b/docs/EnvironmentsApi.md
index 7c2248e..f40520f 100644
--- a/docs/EnvironmentsApi.md
+++ b/docs/EnvironmentsApi.md
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -217,7 +217,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -287,7 +287,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -359,7 +359,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/FeatureFlagSettingValuesApi.md b/docs/FeatureFlagSettingValuesApi.md
index 573e9c0..f90eee2 100644
--- a/docs/FeatureFlagSettingValuesApi.md
+++ b/docs/FeatureFlagSettingValuesApi.md
@@ -78,7 +78,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -151,7 +151,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -228,7 +228,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -305,7 +305,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -382,7 +382,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/FeatureFlagSettingValuesUsingSDKKeyApi.md b/docs/FeatureFlagSettingValuesUsingSDKKeyApi.md
index d3f9284..38e47e5 100644
--- a/docs/FeatureFlagSettingValuesUsingSDKKeyApi.md
+++ b/docs/FeatureFlagSettingValuesUsingSDKKeyApi.md
@@ -75,7 +75,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -151,7 +151,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -227,7 +227,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/FeatureFlagSettingValuesUsingSDKKeyV2Api.md b/docs/FeatureFlagSettingValuesUsingSDKKeyV2Api.md
index 434e53e..3e3c25b 100644
--- a/docs/FeatureFlagSettingValuesUsingSDKKeyV2Api.md
+++ b/docs/FeatureFlagSettingValuesUsingSDKKeyV2Api.md
@@ -75,7 +75,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -151,7 +151,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -227,7 +227,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/FeatureFlagSettingValuesV2Api.md b/docs/FeatureFlagSettingValuesV2Api.md
index e7dde1e..48e6e63 100644
--- a/docs/FeatureFlagSettingValuesV2Api.md
+++ b/docs/FeatureFlagSettingValuesV2Api.md
@@ -78,7 +78,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -151,7 +151,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -228,7 +228,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -305,7 +305,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -382,7 +382,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/FeatureFlagsSettingsApi.md b/docs/FeatureFlagsSettingsApi.md
index 7271f1a..0d905c8 100644
--- a/docs/FeatureFlagsSettingsApi.md
+++ b/docs/FeatureFlagsSettingsApi.md
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -215,7 +215,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -285,7 +285,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -357,7 +357,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/IntegrationLinksApi.md b/docs/IntegrationLinksApi.md
index 2adad9e..190cb4a 100644
--- a/docs/IntegrationLinksApi.md
+++ b/docs/IntegrationLinksApi.md
@@ -8,7 +8,7 @@ Method | HTTP request | Description
[**DeleteIntegrationLink**](IntegrationLinksApi.md#DeleteIntegrationLink) | **Delete** /v1/environments/{environmentId}/settings/{settingId}/integrationLinks/{integrationLinkType}/{key} | Delete Integration link
[**GetIntegrationLinkDetails**](IntegrationLinksApi.md#GetIntegrationLinkDetails) | **Get** /v1/integrationLink/{integrationLinkType}/{key}/details | Get Integration link
[**JiraAddOrUpdateIntegrationLink**](IntegrationLinksApi.md#JiraAddOrUpdateIntegrationLink) | **Post** /v1/jira/environments/{environmentId}/settings/{settingId}/integrationLinks/{key} |
-[**V1JiraConnectPost**](IntegrationLinksApi.md#V1JiraConnectPost) | **Post** /v1/jira/Connect |
+[**JiraConnect**](IntegrationLinksApi.md#JiraConnect) | **Post** /v1/jira/connect |
@@ -86,7 +86,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -165,7 +165,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -238,7 +238,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -314,16 +314,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## V1JiraConnectPost
+## JiraConnect
-> V1JiraConnectPost(ctx).ConnectRequest(connectRequest).Execute()
+> JiraConnect(ctx).ConnectRequest(connectRequest).Execute()
@@ -344,9 +344,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.IntegrationLinksApi.V1JiraConnectPost(context.Background()).ConnectRequest(connectRequest).Execute()
+ r, err := apiClient.IntegrationLinksApi.JiraConnect(context.Background()).ConnectRequest(connectRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IntegrationLinksApi.V1JiraConnectPost``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IntegrationLinksApi.JiraConnect``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -358,7 +358,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiV1JiraConnectPostRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiJiraConnectRequest struct via the builder pattern
Name | Type | Description | Notes
diff --git a/docs/InvitationModel.md b/docs/InvitationModel.md
new file mode 100644
index 0000000..efe8775
--- /dev/null
+++ b/docs/InvitationModel.md
@@ -0,0 +1,170 @@
+# InvitationModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**InvitationId** | Pointer to **string** | The identifier of the Invitation. | [optional]
+**Email** | Pointer to **NullableString** | The invited user's email address. | [optional]
+**PermissionGroupId** | Pointer to **int64** | The identifier of the Permission Group the user was invited to. | [optional]
+**CreatedAt** | Pointer to **time.Time** | Creation time of the Invitation. | [optional]
+**Expired** | Pointer to **bool** | Determines whether the Invitation is expired. | [optional]
+
+## Methods
+
+### NewInvitationModel
+
+`func NewInvitationModel() *InvitationModel`
+
+NewInvitationModel instantiates a new InvitationModel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewInvitationModelWithDefaults
+
+`func NewInvitationModelWithDefaults() *InvitationModel`
+
+NewInvitationModelWithDefaults instantiates a new InvitationModel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetInvitationId
+
+`func (o *InvitationModel) GetInvitationId() string`
+
+GetInvitationId returns the InvitationId field if non-nil, zero value otherwise.
+
+### GetInvitationIdOk
+
+`func (o *InvitationModel) GetInvitationIdOk() (*string, bool)`
+
+GetInvitationIdOk returns a tuple with the InvitationId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetInvitationId
+
+`func (o *InvitationModel) SetInvitationId(v string)`
+
+SetInvitationId sets InvitationId field to given value.
+
+### HasInvitationId
+
+`func (o *InvitationModel) HasInvitationId() bool`
+
+HasInvitationId returns a boolean if a field has been set.
+
+### GetEmail
+
+`func (o *InvitationModel) GetEmail() string`
+
+GetEmail returns the Email field if non-nil, zero value otherwise.
+
+### GetEmailOk
+
+`func (o *InvitationModel) GetEmailOk() (*string, bool)`
+
+GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEmail
+
+`func (o *InvitationModel) SetEmail(v string)`
+
+SetEmail sets Email field to given value.
+
+### HasEmail
+
+`func (o *InvitationModel) HasEmail() bool`
+
+HasEmail returns a boolean if a field has been set.
+
+### SetEmailNil
+
+`func (o *InvitationModel) SetEmailNil(b bool)`
+
+ SetEmailNil sets the value for Email to be an explicit nil
+
+### UnsetEmail
+`func (o *InvitationModel) UnsetEmail()`
+
+UnsetEmail ensures that no value is present for Email, not even an explicit nil
+### GetPermissionGroupId
+
+`func (o *InvitationModel) GetPermissionGroupId() int64`
+
+GetPermissionGroupId returns the PermissionGroupId field if non-nil, zero value otherwise.
+
+### GetPermissionGroupIdOk
+
+`func (o *InvitationModel) GetPermissionGroupIdOk() (*int64, bool)`
+
+GetPermissionGroupIdOk returns a tuple with the PermissionGroupId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPermissionGroupId
+
+`func (o *InvitationModel) SetPermissionGroupId(v int64)`
+
+SetPermissionGroupId sets PermissionGroupId field to given value.
+
+### HasPermissionGroupId
+
+`func (o *InvitationModel) HasPermissionGroupId() bool`
+
+HasPermissionGroupId returns a boolean if a field has been set.
+
+### GetCreatedAt
+
+`func (o *InvitationModel) GetCreatedAt() time.Time`
+
+GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
+
+### GetCreatedAtOk
+
+`func (o *InvitationModel) GetCreatedAtOk() (*time.Time, bool)`
+
+GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCreatedAt
+
+`func (o *InvitationModel) SetCreatedAt(v time.Time)`
+
+SetCreatedAt sets CreatedAt field to given value.
+
+### HasCreatedAt
+
+`func (o *InvitationModel) HasCreatedAt() bool`
+
+HasCreatedAt returns a boolean if a field has been set.
+
+### GetExpired
+
+`func (o *InvitationModel) GetExpired() bool`
+
+GetExpired returns the Expired field if non-nil, zero value otherwise.
+
+### GetExpiredOk
+
+`func (o *InvitationModel) GetExpiredOk() (*bool, bool)`
+
+GetExpiredOk returns a tuple with the Expired field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetExpired
+
+`func (o *InvitationModel) SetExpired(v bool)`
+
+SetExpired sets Expired field to given value.
+
+### HasExpired
+
+`func (o *InvitationModel) HasExpired() bool`
+
+HasExpired returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/InvitationModelLinks.md b/docs/InvitationModelLinks.md
new file mode 100644
index 0000000..b71aaa1
--- /dev/null
+++ b/docs/InvitationModelLinks.md
@@ -0,0 +1,56 @@
+# InvitationModelLinks
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PermissionGroup** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+
+## Methods
+
+### NewInvitationModelLinks
+
+`func NewInvitationModelLinks() *InvitationModelLinks`
+
+NewInvitationModelLinks instantiates a new InvitationModelLinks object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewInvitationModelLinksWithDefaults
+
+`func NewInvitationModelLinksWithDefaults() *InvitationModelLinks`
+
+NewInvitationModelLinksWithDefaults instantiates a new InvitationModelLinks object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetPermissionGroup
+
+`func (o *InvitationModelLinks) GetPermissionGroup() ConfigModelLinksSelf`
+
+GetPermissionGroup returns the PermissionGroup field if non-nil, zero value otherwise.
+
+### GetPermissionGroupOk
+
+`func (o *InvitationModelLinks) GetPermissionGroupOk() (*ConfigModelLinksSelf, bool)`
+
+GetPermissionGroupOk returns a tuple with the PermissionGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPermissionGroup
+
+`func (o *InvitationModelLinks) SetPermissionGroup(v ConfigModelLinksSelf)`
+
+SetPermissionGroup sets PermissionGroup field to given value.
+
+### HasPermissionGroup
+
+`func (o *InvitationModelLinks) HasPermissionGroup() bool`
+
+HasPermissionGroup returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/KeyGenerationMode.md b/docs/KeyGenerationMode.md
new file mode 100644
index 0000000..6c3af88
--- /dev/null
+++ b/docs/KeyGenerationMode.md
@@ -0,0 +1,19 @@
+# KeyGenerationMode
+
+## Enum
+
+
+* `CAMEL_CASE` (value: `"camelCase"`)
+
+* `LOWER_CASE` (value: `"lowerCase"`)
+
+* `UPPER_CASE` (value: `"upperCase"`)
+
+* `PASCAL_CASE` (value: `"pascalCase"`)
+
+* `KEBAB_CASE` (value: `"kebabCase"`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/MeApi.md b/docs/MeApi.md
index dc4cf90..004ae98 100644
--- a/docs/MeApi.md
+++ b/docs/MeApi.md
@@ -62,7 +62,7 @@ Other parameters are passed through a pointer to a apiGetMeRequest struct via th
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/MembersApi.md b/docs/MembersApi.md
index fd50199..5ec47d6 100644
--- a/docs/MembersApi.md
+++ b/docs/MembersApi.md
@@ -5,10 +5,13 @@ All URIs are relative to *https://test-api.configcat.com*
Method | HTTP request | Description
------------- | ------------- | -------------
[**AddMemberToGroup**](MembersApi.md#AddMemberToGroup) | **Post** /v1/organizations/{organizationId}/members/{userId} | Update Member Permissions
+[**DeleteInvitation**](MembersApi.md#DeleteInvitation) | **Delete** /v1/invitations/{invitationId} | Delete Invitation
[**DeleteOrganizationMember**](MembersApi.md#DeleteOrganizationMember) | **Delete** /v1/organizations/{organizationId}/members/{userId} | Delete Member from Organization
[**DeleteProductMember**](MembersApi.md#DeleteProductMember) | **Delete** /v1/products/{productId}/members/{userId} | Delete Member from Product
[**GetOrganizationMembers**](MembersApi.md#GetOrganizationMembers) | **Get** /v1/organizations/{organizationId}/members | List Organization Members
[**GetOrganizationMembersV2**](MembersApi.md#GetOrganizationMembersV2) | **Get** /v2/organizations/{organizationId}/members | List Organization Members
+[**GetPendingInvitations**](MembersApi.md#GetPendingInvitations) | **Get** /v1/products/{productId}/invitations | List Pending Invitations in Product
+[**GetPendingInvitationsOrg**](MembersApi.md#GetPendingInvitationsOrg) | **Get** /v1/organizations/{organizationId}/invitations | List Pending Invitations in Organization
[**GetProductMembers**](MembersApi.md#GetProductMembers) | **Get** /v1/products/{productId}/members | List Product Members
[**InviteMember**](MembersApi.md#InviteMember) | **Post** /v1/products/{productId}/members/invite | Invite Member
@@ -16,7 +19,7 @@ Method | HTTP request | Description
## AddMemberToGroup
-> AddMemberToGroup(ctx, organizationId, userId).AddUserToGroupRequest(addUserToGroupRequest).Execute()
+> AddMemberToGroup(ctx, organizationId, userId).UpdateMemberPermissionsRequest(updateMemberPermissionsRequest).Execute()
Update Member Permissions
@@ -37,11 +40,11 @@ import (
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Organization.
userId := "userId_example" // string | The identifier of the Member.
- addUserToGroupRequest := *openapiclient.NewAddUserToGroupRequest([]int64{int64(123)}) // AddUserToGroupRequest |
+ updateMemberPermissionsRequest := *openapiclient.NewUpdateMemberPermissionsRequest() // UpdateMemberPermissionsRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.MembersApi.AddMemberToGroup(context.Background(), organizationId, userId).AddUserToGroupRequest(addUserToGroupRequest).Execute()
+ r, err := apiClient.MembersApi.AddMemberToGroup(context.Background(), organizationId, userId).UpdateMemberPermissionsRequest(updateMemberPermissionsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MembersApi.AddMemberToGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -67,7 +70,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **addUserToGroupRequest** | [**AddUserToGroupRequest**](AddUserToGroupRequest.md) | |
+ **updateMemberPermissionsRequest** | [**UpdateMemberPermissionsRequest**](UpdateMemberPermissionsRequest.md) | |
### Return type
@@ -87,6 +90,74 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
+## DeleteInvitation
+
+> DeleteInvitation(ctx, invitationId).Execute()
+
+Delete Invitation
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ invitationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Invitation.
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.MembersApi.DeleteInvitation(context.Background(), invitationId).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `MembersApi.DeleteInvitation``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**invitationId** | **string** | The identifier of the Invitation. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDeleteInvitationRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
## DeleteOrganizationMember
> DeleteOrganizationMember(ctx, organizationId, userId).Execute()
@@ -292,7 +363,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -362,7 +433,147 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## GetPendingInvitations
+
+> []InvitationModel GetPendingInvitations(ctx, productId).Execute()
+
+List Pending Invitations in Product
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ productId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Product.
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.MembersApi.GetPendingInvitations(context.Background(), productId).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `MembersApi.GetPendingInvitations``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `GetPendingInvitations`: []InvitationModel
+ fmt.Fprintf(os.Stdout, "Response from `MembersApi.GetPendingInvitations`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**productId** | **string** | The identifier of the Product. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiGetPendingInvitationsRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+### Return type
+
+[**[]InvitationModel**](InvitationModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## GetPendingInvitationsOrg
+
+> []OrganizationInvitationModel GetPendingInvitationsOrg(ctx, organizationId).Execute()
+
+List Pending Invitations in Organization
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Organization.
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.MembersApi.GetPendingInvitationsOrg(context.Background(), organizationId).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `MembersApi.GetPendingInvitationsOrg``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `GetPendingInvitationsOrg`: []OrganizationInvitationModel
+ fmt.Fprintf(os.Stdout, "Response from `MembersApi.GetPendingInvitationsOrg`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**organizationId** | **string** | The identifier of the Organization. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiGetPendingInvitationsOrgRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+### Return type
+
+[**[]OrganizationInvitationModel**](OrganizationInvitationModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -432,7 +643,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/OrganizationInvitationModel.md b/docs/OrganizationInvitationModel.md
new file mode 100644
index 0000000..4f9b323
--- /dev/null
+++ b/docs/OrganizationInvitationModel.md
@@ -0,0 +1,258 @@
+# OrganizationInvitationModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**InvitationId** | Pointer to **string** | The identifier of the Invitation. | [optional]
+**Email** | Pointer to **NullableString** | The invited user's email address. | [optional]
+**ProductId** | Pointer to **string** | The identifier of the Product the user was invited to. | [optional]
+**ProductName** | Pointer to **NullableString** | The name of the Product the user was invited to. | [optional]
+**PermissionGroupId** | Pointer to **int64** | The identifier of the Permission Group the user was invited to. | [optional]
+**CreatedAt** | Pointer to **time.Time** | Creation time of the Invitation. | [optional]
+**Expired** | Pointer to **bool** | Determines whether the Invitation is expired. | [optional]
+**Expires** | Pointer to **time.Time** | Expiration time of the Invitation. | [optional]
+
+## Methods
+
+### NewOrganizationInvitationModel
+
+`func NewOrganizationInvitationModel() *OrganizationInvitationModel`
+
+NewOrganizationInvitationModel instantiates a new OrganizationInvitationModel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewOrganizationInvitationModelWithDefaults
+
+`func NewOrganizationInvitationModelWithDefaults() *OrganizationInvitationModel`
+
+NewOrganizationInvitationModelWithDefaults instantiates a new OrganizationInvitationModel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetInvitationId
+
+`func (o *OrganizationInvitationModel) GetInvitationId() string`
+
+GetInvitationId returns the InvitationId field if non-nil, zero value otherwise.
+
+### GetInvitationIdOk
+
+`func (o *OrganizationInvitationModel) GetInvitationIdOk() (*string, bool)`
+
+GetInvitationIdOk returns a tuple with the InvitationId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetInvitationId
+
+`func (o *OrganizationInvitationModel) SetInvitationId(v string)`
+
+SetInvitationId sets InvitationId field to given value.
+
+### HasInvitationId
+
+`func (o *OrganizationInvitationModel) HasInvitationId() bool`
+
+HasInvitationId returns a boolean if a field has been set.
+
+### GetEmail
+
+`func (o *OrganizationInvitationModel) GetEmail() string`
+
+GetEmail returns the Email field if non-nil, zero value otherwise.
+
+### GetEmailOk
+
+`func (o *OrganizationInvitationModel) GetEmailOk() (*string, bool)`
+
+GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEmail
+
+`func (o *OrganizationInvitationModel) SetEmail(v string)`
+
+SetEmail sets Email field to given value.
+
+### HasEmail
+
+`func (o *OrganizationInvitationModel) HasEmail() bool`
+
+HasEmail returns a boolean if a field has been set.
+
+### SetEmailNil
+
+`func (o *OrganizationInvitationModel) SetEmailNil(b bool)`
+
+ SetEmailNil sets the value for Email to be an explicit nil
+
+### UnsetEmail
+`func (o *OrganizationInvitationModel) UnsetEmail()`
+
+UnsetEmail ensures that no value is present for Email, not even an explicit nil
+### GetProductId
+
+`func (o *OrganizationInvitationModel) GetProductId() string`
+
+GetProductId returns the ProductId field if non-nil, zero value otherwise.
+
+### GetProductIdOk
+
+`func (o *OrganizationInvitationModel) GetProductIdOk() (*string, bool)`
+
+GetProductIdOk returns a tuple with the ProductId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetProductId
+
+`func (o *OrganizationInvitationModel) SetProductId(v string)`
+
+SetProductId sets ProductId field to given value.
+
+### HasProductId
+
+`func (o *OrganizationInvitationModel) HasProductId() bool`
+
+HasProductId returns a boolean if a field has been set.
+
+### GetProductName
+
+`func (o *OrganizationInvitationModel) GetProductName() string`
+
+GetProductName returns the ProductName field if non-nil, zero value otherwise.
+
+### GetProductNameOk
+
+`func (o *OrganizationInvitationModel) GetProductNameOk() (*string, bool)`
+
+GetProductNameOk returns a tuple with the ProductName field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetProductName
+
+`func (o *OrganizationInvitationModel) SetProductName(v string)`
+
+SetProductName sets ProductName field to given value.
+
+### HasProductName
+
+`func (o *OrganizationInvitationModel) HasProductName() bool`
+
+HasProductName returns a boolean if a field has been set.
+
+### SetProductNameNil
+
+`func (o *OrganizationInvitationModel) SetProductNameNil(b bool)`
+
+ SetProductNameNil sets the value for ProductName to be an explicit nil
+
+### UnsetProductName
+`func (o *OrganizationInvitationModel) UnsetProductName()`
+
+UnsetProductName ensures that no value is present for ProductName, not even an explicit nil
+### GetPermissionGroupId
+
+`func (o *OrganizationInvitationModel) GetPermissionGroupId() int64`
+
+GetPermissionGroupId returns the PermissionGroupId field if non-nil, zero value otherwise.
+
+### GetPermissionGroupIdOk
+
+`func (o *OrganizationInvitationModel) GetPermissionGroupIdOk() (*int64, bool)`
+
+GetPermissionGroupIdOk returns a tuple with the PermissionGroupId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPermissionGroupId
+
+`func (o *OrganizationInvitationModel) SetPermissionGroupId(v int64)`
+
+SetPermissionGroupId sets PermissionGroupId field to given value.
+
+### HasPermissionGroupId
+
+`func (o *OrganizationInvitationModel) HasPermissionGroupId() bool`
+
+HasPermissionGroupId returns a boolean if a field has been set.
+
+### GetCreatedAt
+
+`func (o *OrganizationInvitationModel) GetCreatedAt() time.Time`
+
+GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
+
+### GetCreatedAtOk
+
+`func (o *OrganizationInvitationModel) GetCreatedAtOk() (*time.Time, bool)`
+
+GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCreatedAt
+
+`func (o *OrganizationInvitationModel) SetCreatedAt(v time.Time)`
+
+SetCreatedAt sets CreatedAt field to given value.
+
+### HasCreatedAt
+
+`func (o *OrganizationInvitationModel) HasCreatedAt() bool`
+
+HasCreatedAt returns a boolean if a field has been set.
+
+### GetExpired
+
+`func (o *OrganizationInvitationModel) GetExpired() bool`
+
+GetExpired returns the Expired field if non-nil, zero value otherwise.
+
+### GetExpiredOk
+
+`func (o *OrganizationInvitationModel) GetExpiredOk() (*bool, bool)`
+
+GetExpiredOk returns a tuple with the Expired field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetExpired
+
+`func (o *OrganizationInvitationModel) SetExpired(v bool)`
+
+SetExpired sets Expired field to given value.
+
+### HasExpired
+
+`func (o *OrganizationInvitationModel) HasExpired() bool`
+
+HasExpired returns a boolean if a field has been set.
+
+### GetExpires
+
+`func (o *OrganizationInvitationModel) GetExpires() time.Time`
+
+GetExpires returns the Expires field if non-nil, zero value otherwise.
+
+### GetExpiresOk
+
+`func (o *OrganizationInvitationModel) GetExpiresOk() (*time.Time, bool)`
+
+GetExpiresOk returns a tuple with the Expires field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetExpires
+
+`func (o *OrganizationInvitationModel) SetExpires(v time.Time)`
+
+SetExpires sets Expires field to given value.
+
+### HasExpires
+
+`func (o *OrganizationInvitationModel) HasExpires() bool`
+
+HasExpires returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/OrganizationInvitationModelLinks.md b/docs/OrganizationInvitationModelLinks.md
new file mode 100644
index 0000000..b4b1252
--- /dev/null
+++ b/docs/OrganizationInvitationModelLinks.md
@@ -0,0 +1,82 @@
+# OrganizationInvitationModelLinks
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Product** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**PermissionGroup** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+
+## Methods
+
+### NewOrganizationInvitationModelLinks
+
+`func NewOrganizationInvitationModelLinks() *OrganizationInvitationModelLinks`
+
+NewOrganizationInvitationModelLinks instantiates a new OrganizationInvitationModelLinks object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewOrganizationInvitationModelLinksWithDefaults
+
+`func NewOrganizationInvitationModelLinksWithDefaults() *OrganizationInvitationModelLinks`
+
+NewOrganizationInvitationModelLinksWithDefaults instantiates a new OrganizationInvitationModelLinks object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetProduct
+
+`func (o *OrganizationInvitationModelLinks) GetProduct() ConfigModelLinksSelf`
+
+GetProduct returns the Product field if non-nil, zero value otherwise.
+
+### GetProductOk
+
+`func (o *OrganizationInvitationModelLinks) GetProductOk() (*ConfigModelLinksSelf, bool)`
+
+GetProductOk returns a tuple with the Product field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetProduct
+
+`func (o *OrganizationInvitationModelLinks) SetProduct(v ConfigModelLinksSelf)`
+
+SetProduct sets Product field to given value.
+
+### HasProduct
+
+`func (o *OrganizationInvitationModelLinks) HasProduct() bool`
+
+HasProduct returns a boolean if a field has been set.
+
+### GetPermissionGroup
+
+`func (o *OrganizationInvitationModelLinks) GetPermissionGroup() ConfigModelLinksSelf`
+
+GetPermissionGroup returns the PermissionGroup field if non-nil, zero value otherwise.
+
+### GetPermissionGroupOk
+
+`func (o *OrganizationInvitationModelLinks) GetPermissionGroupOk() (*ConfigModelLinksSelf, bool)`
+
+GetPermissionGroupOk returns a tuple with the PermissionGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPermissionGroup
+
+`func (o *OrganizationInvitationModelLinks) SetPermissionGroup(v ConfigModelLinksSelf)`
+
+SetPermissionGroup sets PermissionGroup field to given value.
+
+### HasPermissionGroup
+
+`func (o *OrganizationInvitationModelLinks) HasPermissionGroup() bool`
+
+HasPermissionGroup returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/OrganizationMembersModel.md b/docs/OrganizationMembersModel.md
index 327cde8..56dec09 100644
--- a/docs/OrganizationMembersModel.md
+++ b/docs/OrganizationMembersModel.md
@@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Admins** | Pointer to [**[]OrganizationAdminModel**](OrganizationAdminModel.md) | List of Organization Admins. | [optional]
+**BillingManagers** | Pointer to [**[]OrganizationAdminModel**](OrganizationAdminModel.md) | List of Billing Managers. | [optional]
**Members** | Pointer to [**[]OrganizationMemberModel**](OrganizationMemberModel.md) | List of Organization Members. | [optional]
## Methods
@@ -61,6 +62,41 @@ HasAdmins returns a boolean if a field has been set.
`func (o *OrganizationMembersModel) UnsetAdmins()`
UnsetAdmins ensures that no value is present for Admins, not even an explicit nil
+### GetBillingManagers
+
+`func (o *OrganizationMembersModel) GetBillingManagers() []OrganizationAdminModel`
+
+GetBillingManagers returns the BillingManagers field if non-nil, zero value otherwise.
+
+### GetBillingManagersOk
+
+`func (o *OrganizationMembersModel) GetBillingManagersOk() (*[]OrganizationAdminModel, bool)`
+
+GetBillingManagersOk returns a tuple with the BillingManagers field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetBillingManagers
+
+`func (o *OrganizationMembersModel) SetBillingManagers(v []OrganizationAdminModel)`
+
+SetBillingManagers sets BillingManagers field to given value.
+
+### HasBillingManagers
+
+`func (o *OrganizationMembersModel) HasBillingManagers() bool`
+
+HasBillingManagers returns a boolean if a field has been set.
+
+### SetBillingManagersNil
+
+`func (o *OrganizationMembersModel) SetBillingManagersNil(b bool)`
+
+ SetBillingManagersNil sets the value for BillingManagers to be an explicit nil
+
+### UnsetBillingManagers
+`func (o *OrganizationMembersModel) UnsetBillingManagers()`
+
+UnsetBillingManagers ensures that no value is present for BillingManagers, not even an explicit nil
### GetMembers
`func (o *OrganizationMembersModel) GetMembers() []OrganizationMemberModel`
diff --git a/docs/OrganizationModelLinks.md b/docs/OrganizationModelLinks.md
new file mode 100644
index 0000000..016d3c6
--- /dev/null
+++ b/docs/OrganizationModelLinks.md
@@ -0,0 +1,108 @@
+# OrganizationModelLinks
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Products** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Invitations** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Members** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+
+## Methods
+
+### NewOrganizationModelLinks
+
+`func NewOrganizationModelLinks() *OrganizationModelLinks`
+
+NewOrganizationModelLinks instantiates a new OrganizationModelLinks object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewOrganizationModelLinksWithDefaults
+
+`func NewOrganizationModelLinksWithDefaults() *OrganizationModelLinks`
+
+NewOrganizationModelLinksWithDefaults instantiates a new OrganizationModelLinks object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetProducts
+
+`func (o *OrganizationModelLinks) GetProducts() ConfigModelLinksSelf`
+
+GetProducts returns the Products field if non-nil, zero value otherwise.
+
+### GetProductsOk
+
+`func (o *OrganizationModelLinks) GetProductsOk() (*ConfigModelLinksSelf, bool)`
+
+GetProductsOk returns a tuple with the Products field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetProducts
+
+`func (o *OrganizationModelLinks) SetProducts(v ConfigModelLinksSelf)`
+
+SetProducts sets Products field to given value.
+
+### HasProducts
+
+`func (o *OrganizationModelLinks) HasProducts() bool`
+
+HasProducts returns a boolean if a field has been set.
+
+### GetInvitations
+
+`func (o *OrganizationModelLinks) GetInvitations() ConfigModelLinksSelf`
+
+GetInvitations returns the Invitations field if non-nil, zero value otherwise.
+
+### GetInvitationsOk
+
+`func (o *OrganizationModelLinks) GetInvitationsOk() (*ConfigModelLinksSelf, bool)`
+
+GetInvitationsOk returns a tuple with the Invitations field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetInvitations
+
+`func (o *OrganizationModelLinks) SetInvitations(v ConfigModelLinksSelf)`
+
+SetInvitations sets Invitations field to given value.
+
+### HasInvitations
+
+`func (o *OrganizationModelLinks) HasInvitations() bool`
+
+HasInvitations returns a boolean if a field has been set.
+
+### GetMembers
+
+`func (o *OrganizationModelLinks) GetMembers() ConfigModelLinksSelf`
+
+GetMembers returns the Members field if non-nil, zero value otherwise.
+
+### GetMembersOk
+
+`func (o *OrganizationModelLinks) GetMembersOk() (*ConfigModelLinksSelf, bool)`
+
+GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetMembers
+
+`func (o *OrganizationModelLinks) SetMembers(v ConfigModelLinksSelf)`
+
+SetMembers sets Members field to given value.
+
+### HasMembers
+
+`func (o *OrganizationModelLinks) HasMembers() bool`
+
+HasMembers returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/OrganizationsApi.md b/docs/OrganizationsApi.md
index eaf4f7c..69bd897 100644
--- a/docs/OrganizationsApi.md
+++ b/docs/OrganizationsApi.md
@@ -62,7 +62,7 @@ Other parameters are passed through a pointer to a apiGetOrganizationsRequest st
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/PermissionGroupsApi.md b/docs/PermissionGroupsApi.md
index f1d2dec..2239c0c 100644
--- a/docs/PermissionGroupsApi.md
+++ b/docs/PermissionGroupsApi.md
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -215,7 +215,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -285,7 +285,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -357,7 +357,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/PreferencesModel.md b/docs/PreferencesModel.md
new file mode 100644
index 0000000..16eff28
--- /dev/null
+++ b/docs/PreferencesModel.md
@@ -0,0 +1,170 @@
+# PreferencesModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ReasonRequired** | Pointer to **bool** | Indicates that a mandatory note required for saving and publishing. | [optional]
+**KeyGenerationMode** | Pointer to [**KeyGenerationMode**](KeyGenerationMode.md) | | [optional]
+**ShowVariationId** | Pointer to **bool** | Indicates whether a variation ID's must be shown on the ConfigCat Dashboard. | [optional]
+**ReasonRequiredEnvironments** | Pointer to [**[]ReasonRequiredEnvironmentModel**](ReasonRequiredEnvironmentModel.md) | List of Environments where mandatory note must be set before saving and publishing. | [optional]
+**MandatorySettingHint** | Pointer to **bool** | Indicates whether Feature flags and Settings must have a hint. | [optional]
+
+## Methods
+
+### NewPreferencesModel
+
+`func NewPreferencesModel() *PreferencesModel`
+
+NewPreferencesModel instantiates a new PreferencesModel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPreferencesModelWithDefaults
+
+`func NewPreferencesModelWithDefaults() *PreferencesModel`
+
+NewPreferencesModelWithDefaults instantiates a new PreferencesModel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetReasonRequired
+
+`func (o *PreferencesModel) GetReasonRequired() bool`
+
+GetReasonRequired returns the ReasonRequired field if non-nil, zero value otherwise.
+
+### GetReasonRequiredOk
+
+`func (o *PreferencesModel) GetReasonRequiredOk() (*bool, bool)`
+
+GetReasonRequiredOk returns a tuple with the ReasonRequired field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetReasonRequired
+
+`func (o *PreferencesModel) SetReasonRequired(v bool)`
+
+SetReasonRequired sets ReasonRequired field to given value.
+
+### HasReasonRequired
+
+`func (o *PreferencesModel) HasReasonRequired() bool`
+
+HasReasonRequired returns a boolean if a field has been set.
+
+### GetKeyGenerationMode
+
+`func (o *PreferencesModel) GetKeyGenerationMode() KeyGenerationMode`
+
+GetKeyGenerationMode returns the KeyGenerationMode field if non-nil, zero value otherwise.
+
+### GetKeyGenerationModeOk
+
+`func (o *PreferencesModel) GetKeyGenerationModeOk() (*KeyGenerationMode, bool)`
+
+GetKeyGenerationModeOk returns a tuple with the KeyGenerationMode field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetKeyGenerationMode
+
+`func (o *PreferencesModel) SetKeyGenerationMode(v KeyGenerationMode)`
+
+SetKeyGenerationMode sets KeyGenerationMode field to given value.
+
+### HasKeyGenerationMode
+
+`func (o *PreferencesModel) HasKeyGenerationMode() bool`
+
+HasKeyGenerationMode returns a boolean if a field has been set.
+
+### GetShowVariationId
+
+`func (o *PreferencesModel) GetShowVariationId() bool`
+
+GetShowVariationId returns the ShowVariationId field if non-nil, zero value otherwise.
+
+### GetShowVariationIdOk
+
+`func (o *PreferencesModel) GetShowVariationIdOk() (*bool, bool)`
+
+GetShowVariationIdOk returns a tuple with the ShowVariationId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetShowVariationId
+
+`func (o *PreferencesModel) SetShowVariationId(v bool)`
+
+SetShowVariationId sets ShowVariationId field to given value.
+
+### HasShowVariationId
+
+`func (o *PreferencesModel) HasShowVariationId() bool`
+
+HasShowVariationId returns a boolean if a field has been set.
+
+### GetReasonRequiredEnvironments
+
+`func (o *PreferencesModel) GetReasonRequiredEnvironments() []ReasonRequiredEnvironmentModel`
+
+GetReasonRequiredEnvironments returns the ReasonRequiredEnvironments field if non-nil, zero value otherwise.
+
+### GetReasonRequiredEnvironmentsOk
+
+`func (o *PreferencesModel) GetReasonRequiredEnvironmentsOk() (*[]ReasonRequiredEnvironmentModel, bool)`
+
+GetReasonRequiredEnvironmentsOk returns a tuple with the ReasonRequiredEnvironments field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetReasonRequiredEnvironments
+
+`func (o *PreferencesModel) SetReasonRequiredEnvironments(v []ReasonRequiredEnvironmentModel)`
+
+SetReasonRequiredEnvironments sets ReasonRequiredEnvironments field to given value.
+
+### HasReasonRequiredEnvironments
+
+`func (o *PreferencesModel) HasReasonRequiredEnvironments() bool`
+
+HasReasonRequiredEnvironments returns a boolean if a field has been set.
+
+### SetReasonRequiredEnvironmentsNil
+
+`func (o *PreferencesModel) SetReasonRequiredEnvironmentsNil(b bool)`
+
+ SetReasonRequiredEnvironmentsNil sets the value for ReasonRequiredEnvironments to be an explicit nil
+
+### UnsetReasonRequiredEnvironments
+`func (o *PreferencesModel) UnsetReasonRequiredEnvironments()`
+
+UnsetReasonRequiredEnvironments ensures that no value is present for ReasonRequiredEnvironments, not even an explicit nil
+### GetMandatorySettingHint
+
+`func (o *PreferencesModel) GetMandatorySettingHint() bool`
+
+GetMandatorySettingHint returns the MandatorySettingHint field if non-nil, zero value otherwise.
+
+### GetMandatorySettingHintOk
+
+`func (o *PreferencesModel) GetMandatorySettingHintOk() (*bool, bool)`
+
+GetMandatorySettingHintOk returns a tuple with the MandatorySettingHint field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetMandatorySettingHint
+
+`func (o *PreferencesModel) SetMandatorySettingHint(v bool)`
+
+SetMandatorySettingHint sets MandatorySettingHint field to given value.
+
+### HasMandatorySettingHint
+
+`func (o *PreferencesModel) HasMandatorySettingHint() bool`
+
+HasMandatorySettingHint returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ProductModelLinks.md b/docs/ProductModelLinks.md
new file mode 100644
index 0000000..d7c9cdb
--- /dev/null
+++ b/docs/ProductModelLinks.md
@@ -0,0 +1,290 @@
+# ProductModelLinks
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Self** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Configs** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Environments** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Tags** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**PermissionGroups** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Members** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Invitations** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Segments** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Preferences** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Webhooks** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+
+## Methods
+
+### NewProductModelLinks
+
+`func NewProductModelLinks() *ProductModelLinks`
+
+NewProductModelLinks instantiates a new ProductModelLinks object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewProductModelLinksWithDefaults
+
+`func NewProductModelLinksWithDefaults() *ProductModelLinks`
+
+NewProductModelLinksWithDefaults instantiates a new ProductModelLinks object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetSelf
+
+`func (o *ProductModelLinks) GetSelf() ConfigModelLinksSelf`
+
+GetSelf returns the Self field if non-nil, zero value otherwise.
+
+### GetSelfOk
+
+`func (o *ProductModelLinks) GetSelfOk() (*ConfigModelLinksSelf, bool)`
+
+GetSelfOk returns a tuple with the Self field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSelf
+
+`func (o *ProductModelLinks) SetSelf(v ConfigModelLinksSelf)`
+
+SetSelf sets Self field to given value.
+
+### HasSelf
+
+`func (o *ProductModelLinks) HasSelf() bool`
+
+HasSelf returns a boolean if a field has been set.
+
+### GetConfigs
+
+`func (o *ProductModelLinks) GetConfigs() ConfigModelLinksSelf`
+
+GetConfigs returns the Configs field if non-nil, zero value otherwise.
+
+### GetConfigsOk
+
+`func (o *ProductModelLinks) GetConfigsOk() (*ConfigModelLinksSelf, bool)`
+
+GetConfigsOk returns a tuple with the Configs field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetConfigs
+
+`func (o *ProductModelLinks) SetConfigs(v ConfigModelLinksSelf)`
+
+SetConfigs sets Configs field to given value.
+
+### HasConfigs
+
+`func (o *ProductModelLinks) HasConfigs() bool`
+
+HasConfigs returns a boolean if a field has been set.
+
+### GetEnvironments
+
+`func (o *ProductModelLinks) GetEnvironments() ConfigModelLinksSelf`
+
+GetEnvironments returns the Environments field if non-nil, zero value otherwise.
+
+### GetEnvironmentsOk
+
+`func (o *ProductModelLinks) GetEnvironmentsOk() (*ConfigModelLinksSelf, bool)`
+
+GetEnvironmentsOk returns a tuple with the Environments field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEnvironments
+
+`func (o *ProductModelLinks) SetEnvironments(v ConfigModelLinksSelf)`
+
+SetEnvironments sets Environments field to given value.
+
+### HasEnvironments
+
+`func (o *ProductModelLinks) HasEnvironments() bool`
+
+HasEnvironments returns a boolean if a field has been set.
+
+### GetTags
+
+`func (o *ProductModelLinks) GetTags() ConfigModelLinksSelf`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *ProductModelLinks) GetTagsOk() (*ConfigModelLinksSelf, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *ProductModelLinks) SetTags(v ConfigModelLinksSelf)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *ProductModelLinks) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetPermissionGroups
+
+`func (o *ProductModelLinks) GetPermissionGroups() ConfigModelLinksSelf`
+
+GetPermissionGroups returns the PermissionGroups field if non-nil, zero value otherwise.
+
+### GetPermissionGroupsOk
+
+`func (o *ProductModelLinks) GetPermissionGroupsOk() (*ConfigModelLinksSelf, bool)`
+
+GetPermissionGroupsOk returns a tuple with the PermissionGroups field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPermissionGroups
+
+`func (o *ProductModelLinks) SetPermissionGroups(v ConfigModelLinksSelf)`
+
+SetPermissionGroups sets PermissionGroups field to given value.
+
+### HasPermissionGroups
+
+`func (o *ProductModelLinks) HasPermissionGroups() bool`
+
+HasPermissionGroups returns a boolean if a field has been set.
+
+### GetMembers
+
+`func (o *ProductModelLinks) GetMembers() ConfigModelLinksSelf`
+
+GetMembers returns the Members field if non-nil, zero value otherwise.
+
+### GetMembersOk
+
+`func (o *ProductModelLinks) GetMembersOk() (*ConfigModelLinksSelf, bool)`
+
+GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetMembers
+
+`func (o *ProductModelLinks) SetMembers(v ConfigModelLinksSelf)`
+
+SetMembers sets Members field to given value.
+
+### HasMembers
+
+`func (o *ProductModelLinks) HasMembers() bool`
+
+HasMembers returns a boolean if a field has been set.
+
+### GetInvitations
+
+`func (o *ProductModelLinks) GetInvitations() ConfigModelLinksSelf`
+
+GetInvitations returns the Invitations field if non-nil, zero value otherwise.
+
+### GetInvitationsOk
+
+`func (o *ProductModelLinks) GetInvitationsOk() (*ConfigModelLinksSelf, bool)`
+
+GetInvitationsOk returns a tuple with the Invitations field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetInvitations
+
+`func (o *ProductModelLinks) SetInvitations(v ConfigModelLinksSelf)`
+
+SetInvitations sets Invitations field to given value.
+
+### HasInvitations
+
+`func (o *ProductModelLinks) HasInvitations() bool`
+
+HasInvitations returns a boolean if a field has been set.
+
+### GetSegments
+
+`func (o *ProductModelLinks) GetSegments() ConfigModelLinksSelf`
+
+GetSegments returns the Segments field if non-nil, zero value otherwise.
+
+### GetSegmentsOk
+
+`func (o *ProductModelLinks) GetSegmentsOk() (*ConfigModelLinksSelf, bool)`
+
+GetSegmentsOk returns a tuple with the Segments field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSegments
+
+`func (o *ProductModelLinks) SetSegments(v ConfigModelLinksSelf)`
+
+SetSegments sets Segments field to given value.
+
+### HasSegments
+
+`func (o *ProductModelLinks) HasSegments() bool`
+
+HasSegments returns a boolean if a field has been set.
+
+### GetPreferences
+
+`func (o *ProductModelLinks) GetPreferences() ConfigModelLinksSelf`
+
+GetPreferences returns the Preferences field if non-nil, zero value otherwise.
+
+### GetPreferencesOk
+
+`func (o *ProductModelLinks) GetPreferencesOk() (*ConfigModelLinksSelf, bool)`
+
+GetPreferencesOk returns a tuple with the Preferences field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPreferences
+
+`func (o *ProductModelLinks) SetPreferences(v ConfigModelLinksSelf)`
+
+SetPreferences sets Preferences field to given value.
+
+### HasPreferences
+
+`func (o *ProductModelLinks) HasPreferences() bool`
+
+HasPreferences returns a boolean if a field has been set.
+
+### GetWebhooks
+
+`func (o *ProductModelLinks) GetWebhooks() ConfigModelLinksSelf`
+
+GetWebhooks returns the Webhooks field if non-nil, zero value otherwise.
+
+### GetWebhooksOk
+
+`func (o *ProductModelLinks) GetWebhooksOk() (*ConfigModelLinksSelf, bool)`
+
+GetWebhooksOk returns a tuple with the Webhooks field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWebhooks
+
+`func (o *ProductModelLinks) SetWebhooks(v ConfigModelLinksSelf)`
+
+SetWebhooks sets Webhooks field to given value.
+
+### HasWebhooks
+
+`func (o *ProductModelLinks) HasWebhooks() bool`
+
+HasWebhooks returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ProductsApi.md b/docs/ProductsApi.md
index 621a9d9..d50e6c1 100644
--- a/docs/ProductsApi.md
+++ b/docs/ProductsApi.md
@@ -7,8 +7,10 @@ Method | HTTP request | Description
[**CreateProduct**](ProductsApi.md#CreateProduct) | **Post** /v1/organizations/{organizationId}/products | Create Product
[**DeleteProduct**](ProductsApi.md#DeleteProduct) | **Delete** /v1/products/{productId} | Delete Product
[**GetProduct**](ProductsApi.md#GetProduct) | **Get** /v1/products/{productId} | Get Product
+[**GetProductPreferences**](ProductsApi.md#GetProductPreferences) | **Get** /v1/products/{productId}/preferences | Get Product Preferences
[**GetProducts**](ProductsApi.md#GetProducts) | **Get** /v1/products | List Products
[**UpdateProduct**](ProductsApi.md#UpdateProduct) | **Put** /v1/products/{productId} | Update Product
+[**UpdateProductPreferences**](ProductsApi.md#UpdateProductPreferences) | **Post** /v1/products/{productId}/preferences | Update Product Preferences
@@ -77,7 +79,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -215,7 +217,77 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## GetProductPreferences
+
+> PreferencesModel GetProductPreferences(ctx, productId).Execute()
+
+Get Product Preferences
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ productId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Product.
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ProductsApi.GetProductPreferences(context.Background(), productId).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ProductsApi.GetProductPreferences``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `GetProductPreferences`: PreferencesModel
+ fmt.Fprintf(os.Stdout, "Response from `ProductsApi.GetProductPreferences`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**productId** | **string** | The identifier of the Product. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiGetProductPreferencesRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+### Return type
+
+[**PreferencesModel**](PreferencesModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -276,7 +348,7 @@ Other parameters are passed through a pointer to a apiGetProductsRequest struct
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -348,7 +420,79 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## UpdateProductPreferences
+
+> PreferencesModel UpdateProductPreferences(ctx, productId).UpdatePreferencesRequest(updatePreferencesRequest).Execute()
+
+Update Product Preferences
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ productId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Product.
+ updatePreferencesRequest := *openapiclient.NewUpdatePreferencesRequest() // UpdatePreferencesRequest |
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ProductsApi.UpdateProductPreferences(context.Background(), productId).UpdatePreferencesRequest(updatePreferencesRequest).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ProductsApi.UpdateProductPreferences``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `UpdateProductPreferences`: PreferencesModel
+ fmt.Fprintf(os.Stdout, "Response from `ProductsApi.UpdateProductPreferences`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**productId** | **string** | The identifier of the Product. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiUpdateProductPreferencesRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **updatePreferencesRequest** | [**UpdatePreferencesRequest**](UpdatePreferencesRequest.md) | |
+
+### Return type
+
+[**PreferencesModel**](PreferencesModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/*+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/ReasonRequiredEnvironmentModel.md b/docs/ReasonRequiredEnvironmentModel.md
new file mode 100644
index 0000000..7e33c5c
--- /dev/null
+++ b/docs/ReasonRequiredEnvironmentModel.md
@@ -0,0 +1,118 @@
+# ReasonRequiredEnvironmentModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EnvironmentId** | Pointer to **string** | Identifier of the Environment. | [optional]
+**ReasonRequired** | Pointer to **bool** | Indicates that a mandatory note is required in this Environment for saving and publishing. | [optional]
+**EnvironmentName** | Pointer to **NullableString** | Name of the Environment. | [optional]
+
+## Methods
+
+### NewReasonRequiredEnvironmentModel
+
+`func NewReasonRequiredEnvironmentModel() *ReasonRequiredEnvironmentModel`
+
+NewReasonRequiredEnvironmentModel instantiates a new ReasonRequiredEnvironmentModel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewReasonRequiredEnvironmentModelWithDefaults
+
+`func NewReasonRequiredEnvironmentModelWithDefaults() *ReasonRequiredEnvironmentModel`
+
+NewReasonRequiredEnvironmentModelWithDefaults instantiates a new ReasonRequiredEnvironmentModel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetEnvironmentId
+
+`func (o *ReasonRequiredEnvironmentModel) GetEnvironmentId() string`
+
+GetEnvironmentId returns the EnvironmentId field if non-nil, zero value otherwise.
+
+### GetEnvironmentIdOk
+
+`func (o *ReasonRequiredEnvironmentModel) GetEnvironmentIdOk() (*string, bool)`
+
+GetEnvironmentIdOk returns a tuple with the EnvironmentId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEnvironmentId
+
+`func (o *ReasonRequiredEnvironmentModel) SetEnvironmentId(v string)`
+
+SetEnvironmentId sets EnvironmentId field to given value.
+
+### HasEnvironmentId
+
+`func (o *ReasonRequiredEnvironmentModel) HasEnvironmentId() bool`
+
+HasEnvironmentId returns a boolean if a field has been set.
+
+### GetReasonRequired
+
+`func (o *ReasonRequiredEnvironmentModel) GetReasonRequired() bool`
+
+GetReasonRequired returns the ReasonRequired field if non-nil, zero value otherwise.
+
+### GetReasonRequiredOk
+
+`func (o *ReasonRequiredEnvironmentModel) GetReasonRequiredOk() (*bool, bool)`
+
+GetReasonRequiredOk returns a tuple with the ReasonRequired field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetReasonRequired
+
+`func (o *ReasonRequiredEnvironmentModel) SetReasonRequired(v bool)`
+
+SetReasonRequired sets ReasonRequired field to given value.
+
+### HasReasonRequired
+
+`func (o *ReasonRequiredEnvironmentModel) HasReasonRequired() bool`
+
+HasReasonRequired returns a boolean if a field has been set.
+
+### GetEnvironmentName
+
+`func (o *ReasonRequiredEnvironmentModel) GetEnvironmentName() string`
+
+GetEnvironmentName returns the EnvironmentName field if non-nil, zero value otherwise.
+
+### GetEnvironmentNameOk
+
+`func (o *ReasonRequiredEnvironmentModel) GetEnvironmentNameOk() (*string, bool)`
+
+GetEnvironmentNameOk returns a tuple with the EnvironmentName field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEnvironmentName
+
+`func (o *ReasonRequiredEnvironmentModel) SetEnvironmentName(v string)`
+
+SetEnvironmentName sets EnvironmentName field to given value.
+
+### HasEnvironmentName
+
+`func (o *ReasonRequiredEnvironmentModel) HasEnvironmentName() bool`
+
+HasEnvironmentName returns a boolean if a field has been set.
+
+### SetEnvironmentNameNil
+
+`func (o *ReasonRequiredEnvironmentModel) SetEnvironmentNameNil(b bool)`
+
+ SetEnvironmentNameNil sets the value for EnvironmentName to be an explicit nil
+
+### UnsetEnvironmentName
+`func (o *ReasonRequiredEnvironmentModel) UnsetEnvironmentName()`
+
+UnsetEnvironmentName ensures that no value is present for EnvironmentName, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ReasonRequiredEnvironmentModelLinks.md b/docs/ReasonRequiredEnvironmentModelLinks.md
new file mode 100644
index 0000000..7090b7b
--- /dev/null
+++ b/docs/ReasonRequiredEnvironmentModelLinks.md
@@ -0,0 +1,56 @@
+# ReasonRequiredEnvironmentModelLinks
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Environment** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+
+## Methods
+
+### NewReasonRequiredEnvironmentModelLinks
+
+`func NewReasonRequiredEnvironmentModelLinks() *ReasonRequiredEnvironmentModelLinks`
+
+NewReasonRequiredEnvironmentModelLinks instantiates a new ReasonRequiredEnvironmentModelLinks object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewReasonRequiredEnvironmentModelLinksWithDefaults
+
+`func NewReasonRequiredEnvironmentModelLinksWithDefaults() *ReasonRequiredEnvironmentModelLinks`
+
+NewReasonRequiredEnvironmentModelLinksWithDefaults instantiates a new ReasonRequiredEnvironmentModelLinks object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetEnvironment
+
+`func (o *ReasonRequiredEnvironmentModelLinks) GetEnvironment() ConfigModelLinksSelf`
+
+GetEnvironment returns the Environment field if non-nil, zero value otherwise.
+
+### GetEnvironmentOk
+
+`func (o *ReasonRequiredEnvironmentModelLinks) GetEnvironmentOk() (*ConfigModelLinksSelf, bool)`
+
+GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEnvironment
+
+`func (o *ReasonRequiredEnvironmentModelLinks) SetEnvironment(v ConfigModelLinksSelf)`
+
+SetEnvironment sets Environment field to given value.
+
+### HasEnvironment
+
+`func (o *ReasonRequiredEnvironmentModelLinks) HasEnvironment() bool`
+
+HasEnvironment returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/SDKKeysApi.md b/docs/SDKKeysApi.md
index 76b2ebe..967bb61 100644
--- a/docs/SDKKeysApi.md
+++ b/docs/SDKKeysApi.md
@@ -74,7 +74,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/SegmentsApi.md b/docs/SegmentsApi.md
index e4501e7..6d0c692 100644
--- a/docs/SegmentsApi.md
+++ b/docs/SegmentsApi.md
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -215,7 +215,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -285,7 +285,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -357,7 +357,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/SettingModelLinks.md b/docs/SettingModelLinks.md
new file mode 100644
index 0000000..7951470
--- /dev/null
+++ b/docs/SettingModelLinks.md
@@ -0,0 +1,82 @@
+# SettingModelLinks
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Self** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+**Config** | Pointer to [**ConfigModelLinksSelf**](ConfigModelLinksSelf.md) | | [optional]
+
+## Methods
+
+### NewSettingModelLinks
+
+`func NewSettingModelLinks() *SettingModelLinks`
+
+NewSettingModelLinks instantiates a new SettingModelLinks object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewSettingModelLinksWithDefaults
+
+`func NewSettingModelLinksWithDefaults() *SettingModelLinks`
+
+NewSettingModelLinksWithDefaults instantiates a new SettingModelLinks object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetSelf
+
+`func (o *SettingModelLinks) GetSelf() ConfigModelLinksSelf`
+
+GetSelf returns the Self field if non-nil, zero value otherwise.
+
+### GetSelfOk
+
+`func (o *SettingModelLinks) GetSelfOk() (*ConfigModelLinksSelf, bool)`
+
+GetSelfOk returns a tuple with the Self field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSelf
+
+`func (o *SettingModelLinks) SetSelf(v ConfigModelLinksSelf)`
+
+SetSelf sets Self field to given value.
+
+### HasSelf
+
+`func (o *SettingModelLinks) HasSelf() bool`
+
+HasSelf returns a boolean if a field has been set.
+
+### GetConfig
+
+`func (o *SettingModelLinks) GetConfig() ConfigModelLinksSelf`
+
+GetConfig returns the Config field if non-nil, zero value otherwise.
+
+### GetConfigOk
+
+`func (o *SettingModelLinks) GetConfigOk() (*ConfigModelLinksSelf, bool)`
+
+GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetConfig
+
+`func (o *SettingModelLinks) SetConfig(v ConfigModelLinksSelf)`
+
+SetConfig sets Config field to given value.
+
+### HasConfig
+
+`func (o *SettingModelLinks) HasConfig() bool`
+
+HasConfig returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/TagsApi.md b/docs/TagsApi.md
index d0709fb..f1f96b1 100644
--- a/docs/TagsApi.md
+++ b/docs/TagsApi.md
@@ -78,7 +78,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -216,7 +216,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -286,7 +286,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -356,7 +356,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
@@ -428,7 +428,7 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/json, application/*+json
-- **Accept**: application/json, application/hal+json
+- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
diff --git a/docs/TargetingRuleModel.md b/docs/TargetingRuleModel.md
index e0a184a..6bfdd61 100644
--- a/docs/TargetingRuleModel.md
+++ b/docs/TargetingRuleModel.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Conditions** | Pointer to [**[]ConditionModel**](ConditionModel.md) | The user conditions that are combined with the AND logical operator. It can be one of the following: - User condition - Segment condition - Prerequisite flag condition | [optional]
+**Conditions** | Pointer to [**[]ConditionModel**](ConditionModel.md) | The list of conditions that are combined with logical AND operators. It can be one of the following: - User condition - Segment condition - Prerequisite flag condition | [optional]
**PercentageOptions** | Pointer to [**[]PercentageOptionModel**](PercentageOptionModel.md) | The percentage options from where the evaluation process will choose a value based on the flag's percentage evaluation attribute. | [optional]
**Value** | Pointer to [**ValueModel**](ValueModel.md) | | [optional]
diff --git a/docs/UpdateMemberPermissionsRequest.md b/docs/UpdateMemberPermissionsRequest.md
new file mode 100644
index 0000000..c280f5d
--- /dev/null
+++ b/docs/UpdateMemberPermissionsRequest.md
@@ -0,0 +1,164 @@
+# UpdateMemberPermissionsRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PermissionGroupIds** | Pointer to **[]int64** | List of Permission Group identifiers to where the Member should be added. | [optional]
+**IsAdmin** | Pointer to **NullableBool** | Indicates that the member must be Organization Admin. | [optional]
+**IsBillingManager** | Pointer to **NullableBool** | Indicates that the member must be Billing Manager. | [optional]
+**RemoveFromPermissionGroupsWhereIdNotSet** | Pointer to **bool** | When `true`, the member will be removed from those Permission Groups that are not listed in the `permissionGroupIds` field. | [optional]
+
+## Methods
+
+### NewUpdateMemberPermissionsRequest
+
+`func NewUpdateMemberPermissionsRequest() *UpdateMemberPermissionsRequest`
+
+NewUpdateMemberPermissionsRequest instantiates a new UpdateMemberPermissionsRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewUpdateMemberPermissionsRequestWithDefaults
+
+`func NewUpdateMemberPermissionsRequestWithDefaults() *UpdateMemberPermissionsRequest`
+
+NewUpdateMemberPermissionsRequestWithDefaults instantiates a new UpdateMemberPermissionsRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetPermissionGroupIds
+
+`func (o *UpdateMemberPermissionsRequest) GetPermissionGroupIds() []int64`
+
+GetPermissionGroupIds returns the PermissionGroupIds field if non-nil, zero value otherwise.
+
+### GetPermissionGroupIdsOk
+
+`func (o *UpdateMemberPermissionsRequest) GetPermissionGroupIdsOk() (*[]int64, bool)`
+
+GetPermissionGroupIdsOk returns a tuple with the PermissionGroupIds field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPermissionGroupIds
+
+`func (o *UpdateMemberPermissionsRequest) SetPermissionGroupIds(v []int64)`
+
+SetPermissionGroupIds sets PermissionGroupIds field to given value.
+
+### HasPermissionGroupIds
+
+`func (o *UpdateMemberPermissionsRequest) HasPermissionGroupIds() bool`
+
+HasPermissionGroupIds returns a boolean if a field has been set.
+
+### SetPermissionGroupIdsNil
+
+`func (o *UpdateMemberPermissionsRequest) SetPermissionGroupIdsNil(b bool)`
+
+ SetPermissionGroupIdsNil sets the value for PermissionGroupIds to be an explicit nil
+
+### UnsetPermissionGroupIds
+`func (o *UpdateMemberPermissionsRequest) UnsetPermissionGroupIds()`
+
+UnsetPermissionGroupIds ensures that no value is present for PermissionGroupIds, not even an explicit nil
+### GetIsAdmin
+
+`func (o *UpdateMemberPermissionsRequest) GetIsAdmin() bool`
+
+GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
+
+### GetIsAdminOk
+
+`func (o *UpdateMemberPermissionsRequest) GetIsAdminOk() (*bool, bool)`
+
+GetIsAdminOk returns a tuple with the IsAdmin field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsAdmin
+
+`func (o *UpdateMemberPermissionsRequest) SetIsAdmin(v bool)`
+
+SetIsAdmin sets IsAdmin field to given value.
+
+### HasIsAdmin
+
+`func (o *UpdateMemberPermissionsRequest) HasIsAdmin() bool`
+
+HasIsAdmin returns a boolean if a field has been set.
+
+### SetIsAdminNil
+
+`func (o *UpdateMemberPermissionsRequest) SetIsAdminNil(b bool)`
+
+ SetIsAdminNil sets the value for IsAdmin to be an explicit nil
+
+### UnsetIsAdmin
+`func (o *UpdateMemberPermissionsRequest) UnsetIsAdmin()`
+
+UnsetIsAdmin ensures that no value is present for IsAdmin, not even an explicit nil
+### GetIsBillingManager
+
+`func (o *UpdateMemberPermissionsRequest) GetIsBillingManager() bool`
+
+GetIsBillingManager returns the IsBillingManager field if non-nil, zero value otherwise.
+
+### GetIsBillingManagerOk
+
+`func (o *UpdateMemberPermissionsRequest) GetIsBillingManagerOk() (*bool, bool)`
+
+GetIsBillingManagerOk returns a tuple with the IsBillingManager field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsBillingManager
+
+`func (o *UpdateMemberPermissionsRequest) SetIsBillingManager(v bool)`
+
+SetIsBillingManager sets IsBillingManager field to given value.
+
+### HasIsBillingManager
+
+`func (o *UpdateMemberPermissionsRequest) HasIsBillingManager() bool`
+
+HasIsBillingManager returns a boolean if a field has been set.
+
+### SetIsBillingManagerNil
+
+`func (o *UpdateMemberPermissionsRequest) SetIsBillingManagerNil(b bool)`
+
+ SetIsBillingManagerNil sets the value for IsBillingManager to be an explicit nil
+
+### UnsetIsBillingManager
+`func (o *UpdateMemberPermissionsRequest) UnsetIsBillingManager()`
+
+UnsetIsBillingManager ensures that no value is present for IsBillingManager, not even an explicit nil
+### GetRemoveFromPermissionGroupsWhereIdNotSet
+
+`func (o *UpdateMemberPermissionsRequest) GetRemoveFromPermissionGroupsWhereIdNotSet() bool`
+
+GetRemoveFromPermissionGroupsWhereIdNotSet returns the RemoveFromPermissionGroupsWhereIdNotSet field if non-nil, zero value otherwise.
+
+### GetRemoveFromPermissionGroupsWhereIdNotSetOk
+
+`func (o *UpdateMemberPermissionsRequest) GetRemoveFromPermissionGroupsWhereIdNotSetOk() (*bool, bool)`
+
+GetRemoveFromPermissionGroupsWhereIdNotSetOk returns a tuple with the RemoveFromPermissionGroupsWhereIdNotSet field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRemoveFromPermissionGroupsWhereIdNotSet
+
+`func (o *UpdateMemberPermissionsRequest) SetRemoveFromPermissionGroupsWhereIdNotSet(v bool)`
+
+SetRemoveFromPermissionGroupsWhereIdNotSet sets RemoveFromPermissionGroupsWhereIdNotSet field to given value.
+
+### HasRemoveFromPermissionGroupsWhereIdNotSet
+
+`func (o *UpdateMemberPermissionsRequest) HasRemoveFromPermissionGroupsWhereIdNotSet() bool`
+
+HasRemoveFromPermissionGroupsWhereIdNotSet returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdatePreferencesRequest.md b/docs/UpdatePreferencesRequest.md
new file mode 100644
index 0000000..80fffa1
--- /dev/null
+++ b/docs/UpdatePreferencesRequest.md
@@ -0,0 +1,200 @@
+# UpdatePreferencesRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ReasonRequired** | Pointer to **NullableBool** | Indicates that a mandatory note is required for saving and publishing. | [optional]
+**KeyGenerationMode** | Pointer to [**KeyGenerationMode**](KeyGenerationMode.md) | | [optional]
+**ShowVariationId** | Pointer to **NullableBool** | Indicates whether a variation ID's must be shown on the ConfigCat Dashboard. | [optional]
+**MandatorySettingHint** | Pointer to **NullableBool** | Indicates whether Feature flags and Settings must have a hint. | [optional]
+**ReasonRequiredEnvironments** | Pointer to [**[]UpdateReasonRequiredEnvironmentModel**](UpdateReasonRequiredEnvironmentModel.md) | List of Environments where mandatory note must be set before saving and publishing. | [optional]
+
+## Methods
+
+### NewUpdatePreferencesRequest
+
+`func NewUpdatePreferencesRequest() *UpdatePreferencesRequest`
+
+NewUpdatePreferencesRequest instantiates a new UpdatePreferencesRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewUpdatePreferencesRequestWithDefaults
+
+`func NewUpdatePreferencesRequestWithDefaults() *UpdatePreferencesRequest`
+
+NewUpdatePreferencesRequestWithDefaults instantiates a new UpdatePreferencesRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetReasonRequired
+
+`func (o *UpdatePreferencesRequest) GetReasonRequired() bool`
+
+GetReasonRequired returns the ReasonRequired field if non-nil, zero value otherwise.
+
+### GetReasonRequiredOk
+
+`func (o *UpdatePreferencesRequest) GetReasonRequiredOk() (*bool, bool)`
+
+GetReasonRequiredOk returns a tuple with the ReasonRequired field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetReasonRequired
+
+`func (o *UpdatePreferencesRequest) SetReasonRequired(v bool)`
+
+SetReasonRequired sets ReasonRequired field to given value.
+
+### HasReasonRequired
+
+`func (o *UpdatePreferencesRequest) HasReasonRequired() bool`
+
+HasReasonRequired returns a boolean if a field has been set.
+
+### SetReasonRequiredNil
+
+`func (o *UpdatePreferencesRequest) SetReasonRequiredNil(b bool)`
+
+ SetReasonRequiredNil sets the value for ReasonRequired to be an explicit nil
+
+### UnsetReasonRequired
+`func (o *UpdatePreferencesRequest) UnsetReasonRequired()`
+
+UnsetReasonRequired ensures that no value is present for ReasonRequired, not even an explicit nil
+### GetKeyGenerationMode
+
+`func (o *UpdatePreferencesRequest) GetKeyGenerationMode() KeyGenerationMode`
+
+GetKeyGenerationMode returns the KeyGenerationMode field if non-nil, zero value otherwise.
+
+### GetKeyGenerationModeOk
+
+`func (o *UpdatePreferencesRequest) GetKeyGenerationModeOk() (*KeyGenerationMode, bool)`
+
+GetKeyGenerationModeOk returns a tuple with the KeyGenerationMode field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetKeyGenerationMode
+
+`func (o *UpdatePreferencesRequest) SetKeyGenerationMode(v KeyGenerationMode)`
+
+SetKeyGenerationMode sets KeyGenerationMode field to given value.
+
+### HasKeyGenerationMode
+
+`func (o *UpdatePreferencesRequest) HasKeyGenerationMode() bool`
+
+HasKeyGenerationMode returns a boolean if a field has been set.
+
+### GetShowVariationId
+
+`func (o *UpdatePreferencesRequest) GetShowVariationId() bool`
+
+GetShowVariationId returns the ShowVariationId field if non-nil, zero value otherwise.
+
+### GetShowVariationIdOk
+
+`func (o *UpdatePreferencesRequest) GetShowVariationIdOk() (*bool, bool)`
+
+GetShowVariationIdOk returns a tuple with the ShowVariationId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetShowVariationId
+
+`func (o *UpdatePreferencesRequest) SetShowVariationId(v bool)`
+
+SetShowVariationId sets ShowVariationId field to given value.
+
+### HasShowVariationId
+
+`func (o *UpdatePreferencesRequest) HasShowVariationId() bool`
+
+HasShowVariationId returns a boolean if a field has been set.
+
+### SetShowVariationIdNil
+
+`func (o *UpdatePreferencesRequest) SetShowVariationIdNil(b bool)`
+
+ SetShowVariationIdNil sets the value for ShowVariationId to be an explicit nil
+
+### UnsetShowVariationId
+`func (o *UpdatePreferencesRequest) UnsetShowVariationId()`
+
+UnsetShowVariationId ensures that no value is present for ShowVariationId, not even an explicit nil
+### GetMandatorySettingHint
+
+`func (o *UpdatePreferencesRequest) GetMandatorySettingHint() bool`
+
+GetMandatorySettingHint returns the MandatorySettingHint field if non-nil, zero value otherwise.
+
+### GetMandatorySettingHintOk
+
+`func (o *UpdatePreferencesRequest) GetMandatorySettingHintOk() (*bool, bool)`
+
+GetMandatorySettingHintOk returns a tuple with the MandatorySettingHint field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetMandatorySettingHint
+
+`func (o *UpdatePreferencesRequest) SetMandatorySettingHint(v bool)`
+
+SetMandatorySettingHint sets MandatorySettingHint field to given value.
+
+### HasMandatorySettingHint
+
+`func (o *UpdatePreferencesRequest) HasMandatorySettingHint() bool`
+
+HasMandatorySettingHint returns a boolean if a field has been set.
+
+### SetMandatorySettingHintNil
+
+`func (o *UpdatePreferencesRequest) SetMandatorySettingHintNil(b bool)`
+
+ SetMandatorySettingHintNil sets the value for MandatorySettingHint to be an explicit nil
+
+### UnsetMandatorySettingHint
+`func (o *UpdatePreferencesRequest) UnsetMandatorySettingHint()`
+
+UnsetMandatorySettingHint ensures that no value is present for MandatorySettingHint, not even an explicit nil
+### GetReasonRequiredEnvironments
+
+`func (o *UpdatePreferencesRequest) GetReasonRequiredEnvironments() []UpdateReasonRequiredEnvironmentModel`
+
+GetReasonRequiredEnvironments returns the ReasonRequiredEnvironments field if non-nil, zero value otherwise.
+
+### GetReasonRequiredEnvironmentsOk
+
+`func (o *UpdatePreferencesRequest) GetReasonRequiredEnvironmentsOk() (*[]UpdateReasonRequiredEnvironmentModel, bool)`
+
+GetReasonRequiredEnvironmentsOk returns a tuple with the ReasonRequiredEnvironments field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetReasonRequiredEnvironments
+
+`func (o *UpdatePreferencesRequest) SetReasonRequiredEnvironments(v []UpdateReasonRequiredEnvironmentModel)`
+
+SetReasonRequiredEnvironments sets ReasonRequiredEnvironments field to given value.
+
+### HasReasonRequiredEnvironments
+
+`func (o *UpdatePreferencesRequest) HasReasonRequiredEnvironments() bool`
+
+HasReasonRequiredEnvironments returns a boolean if a field has been set.
+
+### SetReasonRequiredEnvironmentsNil
+
+`func (o *UpdatePreferencesRequest) SetReasonRequiredEnvironmentsNil(b bool)`
+
+ SetReasonRequiredEnvironmentsNil sets the value for ReasonRequiredEnvironments to be an explicit nil
+
+### UnsetReasonRequiredEnvironments
+`func (o *UpdatePreferencesRequest) UnsetReasonRequiredEnvironments()`
+
+UnsetReasonRequiredEnvironments ensures that no value is present for ReasonRequiredEnvironments, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/UpdateReasonRequiredEnvironmentModel.md b/docs/UpdateReasonRequiredEnvironmentModel.md
new file mode 100644
index 0000000..03c0bf1
--- /dev/null
+++ b/docs/UpdateReasonRequiredEnvironmentModel.md
@@ -0,0 +1,82 @@
+# UpdateReasonRequiredEnvironmentModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EnvironmentId** | Pointer to **string** | Identifier of the Environment. | [optional]
+**ReasonRequired** | Pointer to **bool** | Indicates that a mandatory note is required in this Environment for saving and publishing. | [optional]
+
+## Methods
+
+### NewUpdateReasonRequiredEnvironmentModel
+
+`func NewUpdateReasonRequiredEnvironmentModel() *UpdateReasonRequiredEnvironmentModel`
+
+NewUpdateReasonRequiredEnvironmentModel instantiates a new UpdateReasonRequiredEnvironmentModel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewUpdateReasonRequiredEnvironmentModelWithDefaults
+
+`func NewUpdateReasonRequiredEnvironmentModelWithDefaults() *UpdateReasonRequiredEnvironmentModel`
+
+NewUpdateReasonRequiredEnvironmentModelWithDefaults instantiates a new UpdateReasonRequiredEnvironmentModel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetEnvironmentId
+
+`func (o *UpdateReasonRequiredEnvironmentModel) GetEnvironmentId() string`
+
+GetEnvironmentId returns the EnvironmentId field if non-nil, zero value otherwise.
+
+### GetEnvironmentIdOk
+
+`func (o *UpdateReasonRequiredEnvironmentModel) GetEnvironmentIdOk() (*string, bool)`
+
+GetEnvironmentIdOk returns a tuple with the EnvironmentId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEnvironmentId
+
+`func (o *UpdateReasonRequiredEnvironmentModel) SetEnvironmentId(v string)`
+
+SetEnvironmentId sets EnvironmentId field to given value.
+
+### HasEnvironmentId
+
+`func (o *UpdateReasonRequiredEnvironmentModel) HasEnvironmentId() bool`
+
+HasEnvironmentId returns a boolean if a field has been set.
+
+### GetReasonRequired
+
+`func (o *UpdateReasonRequiredEnvironmentModel) GetReasonRequired() bool`
+
+GetReasonRequired returns the ReasonRequired field if non-nil, zero value otherwise.
+
+### GetReasonRequiredOk
+
+`func (o *UpdateReasonRequiredEnvironmentModel) GetReasonRequiredOk() (*bool, bool)`
+
+GetReasonRequiredOk returns a tuple with the ReasonRequired field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetReasonRequired
+
+`func (o *UpdateReasonRequiredEnvironmentModel) SetReasonRequired(v bool)`
+
+SetReasonRequired sets ReasonRequired field to given value.
+
+### HasReasonRequired
+
+`func (o *UpdateReasonRequiredEnvironmentModel) HasReasonRequired() bool`
+
+HasReasonRequired returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/WebHookHttpMethod.md b/docs/WebHookHttpMethod.md
new file mode 100644
index 0000000..0cf6953
--- /dev/null
+++ b/docs/WebHookHttpMethod.md
@@ -0,0 +1,13 @@
+# WebHookHttpMethod
+
+## Enum
+
+
+* `GET` (value: `"get"`)
+
+* `POST` (value: `"post"`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/WebhookHeaderModel.md b/docs/WebhookHeaderModel.md
new file mode 100644
index 0000000..62d76ed
--- /dev/null
+++ b/docs/WebhookHeaderModel.md
@@ -0,0 +1,98 @@
+# WebhookHeaderModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Key** | **string** | The HTTP header key. |
+**Value** | **string** | The HTTP header value. |
+**IsSecure** | Pointer to **bool** | Indicates whether the header value is sensitive. | [optional]
+
+## Methods
+
+### NewWebhookHeaderModel
+
+`func NewWebhookHeaderModel(key string, value string, ) *WebhookHeaderModel`
+
+NewWebhookHeaderModel instantiates a new WebhookHeaderModel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewWebhookHeaderModelWithDefaults
+
+`func NewWebhookHeaderModelWithDefaults() *WebhookHeaderModel`
+
+NewWebhookHeaderModelWithDefaults instantiates a new WebhookHeaderModel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetKey
+
+`func (o *WebhookHeaderModel) GetKey() string`
+
+GetKey returns the Key field if non-nil, zero value otherwise.
+
+### GetKeyOk
+
+`func (o *WebhookHeaderModel) GetKeyOk() (*string, bool)`
+
+GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetKey
+
+`func (o *WebhookHeaderModel) SetKey(v string)`
+
+SetKey sets Key field to given value.
+
+
+### GetValue
+
+`func (o *WebhookHeaderModel) GetValue() string`
+
+GetValue returns the Value field if non-nil, zero value otherwise.
+
+### GetValueOk
+
+`func (o *WebhookHeaderModel) GetValueOk() (*string, bool)`
+
+GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetValue
+
+`func (o *WebhookHeaderModel) SetValue(v string)`
+
+SetValue sets Value field to given value.
+
+
+### GetIsSecure
+
+`func (o *WebhookHeaderModel) GetIsSecure() bool`
+
+GetIsSecure returns the IsSecure field if non-nil, zero value otherwise.
+
+### GetIsSecureOk
+
+`func (o *WebhookHeaderModel) GetIsSecureOk() (*bool, bool)`
+
+GetIsSecureOk returns a tuple with the IsSecure field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsSecure
+
+`func (o *WebhookHeaderModel) SetIsSecure(v bool)`
+
+SetIsSecure sets IsSecure field to given value.
+
+### HasIsSecure
+
+`func (o *WebhookHeaderModel) HasIsSecure() bool`
+
+HasIsSecure returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/WebhookModel.md b/docs/WebhookModel.md
new file mode 100644
index 0000000..3b18359
--- /dev/null
+++ b/docs/WebhookModel.md
@@ -0,0 +1,262 @@
+# WebhookModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**WebhookId** | Pointer to **int32** | The identifier of the Webhook. | [optional]
+**Url** | Pointer to **NullableString** | The URL of the Webhook. | [optional]
+**HttpMethod** | Pointer to [**WebHookHttpMethod**](WebHookHttpMethod.md) | | [optional]
+**Content** | Pointer to **NullableString** | The HTTP body content. | [optional]
+**WebHookHeaders** | Pointer to [**[]WebhookHeaderModel**](WebhookHeaderModel.md) | List of HTTP headers that the Webhook must send. | [optional]
+**ConfigName** | Pointer to **NullableString** | The Config's name where the applied changes will invoke the Webhook. | [optional]
+**EnvironmentName** | Pointer to **NullableString** | The Environment's name where the applied changes will invoke the Webhook. | [optional]
+
+## Methods
+
+### NewWebhookModel
+
+`func NewWebhookModel() *WebhookModel`
+
+NewWebhookModel instantiates a new WebhookModel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewWebhookModelWithDefaults
+
+`func NewWebhookModelWithDefaults() *WebhookModel`
+
+NewWebhookModelWithDefaults instantiates a new WebhookModel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetWebhookId
+
+`func (o *WebhookModel) GetWebhookId() int32`
+
+GetWebhookId returns the WebhookId field if non-nil, zero value otherwise.
+
+### GetWebhookIdOk
+
+`func (o *WebhookModel) GetWebhookIdOk() (*int32, bool)`
+
+GetWebhookIdOk returns a tuple with the WebhookId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWebhookId
+
+`func (o *WebhookModel) SetWebhookId(v int32)`
+
+SetWebhookId sets WebhookId field to given value.
+
+### HasWebhookId
+
+`func (o *WebhookModel) HasWebhookId() bool`
+
+HasWebhookId returns a boolean if a field has been set.
+
+### GetUrl
+
+`func (o *WebhookModel) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *WebhookModel) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *WebhookModel) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+### HasUrl
+
+`func (o *WebhookModel) HasUrl() bool`
+
+HasUrl returns a boolean if a field has been set.
+
+### SetUrlNil
+
+`func (o *WebhookModel) SetUrlNil(b bool)`
+
+ SetUrlNil sets the value for Url to be an explicit nil
+
+### UnsetUrl
+`func (o *WebhookModel) UnsetUrl()`
+
+UnsetUrl ensures that no value is present for Url, not even an explicit nil
+### GetHttpMethod
+
+`func (o *WebhookModel) GetHttpMethod() WebHookHttpMethod`
+
+GetHttpMethod returns the HttpMethod field if non-nil, zero value otherwise.
+
+### GetHttpMethodOk
+
+`func (o *WebhookModel) GetHttpMethodOk() (*WebHookHttpMethod, bool)`
+
+GetHttpMethodOk returns a tuple with the HttpMethod field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetHttpMethod
+
+`func (o *WebhookModel) SetHttpMethod(v WebHookHttpMethod)`
+
+SetHttpMethod sets HttpMethod field to given value.
+
+### HasHttpMethod
+
+`func (o *WebhookModel) HasHttpMethod() bool`
+
+HasHttpMethod returns a boolean if a field has been set.
+
+### GetContent
+
+`func (o *WebhookModel) GetContent() string`
+
+GetContent returns the Content field if non-nil, zero value otherwise.
+
+### GetContentOk
+
+`func (o *WebhookModel) GetContentOk() (*string, bool)`
+
+GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetContent
+
+`func (o *WebhookModel) SetContent(v string)`
+
+SetContent sets Content field to given value.
+
+### HasContent
+
+`func (o *WebhookModel) HasContent() bool`
+
+HasContent returns a boolean if a field has been set.
+
+### SetContentNil
+
+`func (o *WebhookModel) SetContentNil(b bool)`
+
+ SetContentNil sets the value for Content to be an explicit nil
+
+### UnsetContent
+`func (o *WebhookModel) UnsetContent()`
+
+UnsetContent ensures that no value is present for Content, not even an explicit nil
+### GetWebHookHeaders
+
+`func (o *WebhookModel) GetWebHookHeaders() []WebhookHeaderModel`
+
+GetWebHookHeaders returns the WebHookHeaders field if non-nil, zero value otherwise.
+
+### GetWebHookHeadersOk
+
+`func (o *WebhookModel) GetWebHookHeadersOk() (*[]WebhookHeaderModel, bool)`
+
+GetWebHookHeadersOk returns a tuple with the WebHookHeaders field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWebHookHeaders
+
+`func (o *WebhookModel) SetWebHookHeaders(v []WebhookHeaderModel)`
+
+SetWebHookHeaders sets WebHookHeaders field to given value.
+
+### HasWebHookHeaders
+
+`func (o *WebhookModel) HasWebHookHeaders() bool`
+
+HasWebHookHeaders returns a boolean if a field has been set.
+
+### SetWebHookHeadersNil
+
+`func (o *WebhookModel) SetWebHookHeadersNil(b bool)`
+
+ SetWebHookHeadersNil sets the value for WebHookHeaders to be an explicit nil
+
+### UnsetWebHookHeaders
+`func (o *WebhookModel) UnsetWebHookHeaders()`
+
+UnsetWebHookHeaders ensures that no value is present for WebHookHeaders, not even an explicit nil
+### GetConfigName
+
+`func (o *WebhookModel) GetConfigName() string`
+
+GetConfigName returns the ConfigName field if non-nil, zero value otherwise.
+
+### GetConfigNameOk
+
+`func (o *WebhookModel) GetConfigNameOk() (*string, bool)`
+
+GetConfigNameOk returns a tuple with the ConfigName field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetConfigName
+
+`func (o *WebhookModel) SetConfigName(v string)`
+
+SetConfigName sets ConfigName field to given value.
+
+### HasConfigName
+
+`func (o *WebhookModel) HasConfigName() bool`
+
+HasConfigName returns a boolean if a field has been set.
+
+### SetConfigNameNil
+
+`func (o *WebhookModel) SetConfigNameNil(b bool)`
+
+ SetConfigNameNil sets the value for ConfigName to be an explicit nil
+
+### UnsetConfigName
+`func (o *WebhookModel) UnsetConfigName()`
+
+UnsetConfigName ensures that no value is present for ConfigName, not even an explicit nil
+### GetEnvironmentName
+
+`func (o *WebhookModel) GetEnvironmentName() string`
+
+GetEnvironmentName returns the EnvironmentName field if non-nil, zero value otherwise.
+
+### GetEnvironmentNameOk
+
+`func (o *WebhookModel) GetEnvironmentNameOk() (*string, bool)`
+
+GetEnvironmentNameOk returns a tuple with the EnvironmentName field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEnvironmentName
+
+`func (o *WebhookModel) SetEnvironmentName(v string)`
+
+SetEnvironmentName sets EnvironmentName field to given value.
+
+### HasEnvironmentName
+
+`func (o *WebhookModel) HasEnvironmentName() bool`
+
+HasEnvironmentName returns a boolean if a field has been set.
+
+### SetEnvironmentNameNil
+
+`func (o *WebhookModel) SetEnvironmentNameNil(b bool)`
+
+ SetEnvironmentNameNil sets the value for EnvironmentName to be an explicit nil
+
+### UnsetEnvironmentName
+`func (o *WebhookModel) UnsetEnvironmentName()`
+
+UnsetEnvironmentName ensures that no value is present for EnvironmentName, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/WebhookSigningKeysModel.md b/docs/WebhookSigningKeysModel.md
new file mode 100644
index 0000000..f6e3f13
--- /dev/null
+++ b/docs/WebhookSigningKeysModel.md
@@ -0,0 +1,102 @@
+# WebhookSigningKeysModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Key1** | Pointer to **NullableString** | The first signing key. | [optional]
+**Key2** | Pointer to **NullableString** | The second signing key. | [optional]
+
+## Methods
+
+### NewWebhookSigningKeysModel
+
+`func NewWebhookSigningKeysModel() *WebhookSigningKeysModel`
+
+NewWebhookSigningKeysModel instantiates a new WebhookSigningKeysModel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewWebhookSigningKeysModelWithDefaults
+
+`func NewWebhookSigningKeysModelWithDefaults() *WebhookSigningKeysModel`
+
+NewWebhookSigningKeysModelWithDefaults instantiates a new WebhookSigningKeysModel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetKey1
+
+`func (o *WebhookSigningKeysModel) GetKey1() string`
+
+GetKey1 returns the Key1 field if non-nil, zero value otherwise.
+
+### GetKey1Ok
+
+`func (o *WebhookSigningKeysModel) GetKey1Ok() (*string, bool)`
+
+GetKey1Ok returns a tuple with the Key1 field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetKey1
+
+`func (o *WebhookSigningKeysModel) SetKey1(v string)`
+
+SetKey1 sets Key1 field to given value.
+
+### HasKey1
+
+`func (o *WebhookSigningKeysModel) HasKey1() bool`
+
+HasKey1 returns a boolean if a field has been set.
+
+### SetKey1Nil
+
+`func (o *WebhookSigningKeysModel) SetKey1Nil(b bool)`
+
+ SetKey1Nil sets the value for Key1 to be an explicit nil
+
+### UnsetKey1
+`func (o *WebhookSigningKeysModel) UnsetKey1()`
+
+UnsetKey1 ensures that no value is present for Key1, not even an explicit nil
+### GetKey2
+
+`func (o *WebhookSigningKeysModel) GetKey2() string`
+
+GetKey2 returns the Key2 field if non-nil, zero value otherwise.
+
+### GetKey2Ok
+
+`func (o *WebhookSigningKeysModel) GetKey2Ok() (*string, bool)`
+
+GetKey2Ok returns a tuple with the Key2 field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetKey2
+
+`func (o *WebhookSigningKeysModel) SetKey2(v string)`
+
+SetKey2 sets Key2 field to given value.
+
+### HasKey2
+
+`func (o *WebhookSigningKeysModel) HasKey2() bool`
+
+HasKey2 returns a boolean if a field has been set.
+
+### SetKey2Nil
+
+`func (o *WebhookSigningKeysModel) SetKey2Nil(b bool)`
+
+ SetKey2Nil sets the value for Key2 to be an explicit nil
+
+### UnsetKey2
+`func (o *WebhookSigningKeysModel) UnsetKey2()`
+
+UnsetKey2 ensures that no value is present for Key2, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md
new file mode 100644
index 0000000..f5cc3dc
--- /dev/null
+++ b/docs/WebhooksApi.md
@@ -0,0 +1,439 @@
+# \WebhooksApi
+
+All URIs are relative to *https://test-api.configcat.com*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**CreateWebhook**](WebhooksApi.md#CreateWebhook) | **Post** /v1/configs/{configId}/environments/{environmentId}/webhooks | Create Webhook
+[**DeleteWebhook**](WebhooksApi.md#DeleteWebhook) | **Delete** /v1/webhooks/{webhookId} | Delete Webhook
+[**GetWebhook**](WebhooksApi.md#GetWebhook) | **Get** /v1/webhooks/{webhookId} | Get Webhook
+[**GetWebhookSigningKeys**](WebhooksApi.md#GetWebhookSigningKeys) | **Get** /v1/webhooks/{webhookId}/keys | Get Webhook Signing Keys
+[**GetWebhooks**](WebhooksApi.md#GetWebhooks) | **Get** /v1/products/{productId}/webhooks | List Webhooks
+[**UpdateWebhook**](WebhooksApi.md#UpdateWebhook) | **Patch** /v1/webhooks/{webhookId} | Update Webhook
+
+
+
+## CreateWebhook
+
+> WebhookModel CreateWebhook(ctx, configId, environmentId).CreateWebHookRequest(createWebHookRequest).Execute()
+
+Create Webhook
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ configId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Config.
+ environmentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Environment.
+ createWebHookRequest := *openapiclient.NewCreateWebHookRequest("Url_example") // CreateWebHookRequest |
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.WebhooksApi.CreateWebhook(context.Background(), configId, environmentId).CreateWebHookRequest(createWebHookRequest).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.CreateWebhook``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `CreateWebhook`: WebhookModel
+ fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.CreateWebhook`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**configId** | **string** | The identifier of the Config. |
+**environmentId** | **string** | The identifier of the Environment. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiCreateWebhookRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+ **createWebHookRequest** | [**CreateWebHookRequest**](CreateWebHookRequest.md) | |
+
+### Return type
+
+[**WebhookModel**](WebhookModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/*+json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DeleteWebhook
+
+> DeleteWebhook(ctx, webhookId).Execute()
+
+Delete Webhook
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ webhookId := int32(56) // int32 | The identifier of the Webhook.
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.WebhooksApi.DeleteWebhook(context.Background(), webhookId).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.DeleteWebhook``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**webhookId** | **int32** | The identifier of the Webhook. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDeleteWebhookRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## GetWebhook
+
+> WebhookModel GetWebhook(ctx, webhookId).Execute()
+
+Get Webhook
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ webhookId := int32(56) // int32 | The identifier of the Webhook.
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.WebhooksApi.GetWebhook(context.Background(), webhookId).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.GetWebhook``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `GetWebhook`: WebhookModel
+ fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.GetWebhook`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**webhookId** | **int32** | The identifier of the Webhook. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiGetWebhookRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+### Return type
+
+[**WebhookModel**](WebhookModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## GetWebhookSigningKeys
+
+> WebhookSigningKeysModel GetWebhookSigningKeys(ctx, webhookId).Execute()
+
+Get Webhook Signing Keys
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ webhookId := int32(56) // int32 | The identifier of the Webhook.
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.WebhooksApi.GetWebhookSigningKeys(context.Background(), webhookId).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.GetWebhookSigningKeys``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `GetWebhookSigningKeys`: WebhookSigningKeysModel
+ fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.GetWebhookSigningKeys`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**webhookId** | **int32** | The identifier of the Webhook. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiGetWebhookSigningKeysRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+### Return type
+
+[**WebhookSigningKeysModel**](WebhookSigningKeysModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## GetWebhooks
+
+> []WebhookModel GetWebhooks(ctx, productId).Execute()
+
+List Webhooks
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ productId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The identifier of the Product.
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.WebhooksApi.GetWebhooks(context.Background(), productId).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.GetWebhooks``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `GetWebhooks`: []WebhookModel
+ fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.GetWebhooks`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**productId** | **string** | The identifier of the Product. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiGetWebhooksRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+
+### Return type
+
+[**[]WebhookModel**](WebhookModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## UpdateWebhook
+
+> WebhookModel UpdateWebhook(ctx, webhookId).JsonPatchOperation(jsonPatchOperation).Execute()
+
+Update Webhook
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func main() {
+ webhookId := int32(56) // int32 | The identifier of the Webhook.
+ jsonPatchOperation := []openapiclient.JsonPatchOperation{*openapiclient.NewJsonPatchOperation(openapiclient.OperationType("unknown"), "Path_example")} // []JsonPatchOperation |
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.WebhooksApi.UpdateWebhook(context.Background(), webhookId).JsonPatchOperation(jsonPatchOperation).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.UpdateWebhook``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `UpdateWebhook`: WebhookModel
+ fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.UpdateWebhook`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**webhookId** | **int32** | The identifier of the Webhook. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiUpdateWebhookRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **jsonPatchOperation** | [**[]JsonPatchOperation**](JsonPatchOperation.md) | |
+
+### Return type
+
+[**WebhookModel**](WebhookModel.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/*+json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
diff --git a/go.mod b/go.mod
index f15a36c..22a88a7 100644
--- a/go.mod
+++ b/go.mod
@@ -2,10 +2,5 @@ module github.com/configcat/configcat-publicapi-go-client
go 1.18
-require github.com/stretchr/testify v1.8.4
-
require (
- github.com/davecgh/go-spew v1.1.1 // indirect
- github.com/pmezard/go-difflib v1.0.0 // indirect
- gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/go.sum b/go.sum
index fa4b6e6..c966c8d 100644
--- a/go.sum
+++ b/go.sum
@@ -1,10 +1,11 @@
-github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
-github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
-github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
-github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
-gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
-gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
-gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
+github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg=
+golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
+google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
diff --git a/model_access_type.go b/model_access_type.go
index 49fa6b4..b15e315 100644
--- a/model_access_type.go
+++ b/model_access_type.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_add_or_update_integration_link_model.go b/model_add_or_update_integration_link_model.go
index f07c482..eb43c1b 100644
--- a/model_add_or_update_integration_link_model.go
+++ b/model_add_or_update_integration_link_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_add_or_update_jira_integration_link_model.go b/model_add_or_update_jira_integration_link_model.go
index 353674b..e111c49 100644
--- a/model_add_or_update_jira_integration_link_model.go
+++ b/model_add_or_update_jira_integration_link_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_audit_log_item_model.go b/model_audit_log_item_model.go
index 07511b7..98ccf09 100644
--- a/model_audit_log_item_model.go
+++ b/model_audit_log_item_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_audit_log_type.go b/model_audit_log_type.go
index be01e36..b4a1f7f 100644
--- a/model_audit_log_type.go
+++ b/model_audit_log_type.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_code_reference_model.go b/model_code_reference_model.go
index 0e40173..4999d9c 100644
--- a/model_code_reference_model.go
+++ b/model_code_reference_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_code_reference_request.go b/model_code_reference_request.go
index 4f74323..0f755bc 100644
--- a/model_code_reference_request.go
+++ b/model_code_reference_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_code_references_for_setting_model.go b/model_code_references_for_setting_model.go
index 588db7b..ebc498e 100644
--- a/model_code_references_for_setting_model.go
+++ b/model_code_references_for_setting_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_comparison_value_list_model.go b/model_comparison_value_list_model.go
index 33c0c65..929c5a3 100644
--- a/model_comparison_value_list_model.go
+++ b/model_comparison_value_list_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_comparison_value_model.go b/model_comparison_value_model.go
index d97f558..21df9d5 100644
--- a/model_comparison_value_model.go
+++ b/model_comparison_value_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_condition_model.go b/model_condition_model.go
index 4bf9979..193f9df 100644
--- a/model_condition_model.go
+++ b/model_condition_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_config_model.go b/model_config_model.go
index 19c0973..ce32983 100644
--- a/model_config_model.go
+++ b/model_config_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_config_model__links.go b/model_config_model__links.go
new file mode 100644
index 0000000..ab022a6
--- /dev/null
+++ b/model_config_model__links.go
@@ -0,0 +1,163 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the ConfigModelLinks type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ConfigModelLinks{}
+
+// ConfigModelLinks Links to additional related resources.
+type ConfigModelLinks struct {
+ Self *ConfigModelLinksSelf `json:"self,omitempty"`
+ Settings *ConfigModelLinksSelf `json:"settings,omitempty"`
+}
+
+// NewConfigModelLinks instantiates a new ConfigModelLinks object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewConfigModelLinks() *ConfigModelLinks {
+ this := ConfigModelLinks{}
+ return &this
+}
+
+// NewConfigModelLinksWithDefaults instantiates a new ConfigModelLinks object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewConfigModelLinksWithDefaults() *ConfigModelLinks {
+ this := ConfigModelLinks{}
+ return &this
+}
+
+// GetSelf returns the Self field value if set, zero value otherwise.
+func (o *ConfigModelLinks) GetSelf() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Self) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Self
+}
+
+// GetSelfOk returns a tuple with the Self field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ConfigModelLinks) GetSelfOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Self) {
+ return nil, false
+ }
+ return o.Self, true
+}
+
+// HasSelf returns a boolean if a field has been set.
+func (o *ConfigModelLinks) HasSelf() bool {
+ if o != nil && !IsNil(o.Self) {
+ return true
+ }
+
+ return false
+}
+
+// SetSelf gets a reference to the given ConfigModelLinksSelf and assigns it to the Self field.
+func (o *ConfigModelLinks) SetSelf(v ConfigModelLinksSelf) {
+ o.Self = &v
+}
+
+// GetSettings returns the Settings field value if set, zero value otherwise.
+func (o *ConfigModelLinks) GetSettings() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Settings) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Settings
+}
+
+// GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ConfigModelLinks) GetSettingsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Settings) {
+ return nil, false
+ }
+ return o.Settings, true
+}
+
+// HasSettings returns a boolean if a field has been set.
+func (o *ConfigModelLinks) HasSettings() bool {
+ if o != nil && !IsNil(o.Settings) {
+ return true
+ }
+
+ return false
+}
+
+// SetSettings gets a reference to the given ConfigModelLinksSelf and assigns it to the Settings field.
+func (o *ConfigModelLinks) SetSettings(v ConfigModelLinksSelf) {
+ o.Settings = &v
+}
+
+func (o ConfigModelLinks) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ConfigModelLinks) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.Self) {
+ toSerialize["self"] = o.Self
+ }
+ if !IsNil(o.Settings) {
+ toSerialize["settings"] = o.Settings
+ }
+ return toSerialize, nil
+}
+
+type NullableConfigModelLinks struct {
+ value *ConfigModelLinks
+ isSet bool
+}
+
+func (v NullableConfigModelLinks) Get() *ConfigModelLinks {
+ return v.value
+}
+
+func (v *NullableConfigModelLinks) Set(val *ConfigModelLinks) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableConfigModelLinks) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableConfigModelLinks) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableConfigModelLinks(val *ConfigModelLinks) *NullableConfigModelLinks {
+ return &NullableConfigModelLinks{value: val, isSet: true}
+}
+
+func (v NullableConfigModelLinks) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableConfigModelLinks) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_config_model__links_self.go b/model_config_model__links_self.go
new file mode 100644
index 0000000..0e6d308
--- /dev/null
+++ b/model_config_model__links_self.go
@@ -0,0 +1,127 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the ConfigModelLinksSelf type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ConfigModelLinksSelf{}
+
+// ConfigModelLinksSelf struct for ConfigModelLinksSelf
+type ConfigModelLinksSelf struct {
+ Href *string `json:"href,omitempty"`
+}
+
+// NewConfigModelLinksSelf instantiates a new ConfigModelLinksSelf object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewConfigModelLinksSelf() *ConfigModelLinksSelf {
+ this := ConfigModelLinksSelf{}
+ return &this
+}
+
+// NewConfigModelLinksSelfWithDefaults instantiates a new ConfigModelLinksSelf object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewConfigModelLinksSelfWithDefaults() *ConfigModelLinksSelf {
+ this := ConfigModelLinksSelf{}
+ return &this
+}
+
+// GetHref returns the Href field value if set, zero value otherwise.
+func (o *ConfigModelLinksSelf) GetHref() string {
+ if o == nil || IsNil(o.Href) {
+ var ret string
+ return ret
+ }
+ return *o.Href
+}
+
+// GetHrefOk returns a tuple with the Href field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ConfigModelLinksSelf) GetHrefOk() (*string, bool) {
+ if o == nil || IsNil(o.Href) {
+ return nil, false
+ }
+ return o.Href, true
+}
+
+// HasHref returns a boolean if a field has been set.
+func (o *ConfigModelLinksSelf) HasHref() bool {
+ if o != nil && !IsNil(o.Href) {
+ return true
+ }
+
+ return false
+}
+
+// SetHref gets a reference to the given string and assigns it to the Href field.
+func (o *ConfigModelLinksSelf) SetHref(v string) {
+ o.Href = &v
+}
+
+func (o ConfigModelLinksSelf) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ConfigModelLinksSelf) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.Href) {
+ toSerialize["href"] = o.Href
+ }
+ return toSerialize, nil
+}
+
+type NullableConfigModelLinksSelf struct {
+ value *ConfigModelLinksSelf
+ isSet bool
+}
+
+func (v NullableConfigModelLinksSelf) Get() *ConfigModelLinksSelf {
+ return v.value
+}
+
+func (v *NullableConfigModelLinksSelf) Set(val *ConfigModelLinksSelf) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableConfigModelLinksSelf) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableConfigModelLinksSelf) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableConfigModelLinksSelf(val *ConfigModelLinksSelf) *NullableConfigModelLinksSelf {
+ return &NullableConfigModelLinksSelf{value: val, isSet: true}
+}
+
+func (v NullableConfigModelLinksSelf) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableConfigModelLinksSelf) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_config_setting_formula_model.go b/model_config_setting_formula_model.go
index b319304..0ef9a4f 100644
--- a/model_config_setting_formula_model.go
+++ b/model_config_setting_formula_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_config_setting_formulas_model.go b/model_config_setting_formulas_model.go
index ba70223..0430cff 100644
--- a/model_config_setting_formulas_model.go
+++ b/model_config_setting_formulas_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_config_setting_formulas_model__links.go b/model_config_setting_formulas_model__links.go
new file mode 100644
index 0000000..b8d0699
--- /dev/null
+++ b/model_config_setting_formulas_model__links.go
@@ -0,0 +1,127 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the ConfigSettingFormulasModelLinks type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ConfigSettingFormulasModelLinks{}
+
+// ConfigSettingFormulasModelLinks Links to additional related resources.
+type ConfigSettingFormulasModelLinks struct {
+ Self *ConfigModelLinksSelf `json:"self,omitempty"`
+}
+
+// NewConfigSettingFormulasModelLinks instantiates a new ConfigSettingFormulasModelLinks object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewConfigSettingFormulasModelLinks() *ConfigSettingFormulasModelLinks {
+ this := ConfigSettingFormulasModelLinks{}
+ return &this
+}
+
+// NewConfigSettingFormulasModelLinksWithDefaults instantiates a new ConfigSettingFormulasModelLinks object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewConfigSettingFormulasModelLinksWithDefaults() *ConfigSettingFormulasModelLinks {
+ this := ConfigSettingFormulasModelLinks{}
+ return &this
+}
+
+// GetSelf returns the Self field value if set, zero value otherwise.
+func (o *ConfigSettingFormulasModelLinks) GetSelf() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Self) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Self
+}
+
+// GetSelfOk returns a tuple with the Self field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ConfigSettingFormulasModelLinks) GetSelfOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Self) {
+ return nil, false
+ }
+ return o.Self, true
+}
+
+// HasSelf returns a boolean if a field has been set.
+func (o *ConfigSettingFormulasModelLinks) HasSelf() bool {
+ if o != nil && !IsNil(o.Self) {
+ return true
+ }
+
+ return false
+}
+
+// SetSelf gets a reference to the given ConfigModelLinksSelf and assigns it to the Self field.
+func (o *ConfigSettingFormulasModelLinks) SetSelf(v ConfigModelLinksSelf) {
+ o.Self = &v
+}
+
+func (o ConfigSettingFormulasModelLinks) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ConfigSettingFormulasModelLinks) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.Self) {
+ toSerialize["self"] = o.Self
+ }
+ return toSerialize, nil
+}
+
+type NullableConfigSettingFormulasModelLinks struct {
+ value *ConfigSettingFormulasModelLinks
+ isSet bool
+}
+
+func (v NullableConfigSettingFormulasModelLinks) Get() *ConfigSettingFormulasModelLinks {
+ return v.value
+}
+
+func (v *NullableConfigSettingFormulasModelLinks) Set(val *ConfigSettingFormulasModelLinks) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableConfigSettingFormulasModelLinks) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableConfigSettingFormulasModelLinks) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableConfigSettingFormulasModelLinks(val *ConfigSettingFormulasModelLinks) *NullableConfigSettingFormulasModelLinks {
+ return &NullableConfigSettingFormulasModelLinks{value: val, isSet: true}
+}
+
+func (v NullableConfigSettingFormulasModelLinks) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableConfigSettingFormulasModelLinks) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_config_setting_value_model.go b/model_config_setting_value_model.go
index cae4272..c80870b 100644
--- a/model_config_setting_value_model.go
+++ b/model_config_setting_value_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_config_setting_values_model.go b/model_config_setting_values_model.go
index 20be6e6..0049b08 100644
--- a/model_config_setting_values_model.go
+++ b/model_config_setting_values_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_connect_request.go b/model_connect_request.go
index 09315a8..088a2a3 100644
--- a/model_connect_request.go
+++ b/model_connect_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_config_request.go b/model_create_config_request.go
index 7328203..88273d2 100644
--- a/model_create_config_request.go
+++ b/model_create_config_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_environment_model.go b/model_create_environment_model.go
index 8a88195..8006072 100644
--- a/model_create_environment_model.go
+++ b/model_create_environment_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_or_update_environment_access_model.go b/model_create_or_update_environment_access_model.go
index bfa1c32..4d534b0 100644
--- a/model_create_or_update_environment_access_model.go
+++ b/model_create_or_update_environment_access_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_permission_group_request.go b/model_create_permission_group_request.go
index d04c54a..25088cc 100644
--- a/model_create_permission_group_request.go
+++ b/model_create_permission_group_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_product_request.go b/model_create_product_request.go
index c379ca5..02a78f7 100644
--- a/model_create_product_request.go
+++ b/model_create_product_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_segment_model.go b/model_create_segment_model.go
index 8996822..2c1c8dc 100644
--- a/model_create_segment_model.go
+++ b/model_create_segment_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_setting_initial_values.go b/model_create_setting_initial_values.go
index 92cb508..49ab08b 100644
--- a/model_create_setting_initial_values.go
+++ b/model_create_setting_initial_values.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_tag_model.go b/model_create_tag_model.go
index f817dfa..aa0cfc2 100644
--- a/model_create_tag_model.go
+++ b/model_create_tag_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_create_web_hook_request.go b/model_create_web_hook_request.go
new file mode 100644
index 0000000..591f6f9
--- /dev/null
+++ b/model_create_web_hook_request.go
@@ -0,0 +1,240 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the CreateWebHookRequest type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &CreateWebHookRequest{}
+
+// CreateWebHookRequest struct for CreateWebHookRequest
+type CreateWebHookRequest struct {
+ // The URL of the Webhook.
+ Url string `json:"url"`
+ // The HTTP body content.
+ Content NullableString `json:"content,omitempty"`
+ HttpMethod *WebHookHttpMethod `json:"httpMethod,omitempty"`
+ // List of HTTP headers.
+ WebHookHeaders []WebhookHeaderModel `json:"webHookHeaders,omitempty"`
+}
+
+// NewCreateWebHookRequest instantiates a new CreateWebHookRequest object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewCreateWebHookRequest(url string) *CreateWebHookRequest {
+ this := CreateWebHookRequest{}
+ this.Url = url
+ return &this
+}
+
+// NewCreateWebHookRequestWithDefaults instantiates a new CreateWebHookRequest object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewCreateWebHookRequestWithDefaults() *CreateWebHookRequest {
+ this := CreateWebHookRequest{}
+ return &this
+}
+
+// GetUrl returns the Url field value
+func (o *CreateWebHookRequest) GetUrl() string {
+ if o == nil {
+ var ret string
+ return ret
+ }
+
+ return o.Url
+}
+
+// GetUrlOk returns a tuple with the Url field value
+// and a boolean to check if the value has been set.
+func (o *CreateWebHookRequest) GetUrlOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.Url, true
+}
+
+// SetUrl sets field value
+func (o *CreateWebHookRequest) SetUrl(v string) {
+ o.Url = v
+}
+
+// GetContent returns the Content field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *CreateWebHookRequest) GetContent() string {
+ if o == nil || IsNil(o.Content.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.Content.Get()
+}
+
+// GetContentOk returns a tuple with the Content field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *CreateWebHookRequest) GetContentOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.Content.Get(), o.Content.IsSet()
+}
+
+// HasContent returns a boolean if a field has been set.
+func (o *CreateWebHookRequest) HasContent() bool {
+ if o != nil && o.Content.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetContent gets a reference to the given NullableString and assigns it to the Content field.
+func (o *CreateWebHookRequest) SetContent(v string) {
+ o.Content.Set(&v)
+}
+// SetContentNil sets the value for Content to be an explicit nil
+func (o *CreateWebHookRequest) SetContentNil() {
+ o.Content.Set(nil)
+}
+
+// UnsetContent ensures that no value is present for Content, not even an explicit nil
+func (o *CreateWebHookRequest) UnsetContent() {
+ o.Content.Unset()
+}
+
+// GetHttpMethod returns the HttpMethod field value if set, zero value otherwise.
+func (o *CreateWebHookRequest) GetHttpMethod() WebHookHttpMethod {
+ if o == nil || IsNil(o.HttpMethod) {
+ var ret WebHookHttpMethod
+ return ret
+ }
+ return *o.HttpMethod
+}
+
+// GetHttpMethodOk returns a tuple with the HttpMethod field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *CreateWebHookRequest) GetHttpMethodOk() (*WebHookHttpMethod, bool) {
+ if o == nil || IsNil(o.HttpMethod) {
+ return nil, false
+ }
+ return o.HttpMethod, true
+}
+
+// HasHttpMethod returns a boolean if a field has been set.
+func (o *CreateWebHookRequest) HasHttpMethod() bool {
+ if o != nil && !IsNil(o.HttpMethod) {
+ return true
+ }
+
+ return false
+}
+
+// SetHttpMethod gets a reference to the given WebHookHttpMethod and assigns it to the HttpMethod field.
+func (o *CreateWebHookRequest) SetHttpMethod(v WebHookHttpMethod) {
+ o.HttpMethod = &v
+}
+
+// GetWebHookHeaders returns the WebHookHeaders field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *CreateWebHookRequest) GetWebHookHeaders() []WebhookHeaderModel {
+ if o == nil {
+ var ret []WebhookHeaderModel
+ return ret
+ }
+ return o.WebHookHeaders
+}
+
+// GetWebHookHeadersOk returns a tuple with the WebHookHeaders field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *CreateWebHookRequest) GetWebHookHeadersOk() ([]WebhookHeaderModel, bool) {
+ if o == nil || IsNil(o.WebHookHeaders) {
+ return nil, false
+ }
+ return o.WebHookHeaders, true
+}
+
+// HasWebHookHeaders returns a boolean if a field has been set.
+func (o *CreateWebHookRequest) HasWebHookHeaders() bool {
+ if o != nil && IsNil(o.WebHookHeaders) {
+ return true
+ }
+
+ return false
+}
+
+// SetWebHookHeaders gets a reference to the given []WebhookHeaderModel and assigns it to the WebHookHeaders field.
+func (o *CreateWebHookRequest) SetWebHookHeaders(v []WebhookHeaderModel) {
+ o.WebHookHeaders = v
+}
+
+func (o CreateWebHookRequest) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o CreateWebHookRequest) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["url"] = o.Url
+ if o.Content.IsSet() {
+ toSerialize["content"] = o.Content.Get()
+ }
+ if !IsNil(o.HttpMethod) {
+ toSerialize["httpMethod"] = o.HttpMethod
+ }
+ if o.WebHookHeaders != nil {
+ toSerialize["webHookHeaders"] = o.WebHookHeaders
+ }
+ return toSerialize, nil
+}
+
+type NullableCreateWebHookRequest struct {
+ value *CreateWebHookRequest
+ isSet bool
+}
+
+func (v NullableCreateWebHookRequest) Get() *CreateWebHookRequest {
+ return v.value
+}
+
+func (v *NullableCreateWebHookRequest) Set(val *CreateWebHookRequest) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableCreateWebHookRequest) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableCreateWebHookRequest) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableCreateWebHookRequest(val *CreateWebHookRequest) *NullableCreateWebHookRequest {
+ return &NullableCreateWebHookRequest{value: val, isSet: true}
+}
+
+func (v NullableCreateWebHookRequest) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableCreateWebHookRequest) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_delete_integration_link_model.go b/model_delete_integration_link_model.go
index 4f08348..363f74a 100644
--- a/model_delete_integration_link_model.go
+++ b/model_delete_integration_link_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_delete_repository_reports_request.go b/model_delete_repository_reports_request.go
index 9de8e12..e31df77 100644
--- a/model_delete_repository_reports_request.go
+++ b/model_delete_repository_reports_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_environment_access_model.go b/model_environment_access_model.go
index 7f77980..9014578 100644
--- a/model_environment_access_model.go
+++ b/model_environment_access_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_environment_access_type.go b/model_environment_access_type.go
index 41fe0ea..bd983ed 100644
--- a/model_environment_access_type.go
+++ b/model_environment_access_type.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_environment_model.go b/model_environment_model.go
index d09e2a5..6b71332 100644
--- a/model_environment_model.go
+++ b/model_environment_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_evaluation_version.go b/model_evaluation_version.go
index 1d46cec..d92c0f9 100644
--- a/model_evaluation_version.go
+++ b/model_evaluation_version.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -16,7 +16,7 @@ import (
"fmt"
)
-// EvaluationVersion the model 'EvaluationVersion'
+// EvaluationVersion Determines the evaluation version of a Config. Using `v2` enables the new features of Config V2 (https://configcat.com/docs/advanced/config-v2).
type EvaluationVersion string
// List of EvaluationVersion
diff --git a/model_feature_flag_limitations.go b/model_feature_flag_limitations.go
index 94c8f4b..9c7200e 100644
--- a/model_feature_flag_limitations.go
+++ b/model_feature_flag_limitations.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_flag_reference.go b/model_flag_reference.go
index 065834d..7d722dd 100644
--- a/model_flag_reference.go
+++ b/model_flag_reference.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_initial_value.go b/model_initial_value.go
index 97cf392..ee62a84 100644
--- a/model_initial_value.go
+++ b/model_initial_value.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_integration_link_detail.go b/model_integration_link_detail.go
index 2135c51..eaf4224 100644
--- a/model_integration_link_detail.go
+++ b/model_integration_link_detail.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_integration_link_details_model.go b/model_integration_link_details_model.go
index 8ffff28..f0d9d3e 100644
--- a/model_integration_link_details_model.go
+++ b/model_integration_link_details_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_integration_link_model.go b/model_integration_link_model.go
index 0162a1e..4f54f0d 100644
--- a/model_integration_link_model.go
+++ b/model_integration_link_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_integration_link_type.go b/model_integration_link_type.go
index c296841..71b2493 100644
--- a/model_integration_link_type.go
+++ b/model_integration_link_type.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_invitation_model.go b/model_invitation_model.go
new file mode 100644
index 0000000..9b5d92f
--- /dev/null
+++ b/model_invitation_model.go
@@ -0,0 +1,287 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+ "time"
+)
+
+// checks if the InvitationModel type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &InvitationModel{}
+
+// InvitationModel struct for InvitationModel
+type InvitationModel struct {
+ // The identifier of the Invitation.
+ InvitationId *string `json:"invitationId,omitempty"`
+ // The invited user's email address.
+ Email NullableString `json:"email,omitempty"`
+ // The identifier of the Permission Group the user was invited to.
+ PermissionGroupId *int64 `json:"permissionGroupId,omitempty"`
+ // Creation time of the Invitation.
+ CreatedAt *time.Time `json:"createdAt,omitempty"`
+ // Determines whether the Invitation is expired.
+ Expired *bool `json:"expired,omitempty"`
+}
+
+// NewInvitationModel instantiates a new InvitationModel object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewInvitationModel() *InvitationModel {
+ this := InvitationModel{}
+ return &this
+}
+
+// NewInvitationModelWithDefaults instantiates a new InvitationModel object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewInvitationModelWithDefaults() *InvitationModel {
+ this := InvitationModel{}
+ return &this
+}
+
+// GetInvitationId returns the InvitationId field value if set, zero value otherwise.
+func (o *InvitationModel) GetInvitationId() string {
+ if o == nil || IsNil(o.InvitationId) {
+ var ret string
+ return ret
+ }
+ return *o.InvitationId
+}
+
+// GetInvitationIdOk returns a tuple with the InvitationId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *InvitationModel) GetInvitationIdOk() (*string, bool) {
+ if o == nil || IsNil(o.InvitationId) {
+ return nil, false
+ }
+ return o.InvitationId, true
+}
+
+// HasInvitationId returns a boolean if a field has been set.
+func (o *InvitationModel) HasInvitationId() bool {
+ if o != nil && !IsNil(o.InvitationId) {
+ return true
+ }
+
+ return false
+}
+
+// SetInvitationId gets a reference to the given string and assigns it to the InvitationId field.
+func (o *InvitationModel) SetInvitationId(v string) {
+ o.InvitationId = &v
+}
+
+// GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *InvitationModel) GetEmail() string {
+ if o == nil || IsNil(o.Email.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.Email.Get()
+}
+
+// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *InvitationModel) GetEmailOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.Email.Get(), o.Email.IsSet()
+}
+
+// HasEmail returns a boolean if a field has been set.
+func (o *InvitationModel) HasEmail() bool {
+ if o != nil && o.Email.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetEmail gets a reference to the given NullableString and assigns it to the Email field.
+func (o *InvitationModel) SetEmail(v string) {
+ o.Email.Set(&v)
+}
+// SetEmailNil sets the value for Email to be an explicit nil
+func (o *InvitationModel) SetEmailNil() {
+ o.Email.Set(nil)
+}
+
+// UnsetEmail ensures that no value is present for Email, not even an explicit nil
+func (o *InvitationModel) UnsetEmail() {
+ o.Email.Unset()
+}
+
+// GetPermissionGroupId returns the PermissionGroupId field value if set, zero value otherwise.
+func (o *InvitationModel) GetPermissionGroupId() int64 {
+ if o == nil || IsNil(o.PermissionGroupId) {
+ var ret int64
+ return ret
+ }
+ return *o.PermissionGroupId
+}
+
+// GetPermissionGroupIdOk returns a tuple with the PermissionGroupId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *InvitationModel) GetPermissionGroupIdOk() (*int64, bool) {
+ if o == nil || IsNil(o.PermissionGroupId) {
+ return nil, false
+ }
+ return o.PermissionGroupId, true
+}
+
+// HasPermissionGroupId returns a boolean if a field has been set.
+func (o *InvitationModel) HasPermissionGroupId() bool {
+ if o != nil && !IsNil(o.PermissionGroupId) {
+ return true
+ }
+
+ return false
+}
+
+// SetPermissionGroupId gets a reference to the given int64 and assigns it to the PermissionGroupId field.
+func (o *InvitationModel) SetPermissionGroupId(v int64) {
+ o.PermissionGroupId = &v
+}
+
+// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
+func (o *InvitationModel) GetCreatedAt() time.Time {
+ if o == nil || IsNil(o.CreatedAt) {
+ var ret time.Time
+ return ret
+ }
+ return *o.CreatedAt
+}
+
+// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *InvitationModel) GetCreatedAtOk() (*time.Time, bool) {
+ if o == nil || IsNil(o.CreatedAt) {
+ return nil, false
+ }
+ return o.CreatedAt, true
+}
+
+// HasCreatedAt returns a boolean if a field has been set.
+func (o *InvitationModel) HasCreatedAt() bool {
+ if o != nil && !IsNil(o.CreatedAt) {
+ return true
+ }
+
+ return false
+}
+
+// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
+func (o *InvitationModel) SetCreatedAt(v time.Time) {
+ o.CreatedAt = &v
+}
+
+// GetExpired returns the Expired field value if set, zero value otherwise.
+func (o *InvitationModel) GetExpired() bool {
+ if o == nil || IsNil(o.Expired) {
+ var ret bool
+ return ret
+ }
+ return *o.Expired
+}
+
+// GetExpiredOk returns a tuple with the Expired field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *InvitationModel) GetExpiredOk() (*bool, bool) {
+ if o == nil || IsNil(o.Expired) {
+ return nil, false
+ }
+ return o.Expired, true
+}
+
+// HasExpired returns a boolean if a field has been set.
+func (o *InvitationModel) HasExpired() bool {
+ if o != nil && !IsNil(o.Expired) {
+ return true
+ }
+
+ return false
+}
+
+// SetExpired gets a reference to the given bool and assigns it to the Expired field.
+func (o *InvitationModel) SetExpired(v bool) {
+ o.Expired = &v
+}
+
+func (o InvitationModel) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o InvitationModel) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.InvitationId) {
+ toSerialize["invitationId"] = o.InvitationId
+ }
+ if o.Email.IsSet() {
+ toSerialize["email"] = o.Email.Get()
+ }
+ if !IsNil(o.PermissionGroupId) {
+ toSerialize["permissionGroupId"] = o.PermissionGroupId
+ }
+ if !IsNil(o.CreatedAt) {
+ toSerialize["createdAt"] = o.CreatedAt
+ }
+ if !IsNil(o.Expired) {
+ toSerialize["expired"] = o.Expired
+ }
+ return toSerialize, nil
+}
+
+type NullableInvitationModel struct {
+ value *InvitationModel
+ isSet bool
+}
+
+func (v NullableInvitationModel) Get() *InvitationModel {
+ return v.value
+}
+
+func (v *NullableInvitationModel) Set(val *InvitationModel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableInvitationModel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableInvitationModel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableInvitationModel(val *InvitationModel) *NullableInvitationModel {
+ return &NullableInvitationModel{value: val, isSet: true}
+}
+
+func (v NullableInvitationModel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableInvitationModel) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_invitation_model__links.go b/model_invitation_model__links.go
new file mode 100644
index 0000000..1deb1d8
--- /dev/null
+++ b/model_invitation_model__links.go
@@ -0,0 +1,127 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the InvitationModelLinks type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &InvitationModelLinks{}
+
+// InvitationModelLinks Links to additional related resources.
+type InvitationModelLinks struct {
+ PermissionGroup *ConfigModelLinksSelf `json:"permissionGroup,omitempty"`
+}
+
+// NewInvitationModelLinks instantiates a new InvitationModelLinks object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewInvitationModelLinks() *InvitationModelLinks {
+ this := InvitationModelLinks{}
+ return &this
+}
+
+// NewInvitationModelLinksWithDefaults instantiates a new InvitationModelLinks object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewInvitationModelLinksWithDefaults() *InvitationModelLinks {
+ this := InvitationModelLinks{}
+ return &this
+}
+
+// GetPermissionGroup returns the PermissionGroup field value if set, zero value otherwise.
+func (o *InvitationModelLinks) GetPermissionGroup() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.PermissionGroup) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.PermissionGroup
+}
+
+// GetPermissionGroupOk returns a tuple with the PermissionGroup field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *InvitationModelLinks) GetPermissionGroupOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.PermissionGroup) {
+ return nil, false
+ }
+ return o.PermissionGroup, true
+}
+
+// HasPermissionGroup returns a boolean if a field has been set.
+func (o *InvitationModelLinks) HasPermissionGroup() bool {
+ if o != nil && !IsNil(o.PermissionGroup) {
+ return true
+ }
+
+ return false
+}
+
+// SetPermissionGroup gets a reference to the given ConfigModelLinksSelf and assigns it to the PermissionGroup field.
+func (o *InvitationModelLinks) SetPermissionGroup(v ConfigModelLinksSelf) {
+ o.PermissionGroup = &v
+}
+
+func (o InvitationModelLinks) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o InvitationModelLinks) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.PermissionGroup) {
+ toSerialize["permissionGroup"] = o.PermissionGroup
+ }
+ return toSerialize, nil
+}
+
+type NullableInvitationModelLinks struct {
+ value *InvitationModelLinks
+ isSet bool
+}
+
+func (v NullableInvitationModelLinks) Get() *InvitationModelLinks {
+ return v.value
+}
+
+func (v *NullableInvitationModelLinks) Set(val *InvitationModelLinks) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableInvitationModelLinks) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableInvitationModelLinks) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableInvitationModelLinks(val *InvitationModelLinks) *NullableInvitationModelLinks {
+ return &NullableInvitationModelLinks{value: val, isSet: true}
+}
+
+func (v NullableInvitationModelLinks) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableInvitationModelLinks) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_invite_members_request.go b/model_invite_members_request.go
index 323750e..df3ca7b 100644
--- a/model_invite_members_request.go
+++ b/model_invite_members_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_json_patch_operation.go b/model_json_patch_operation.go
index f8fb1ef..9a935da 100644
--- a/model_json_patch_operation.go
+++ b/model_json_patch_operation.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_key_generation_mode.go b/model_key_generation_mode.go
new file mode 100644
index 0000000..80645a4
--- /dev/null
+++ b/model_key_generation_mode.go
@@ -0,0 +1,118 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+ "fmt"
+)
+
+// KeyGenerationMode Determines the Feature Flag key generation mode.
+type KeyGenerationMode string
+
+// List of KeyGenerationMode
+const (
+ KEYGENERATIONMODE_CAMEL_CASE KeyGenerationMode = "camelCase"
+ KEYGENERATIONMODE_LOWER_CASE KeyGenerationMode = "lowerCase"
+ KEYGENERATIONMODE_UPPER_CASE KeyGenerationMode = "upperCase"
+ KEYGENERATIONMODE_PASCAL_CASE KeyGenerationMode = "pascalCase"
+ KEYGENERATIONMODE_KEBAB_CASE KeyGenerationMode = "kebabCase"
+)
+
+// All allowed values of KeyGenerationMode enum
+var AllowedKeyGenerationModeEnumValues = []KeyGenerationMode{
+ "camelCase",
+ "lowerCase",
+ "upperCase",
+ "pascalCase",
+ "kebabCase",
+}
+
+func (v *KeyGenerationMode) UnmarshalJSON(src []byte) error {
+ var value string
+ err := json.Unmarshal(src, &value)
+ if err != nil {
+ return err
+ }
+ enumTypeValue := KeyGenerationMode(value)
+ for _, existing := range AllowedKeyGenerationModeEnumValues {
+ if existing == enumTypeValue {
+ *v = enumTypeValue
+ return nil
+ }
+ }
+
+ return fmt.Errorf("%+v is not a valid KeyGenerationMode", value)
+}
+
+// NewKeyGenerationModeFromValue returns a pointer to a valid KeyGenerationMode
+// for the value passed as argument, or an error if the value passed is not allowed by the enum
+func NewKeyGenerationModeFromValue(v string) (*KeyGenerationMode, error) {
+ ev := KeyGenerationMode(v)
+ if ev.IsValid() {
+ return &ev, nil
+ } else {
+ return nil, fmt.Errorf("invalid value '%v' for KeyGenerationMode: valid values are %v", v, AllowedKeyGenerationModeEnumValues)
+ }
+}
+
+// IsValid return true if the value is valid for the enum, false otherwise
+func (v KeyGenerationMode) IsValid() bool {
+ for _, existing := range AllowedKeyGenerationModeEnumValues {
+ if existing == v {
+ return true
+ }
+ }
+ return false
+}
+
+// Ptr returns reference to KeyGenerationMode value
+func (v KeyGenerationMode) Ptr() *KeyGenerationMode {
+ return &v
+}
+
+type NullableKeyGenerationMode struct {
+ value *KeyGenerationMode
+ isSet bool
+}
+
+func (v NullableKeyGenerationMode) Get() *KeyGenerationMode {
+ return v.value
+}
+
+func (v *NullableKeyGenerationMode) Set(val *KeyGenerationMode) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableKeyGenerationMode) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableKeyGenerationMode) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableKeyGenerationMode(val *KeyGenerationMode) *NullableKeyGenerationMode {
+ return &NullableKeyGenerationMode{value: val, isSet: true}
+}
+
+func (v NullableKeyGenerationMode) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableKeyGenerationMode) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
diff --git a/model_me_model.go b/model_me_model.go
index ee532ec..14f8677 100644
--- a/model_me_model.go
+++ b/model_me_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_member_model.go b/model_member_model.go
index acea366..c9eaa25 100644
--- a/model_member_model.go
+++ b/model_member_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_operation_type.go b/model_operation_type.go
index 745ab56..9f09fc9 100644
--- a/model_operation_type.go
+++ b/model_operation_type.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_organization_admin_model.go b/model_organization_admin_model.go
index c81ca29..6180ef7 100644
--- a/model_organization_admin_model.go
+++ b/model_organization_admin_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_organization_invitation_model.go b/model_organization_invitation_model.go
new file mode 100644
index 0000000..0eac077
--- /dev/null
+++ b/model_organization_invitation_model.go
@@ -0,0 +1,408 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+ "time"
+)
+
+// checks if the OrganizationInvitationModel type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OrganizationInvitationModel{}
+
+// OrganizationInvitationModel struct for OrganizationInvitationModel
+type OrganizationInvitationModel struct {
+ // The identifier of the Invitation.
+ InvitationId *string `json:"invitationId,omitempty"`
+ // The invited user's email address.
+ Email NullableString `json:"email,omitempty"`
+ // The identifier of the Product the user was invited to.
+ ProductId *string `json:"productId,omitempty"`
+ // The name of the Product the user was invited to.
+ ProductName NullableString `json:"productName,omitempty"`
+ // The identifier of the Permission Group the user was invited to.
+ PermissionGroupId *int64 `json:"permissionGroupId,omitempty"`
+ // Creation time of the Invitation.
+ CreatedAt *time.Time `json:"createdAt,omitempty"`
+ // Determines whether the Invitation is expired.
+ Expired *bool `json:"expired,omitempty"`
+ // Expiration time of the Invitation.
+ Expires *time.Time `json:"expires,omitempty"`
+}
+
+// NewOrganizationInvitationModel instantiates a new OrganizationInvitationModel object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewOrganizationInvitationModel() *OrganizationInvitationModel {
+ this := OrganizationInvitationModel{}
+ return &this
+}
+
+// NewOrganizationInvitationModelWithDefaults instantiates a new OrganizationInvitationModel object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewOrganizationInvitationModelWithDefaults() *OrganizationInvitationModel {
+ this := OrganizationInvitationModel{}
+ return &this
+}
+
+// GetInvitationId returns the InvitationId field value if set, zero value otherwise.
+func (o *OrganizationInvitationModel) GetInvitationId() string {
+ if o == nil || IsNil(o.InvitationId) {
+ var ret string
+ return ret
+ }
+ return *o.InvitationId
+}
+
+// GetInvitationIdOk returns a tuple with the InvitationId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationInvitationModel) GetInvitationIdOk() (*string, bool) {
+ if o == nil || IsNil(o.InvitationId) {
+ return nil, false
+ }
+ return o.InvitationId, true
+}
+
+// HasInvitationId returns a boolean if a field has been set.
+func (o *OrganizationInvitationModel) HasInvitationId() bool {
+ if o != nil && !IsNil(o.InvitationId) {
+ return true
+ }
+
+ return false
+}
+
+// SetInvitationId gets a reference to the given string and assigns it to the InvitationId field.
+func (o *OrganizationInvitationModel) SetInvitationId(v string) {
+ o.InvitationId = &v
+}
+
+// GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *OrganizationInvitationModel) GetEmail() string {
+ if o == nil || IsNil(o.Email.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.Email.Get()
+}
+
+// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *OrganizationInvitationModel) GetEmailOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.Email.Get(), o.Email.IsSet()
+}
+
+// HasEmail returns a boolean if a field has been set.
+func (o *OrganizationInvitationModel) HasEmail() bool {
+ if o != nil && o.Email.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetEmail gets a reference to the given NullableString and assigns it to the Email field.
+func (o *OrganizationInvitationModel) SetEmail(v string) {
+ o.Email.Set(&v)
+}
+// SetEmailNil sets the value for Email to be an explicit nil
+func (o *OrganizationInvitationModel) SetEmailNil() {
+ o.Email.Set(nil)
+}
+
+// UnsetEmail ensures that no value is present for Email, not even an explicit nil
+func (o *OrganizationInvitationModel) UnsetEmail() {
+ o.Email.Unset()
+}
+
+// GetProductId returns the ProductId field value if set, zero value otherwise.
+func (o *OrganizationInvitationModel) GetProductId() string {
+ if o == nil || IsNil(o.ProductId) {
+ var ret string
+ return ret
+ }
+ return *o.ProductId
+}
+
+// GetProductIdOk returns a tuple with the ProductId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationInvitationModel) GetProductIdOk() (*string, bool) {
+ if o == nil || IsNil(o.ProductId) {
+ return nil, false
+ }
+ return o.ProductId, true
+}
+
+// HasProductId returns a boolean if a field has been set.
+func (o *OrganizationInvitationModel) HasProductId() bool {
+ if o != nil && !IsNil(o.ProductId) {
+ return true
+ }
+
+ return false
+}
+
+// SetProductId gets a reference to the given string and assigns it to the ProductId field.
+func (o *OrganizationInvitationModel) SetProductId(v string) {
+ o.ProductId = &v
+}
+
+// GetProductName returns the ProductName field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *OrganizationInvitationModel) GetProductName() string {
+ if o == nil || IsNil(o.ProductName.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.ProductName.Get()
+}
+
+// GetProductNameOk returns a tuple with the ProductName field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *OrganizationInvitationModel) GetProductNameOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.ProductName.Get(), o.ProductName.IsSet()
+}
+
+// HasProductName returns a boolean if a field has been set.
+func (o *OrganizationInvitationModel) HasProductName() bool {
+ if o != nil && o.ProductName.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetProductName gets a reference to the given NullableString and assigns it to the ProductName field.
+func (o *OrganizationInvitationModel) SetProductName(v string) {
+ o.ProductName.Set(&v)
+}
+// SetProductNameNil sets the value for ProductName to be an explicit nil
+func (o *OrganizationInvitationModel) SetProductNameNil() {
+ o.ProductName.Set(nil)
+}
+
+// UnsetProductName ensures that no value is present for ProductName, not even an explicit nil
+func (o *OrganizationInvitationModel) UnsetProductName() {
+ o.ProductName.Unset()
+}
+
+// GetPermissionGroupId returns the PermissionGroupId field value if set, zero value otherwise.
+func (o *OrganizationInvitationModel) GetPermissionGroupId() int64 {
+ if o == nil || IsNil(o.PermissionGroupId) {
+ var ret int64
+ return ret
+ }
+ return *o.PermissionGroupId
+}
+
+// GetPermissionGroupIdOk returns a tuple with the PermissionGroupId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationInvitationModel) GetPermissionGroupIdOk() (*int64, bool) {
+ if o == nil || IsNil(o.PermissionGroupId) {
+ return nil, false
+ }
+ return o.PermissionGroupId, true
+}
+
+// HasPermissionGroupId returns a boolean if a field has been set.
+func (o *OrganizationInvitationModel) HasPermissionGroupId() bool {
+ if o != nil && !IsNil(o.PermissionGroupId) {
+ return true
+ }
+
+ return false
+}
+
+// SetPermissionGroupId gets a reference to the given int64 and assigns it to the PermissionGroupId field.
+func (o *OrganizationInvitationModel) SetPermissionGroupId(v int64) {
+ o.PermissionGroupId = &v
+}
+
+// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
+func (o *OrganizationInvitationModel) GetCreatedAt() time.Time {
+ if o == nil || IsNil(o.CreatedAt) {
+ var ret time.Time
+ return ret
+ }
+ return *o.CreatedAt
+}
+
+// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationInvitationModel) GetCreatedAtOk() (*time.Time, bool) {
+ if o == nil || IsNil(o.CreatedAt) {
+ return nil, false
+ }
+ return o.CreatedAt, true
+}
+
+// HasCreatedAt returns a boolean if a field has been set.
+func (o *OrganizationInvitationModel) HasCreatedAt() bool {
+ if o != nil && !IsNil(o.CreatedAt) {
+ return true
+ }
+
+ return false
+}
+
+// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
+func (o *OrganizationInvitationModel) SetCreatedAt(v time.Time) {
+ o.CreatedAt = &v
+}
+
+// GetExpired returns the Expired field value if set, zero value otherwise.
+func (o *OrganizationInvitationModel) GetExpired() bool {
+ if o == nil || IsNil(o.Expired) {
+ var ret bool
+ return ret
+ }
+ return *o.Expired
+}
+
+// GetExpiredOk returns a tuple with the Expired field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationInvitationModel) GetExpiredOk() (*bool, bool) {
+ if o == nil || IsNil(o.Expired) {
+ return nil, false
+ }
+ return o.Expired, true
+}
+
+// HasExpired returns a boolean if a field has been set.
+func (o *OrganizationInvitationModel) HasExpired() bool {
+ if o != nil && !IsNil(o.Expired) {
+ return true
+ }
+
+ return false
+}
+
+// SetExpired gets a reference to the given bool and assigns it to the Expired field.
+func (o *OrganizationInvitationModel) SetExpired(v bool) {
+ o.Expired = &v
+}
+
+// GetExpires returns the Expires field value if set, zero value otherwise.
+func (o *OrganizationInvitationModel) GetExpires() time.Time {
+ if o == nil || IsNil(o.Expires) {
+ var ret time.Time
+ return ret
+ }
+ return *o.Expires
+}
+
+// GetExpiresOk returns a tuple with the Expires field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationInvitationModel) GetExpiresOk() (*time.Time, bool) {
+ if o == nil || IsNil(o.Expires) {
+ return nil, false
+ }
+ return o.Expires, true
+}
+
+// HasExpires returns a boolean if a field has been set.
+func (o *OrganizationInvitationModel) HasExpires() bool {
+ if o != nil && !IsNil(o.Expires) {
+ return true
+ }
+
+ return false
+}
+
+// SetExpires gets a reference to the given time.Time and assigns it to the Expires field.
+func (o *OrganizationInvitationModel) SetExpires(v time.Time) {
+ o.Expires = &v
+}
+
+func (o OrganizationInvitationModel) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OrganizationInvitationModel) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.InvitationId) {
+ toSerialize["invitationId"] = o.InvitationId
+ }
+ if o.Email.IsSet() {
+ toSerialize["email"] = o.Email.Get()
+ }
+ if !IsNil(o.ProductId) {
+ toSerialize["productId"] = o.ProductId
+ }
+ if o.ProductName.IsSet() {
+ toSerialize["productName"] = o.ProductName.Get()
+ }
+ if !IsNil(o.PermissionGroupId) {
+ toSerialize["permissionGroupId"] = o.PermissionGroupId
+ }
+ if !IsNil(o.CreatedAt) {
+ toSerialize["createdAt"] = o.CreatedAt
+ }
+ if !IsNil(o.Expired) {
+ toSerialize["expired"] = o.Expired
+ }
+ if !IsNil(o.Expires) {
+ toSerialize["expires"] = o.Expires
+ }
+ return toSerialize, nil
+}
+
+type NullableOrganizationInvitationModel struct {
+ value *OrganizationInvitationModel
+ isSet bool
+}
+
+func (v NullableOrganizationInvitationModel) Get() *OrganizationInvitationModel {
+ return v.value
+}
+
+func (v *NullableOrganizationInvitationModel) Set(val *OrganizationInvitationModel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableOrganizationInvitationModel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableOrganizationInvitationModel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableOrganizationInvitationModel(val *OrganizationInvitationModel) *NullableOrganizationInvitationModel {
+ return &NullableOrganizationInvitationModel{value: val, isSet: true}
+}
+
+func (v NullableOrganizationInvitationModel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableOrganizationInvitationModel) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_organization_invitation_model__links.go b/model_organization_invitation_model__links.go
new file mode 100644
index 0000000..8d3ca08
--- /dev/null
+++ b/model_organization_invitation_model__links.go
@@ -0,0 +1,163 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the OrganizationInvitationModelLinks type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OrganizationInvitationModelLinks{}
+
+// OrganizationInvitationModelLinks Links to additional related resources.
+type OrganizationInvitationModelLinks struct {
+ Product *ConfigModelLinksSelf `json:"product,omitempty"`
+ PermissionGroup *ConfigModelLinksSelf `json:"permissionGroup,omitempty"`
+}
+
+// NewOrganizationInvitationModelLinks instantiates a new OrganizationInvitationModelLinks object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewOrganizationInvitationModelLinks() *OrganizationInvitationModelLinks {
+ this := OrganizationInvitationModelLinks{}
+ return &this
+}
+
+// NewOrganizationInvitationModelLinksWithDefaults instantiates a new OrganizationInvitationModelLinks object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewOrganizationInvitationModelLinksWithDefaults() *OrganizationInvitationModelLinks {
+ this := OrganizationInvitationModelLinks{}
+ return &this
+}
+
+// GetProduct returns the Product field value if set, zero value otherwise.
+func (o *OrganizationInvitationModelLinks) GetProduct() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Product) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Product
+}
+
+// GetProductOk returns a tuple with the Product field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationInvitationModelLinks) GetProductOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Product) {
+ return nil, false
+ }
+ return o.Product, true
+}
+
+// HasProduct returns a boolean if a field has been set.
+func (o *OrganizationInvitationModelLinks) HasProduct() bool {
+ if o != nil && !IsNil(o.Product) {
+ return true
+ }
+
+ return false
+}
+
+// SetProduct gets a reference to the given ConfigModelLinksSelf and assigns it to the Product field.
+func (o *OrganizationInvitationModelLinks) SetProduct(v ConfigModelLinksSelf) {
+ o.Product = &v
+}
+
+// GetPermissionGroup returns the PermissionGroup field value if set, zero value otherwise.
+func (o *OrganizationInvitationModelLinks) GetPermissionGroup() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.PermissionGroup) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.PermissionGroup
+}
+
+// GetPermissionGroupOk returns a tuple with the PermissionGroup field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationInvitationModelLinks) GetPermissionGroupOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.PermissionGroup) {
+ return nil, false
+ }
+ return o.PermissionGroup, true
+}
+
+// HasPermissionGroup returns a boolean if a field has been set.
+func (o *OrganizationInvitationModelLinks) HasPermissionGroup() bool {
+ if o != nil && !IsNil(o.PermissionGroup) {
+ return true
+ }
+
+ return false
+}
+
+// SetPermissionGroup gets a reference to the given ConfigModelLinksSelf and assigns it to the PermissionGroup field.
+func (o *OrganizationInvitationModelLinks) SetPermissionGroup(v ConfigModelLinksSelf) {
+ o.PermissionGroup = &v
+}
+
+func (o OrganizationInvitationModelLinks) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OrganizationInvitationModelLinks) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.Product) {
+ toSerialize["product"] = o.Product
+ }
+ if !IsNil(o.PermissionGroup) {
+ toSerialize["permissionGroup"] = o.PermissionGroup
+ }
+ return toSerialize, nil
+}
+
+type NullableOrganizationInvitationModelLinks struct {
+ value *OrganizationInvitationModelLinks
+ isSet bool
+}
+
+func (v NullableOrganizationInvitationModelLinks) Get() *OrganizationInvitationModelLinks {
+ return v.value
+}
+
+func (v *NullableOrganizationInvitationModelLinks) Set(val *OrganizationInvitationModelLinks) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableOrganizationInvitationModelLinks) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableOrganizationInvitationModelLinks) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableOrganizationInvitationModelLinks(val *OrganizationInvitationModelLinks) *NullableOrganizationInvitationModelLinks {
+ return &NullableOrganizationInvitationModelLinks{value: val, isSet: true}
+}
+
+func (v NullableOrganizationInvitationModelLinks) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableOrganizationInvitationModelLinks) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_organization_member_model.go b/model_organization_member_model.go
index 28943b3..d785ea0 100644
--- a/model_organization_member_model.go
+++ b/model_organization_member_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_organization_members_model.go b/model_organization_members_model.go
index 5f503e0..e9de8cc 100644
--- a/model_organization_members_model.go
+++ b/model_organization_members_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -22,6 +22,8 @@ var _ MappedNullable = &OrganizationMembersModel{}
type OrganizationMembersModel struct {
// List of Organization Admins.
Admins []OrganizationAdminModel `json:"admins,omitempty"`
+ // List of Billing Managers.
+ BillingManagers []OrganizationAdminModel `json:"billingManagers,omitempty"`
// List of Organization Members.
Members []OrganizationMemberModel `json:"members,omitempty"`
}
@@ -76,6 +78,39 @@ func (o *OrganizationMembersModel) SetAdmins(v []OrganizationAdminModel) {
o.Admins = v
}
+// GetBillingManagers returns the BillingManagers field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *OrganizationMembersModel) GetBillingManagers() []OrganizationAdminModel {
+ if o == nil {
+ var ret []OrganizationAdminModel
+ return ret
+ }
+ return o.BillingManagers
+}
+
+// GetBillingManagersOk returns a tuple with the BillingManagers field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *OrganizationMembersModel) GetBillingManagersOk() ([]OrganizationAdminModel, bool) {
+ if o == nil || IsNil(o.BillingManagers) {
+ return nil, false
+ }
+ return o.BillingManagers, true
+}
+
+// HasBillingManagers returns a boolean if a field has been set.
+func (o *OrganizationMembersModel) HasBillingManagers() bool {
+ if o != nil && IsNil(o.BillingManagers) {
+ return true
+ }
+
+ return false
+}
+
+// SetBillingManagers gets a reference to the given []OrganizationAdminModel and assigns it to the BillingManagers field.
+func (o *OrganizationMembersModel) SetBillingManagers(v []OrganizationAdminModel) {
+ o.BillingManagers = v
+}
+
// GetMembers returns the Members field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *OrganizationMembersModel) GetMembers() []OrganizationMemberModel {
if o == nil {
@@ -122,6 +157,9 @@ func (o OrganizationMembersModel) ToMap() (map[string]interface{}, error) {
if o.Admins != nil {
toSerialize["admins"] = o.Admins
}
+ if o.BillingManagers != nil {
+ toSerialize["billingManagers"] = o.BillingManagers
+ }
if o.Members != nil {
toSerialize["members"] = o.Members
}
diff --git a/model_organization_model.go b/model_organization_model.go
index 546440a..933cc87 100644
--- a/model_organization_model.go
+++ b/model_organization_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_organization_model__links.go b/model_organization_model__links.go
new file mode 100644
index 0000000..dc8cdee
--- /dev/null
+++ b/model_organization_model__links.go
@@ -0,0 +1,199 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the OrganizationModelLinks type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OrganizationModelLinks{}
+
+// OrganizationModelLinks Links to additional related resources.
+type OrganizationModelLinks struct {
+ Products *ConfigModelLinksSelf `json:"products,omitempty"`
+ Invitations *ConfigModelLinksSelf `json:"invitations,omitempty"`
+ Members *ConfigModelLinksSelf `json:"members,omitempty"`
+}
+
+// NewOrganizationModelLinks instantiates a new OrganizationModelLinks object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewOrganizationModelLinks() *OrganizationModelLinks {
+ this := OrganizationModelLinks{}
+ return &this
+}
+
+// NewOrganizationModelLinksWithDefaults instantiates a new OrganizationModelLinks object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewOrganizationModelLinksWithDefaults() *OrganizationModelLinks {
+ this := OrganizationModelLinks{}
+ return &this
+}
+
+// GetProducts returns the Products field value if set, zero value otherwise.
+func (o *OrganizationModelLinks) GetProducts() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Products) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Products
+}
+
+// GetProductsOk returns a tuple with the Products field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationModelLinks) GetProductsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Products) {
+ return nil, false
+ }
+ return o.Products, true
+}
+
+// HasProducts returns a boolean if a field has been set.
+func (o *OrganizationModelLinks) HasProducts() bool {
+ if o != nil && !IsNil(o.Products) {
+ return true
+ }
+
+ return false
+}
+
+// SetProducts gets a reference to the given ConfigModelLinksSelf and assigns it to the Products field.
+func (o *OrganizationModelLinks) SetProducts(v ConfigModelLinksSelf) {
+ o.Products = &v
+}
+
+// GetInvitations returns the Invitations field value if set, zero value otherwise.
+func (o *OrganizationModelLinks) GetInvitations() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Invitations) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Invitations
+}
+
+// GetInvitationsOk returns a tuple with the Invitations field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationModelLinks) GetInvitationsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Invitations) {
+ return nil, false
+ }
+ return o.Invitations, true
+}
+
+// HasInvitations returns a boolean if a field has been set.
+func (o *OrganizationModelLinks) HasInvitations() bool {
+ if o != nil && !IsNil(o.Invitations) {
+ return true
+ }
+
+ return false
+}
+
+// SetInvitations gets a reference to the given ConfigModelLinksSelf and assigns it to the Invitations field.
+func (o *OrganizationModelLinks) SetInvitations(v ConfigModelLinksSelf) {
+ o.Invitations = &v
+}
+
+// GetMembers returns the Members field value if set, zero value otherwise.
+func (o *OrganizationModelLinks) GetMembers() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Members) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Members
+}
+
+// GetMembersOk returns a tuple with the Members field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *OrganizationModelLinks) GetMembersOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Members) {
+ return nil, false
+ }
+ return o.Members, true
+}
+
+// HasMembers returns a boolean if a field has been set.
+func (o *OrganizationModelLinks) HasMembers() bool {
+ if o != nil && !IsNil(o.Members) {
+ return true
+ }
+
+ return false
+}
+
+// SetMembers gets a reference to the given ConfigModelLinksSelf and assigns it to the Members field.
+func (o *OrganizationModelLinks) SetMembers(v ConfigModelLinksSelf) {
+ o.Members = &v
+}
+
+func (o OrganizationModelLinks) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OrganizationModelLinks) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.Products) {
+ toSerialize["products"] = o.Products
+ }
+ if !IsNil(o.Invitations) {
+ toSerialize["invitations"] = o.Invitations
+ }
+ if !IsNil(o.Members) {
+ toSerialize["members"] = o.Members
+ }
+ return toSerialize, nil
+}
+
+type NullableOrganizationModelLinks struct {
+ value *OrganizationModelLinks
+ isSet bool
+}
+
+func (v NullableOrganizationModelLinks) Get() *OrganizationModelLinks {
+ return v.value
+}
+
+func (v *NullableOrganizationModelLinks) Set(val *OrganizationModelLinks) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableOrganizationModelLinks) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableOrganizationModelLinks) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableOrganizationModelLinks(val *OrganizationModelLinks) *NullableOrganizationModelLinks {
+ return &NullableOrganizationModelLinks{value: val, isSet: true}
+}
+
+func (v NullableOrganizationModelLinks) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableOrganizationModelLinks) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_organization_permission_group_model.go b/model_organization_permission_group_model.go
index f258628..9c4cfc4 100644
--- a/model_organization_permission_group_model.go
+++ b/model_organization_permission_group_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_organization_permission_model.go b/model_organization_permission_model.go
index d0fa0b2..4c79ec7 100644
--- a/model_organization_permission_model.go
+++ b/model_organization_permission_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_organization_product_model.go b/model_organization_product_model.go
index 5a90c23..fa9a6e4 100644
--- a/model_organization_product_model.go
+++ b/model_organization_product_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_percentage_option_model.go b/model_percentage_option_model.go
index 49c18aa..187de77 100644
--- a/model_percentage_option_model.go
+++ b/model_percentage_option_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_permission_group_model.go b/model_permission_group_model.go
index 05d1816..95e4b3a 100644
--- a/model_permission_group_model.go
+++ b/model_permission_group_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_preferences_model.go b/model_preferences_model.go
new file mode 100644
index 0000000..babee10
--- /dev/null
+++ b/model_preferences_model.go
@@ -0,0 +1,276 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the PreferencesModel type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &PreferencesModel{}
+
+// PreferencesModel struct for PreferencesModel
+type PreferencesModel struct {
+ // Indicates that a mandatory note required for saving and publishing.
+ ReasonRequired *bool `json:"reasonRequired,omitempty"`
+ KeyGenerationMode *KeyGenerationMode `json:"keyGenerationMode,omitempty"`
+ // Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.
+ ShowVariationId *bool `json:"showVariationId,omitempty"`
+ // List of Environments where mandatory note must be set before saving and publishing.
+ ReasonRequiredEnvironments []ReasonRequiredEnvironmentModel `json:"reasonRequiredEnvironments,omitempty"`
+ // Indicates whether Feature flags and Settings must have a hint.
+ MandatorySettingHint *bool `json:"mandatorySettingHint,omitempty"`
+}
+
+// NewPreferencesModel instantiates a new PreferencesModel object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewPreferencesModel() *PreferencesModel {
+ this := PreferencesModel{}
+ return &this
+}
+
+// NewPreferencesModelWithDefaults instantiates a new PreferencesModel object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewPreferencesModelWithDefaults() *PreferencesModel {
+ this := PreferencesModel{}
+ return &this
+}
+
+// GetReasonRequired returns the ReasonRequired field value if set, zero value otherwise.
+func (o *PreferencesModel) GetReasonRequired() bool {
+ if o == nil || IsNil(o.ReasonRequired) {
+ var ret bool
+ return ret
+ }
+ return *o.ReasonRequired
+}
+
+// GetReasonRequiredOk returns a tuple with the ReasonRequired field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *PreferencesModel) GetReasonRequiredOk() (*bool, bool) {
+ if o == nil || IsNil(o.ReasonRequired) {
+ return nil, false
+ }
+ return o.ReasonRequired, true
+}
+
+// HasReasonRequired returns a boolean if a field has been set.
+func (o *PreferencesModel) HasReasonRequired() bool {
+ if o != nil && !IsNil(o.ReasonRequired) {
+ return true
+ }
+
+ return false
+}
+
+// SetReasonRequired gets a reference to the given bool and assigns it to the ReasonRequired field.
+func (o *PreferencesModel) SetReasonRequired(v bool) {
+ o.ReasonRequired = &v
+}
+
+// GetKeyGenerationMode returns the KeyGenerationMode field value if set, zero value otherwise.
+func (o *PreferencesModel) GetKeyGenerationMode() KeyGenerationMode {
+ if o == nil || IsNil(o.KeyGenerationMode) {
+ var ret KeyGenerationMode
+ return ret
+ }
+ return *o.KeyGenerationMode
+}
+
+// GetKeyGenerationModeOk returns a tuple with the KeyGenerationMode field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *PreferencesModel) GetKeyGenerationModeOk() (*KeyGenerationMode, bool) {
+ if o == nil || IsNil(o.KeyGenerationMode) {
+ return nil, false
+ }
+ return o.KeyGenerationMode, true
+}
+
+// HasKeyGenerationMode returns a boolean if a field has been set.
+func (o *PreferencesModel) HasKeyGenerationMode() bool {
+ if o != nil && !IsNil(o.KeyGenerationMode) {
+ return true
+ }
+
+ return false
+}
+
+// SetKeyGenerationMode gets a reference to the given KeyGenerationMode and assigns it to the KeyGenerationMode field.
+func (o *PreferencesModel) SetKeyGenerationMode(v KeyGenerationMode) {
+ o.KeyGenerationMode = &v
+}
+
+// GetShowVariationId returns the ShowVariationId field value if set, zero value otherwise.
+func (o *PreferencesModel) GetShowVariationId() bool {
+ if o == nil || IsNil(o.ShowVariationId) {
+ var ret bool
+ return ret
+ }
+ return *o.ShowVariationId
+}
+
+// GetShowVariationIdOk returns a tuple with the ShowVariationId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *PreferencesModel) GetShowVariationIdOk() (*bool, bool) {
+ if o == nil || IsNil(o.ShowVariationId) {
+ return nil, false
+ }
+ return o.ShowVariationId, true
+}
+
+// HasShowVariationId returns a boolean if a field has been set.
+func (o *PreferencesModel) HasShowVariationId() bool {
+ if o != nil && !IsNil(o.ShowVariationId) {
+ return true
+ }
+
+ return false
+}
+
+// SetShowVariationId gets a reference to the given bool and assigns it to the ShowVariationId field.
+func (o *PreferencesModel) SetShowVariationId(v bool) {
+ o.ShowVariationId = &v
+}
+
+// GetReasonRequiredEnvironments returns the ReasonRequiredEnvironments field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *PreferencesModel) GetReasonRequiredEnvironments() []ReasonRequiredEnvironmentModel {
+ if o == nil {
+ var ret []ReasonRequiredEnvironmentModel
+ return ret
+ }
+ return o.ReasonRequiredEnvironments
+}
+
+// GetReasonRequiredEnvironmentsOk returns a tuple with the ReasonRequiredEnvironments field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *PreferencesModel) GetReasonRequiredEnvironmentsOk() ([]ReasonRequiredEnvironmentModel, bool) {
+ if o == nil || IsNil(o.ReasonRequiredEnvironments) {
+ return nil, false
+ }
+ return o.ReasonRequiredEnvironments, true
+}
+
+// HasReasonRequiredEnvironments returns a boolean if a field has been set.
+func (o *PreferencesModel) HasReasonRequiredEnvironments() bool {
+ if o != nil && IsNil(o.ReasonRequiredEnvironments) {
+ return true
+ }
+
+ return false
+}
+
+// SetReasonRequiredEnvironments gets a reference to the given []ReasonRequiredEnvironmentModel and assigns it to the ReasonRequiredEnvironments field.
+func (o *PreferencesModel) SetReasonRequiredEnvironments(v []ReasonRequiredEnvironmentModel) {
+ o.ReasonRequiredEnvironments = v
+}
+
+// GetMandatorySettingHint returns the MandatorySettingHint field value if set, zero value otherwise.
+func (o *PreferencesModel) GetMandatorySettingHint() bool {
+ if o == nil || IsNil(o.MandatorySettingHint) {
+ var ret bool
+ return ret
+ }
+ return *o.MandatorySettingHint
+}
+
+// GetMandatorySettingHintOk returns a tuple with the MandatorySettingHint field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *PreferencesModel) GetMandatorySettingHintOk() (*bool, bool) {
+ if o == nil || IsNil(o.MandatorySettingHint) {
+ return nil, false
+ }
+ return o.MandatorySettingHint, true
+}
+
+// HasMandatorySettingHint returns a boolean if a field has been set.
+func (o *PreferencesModel) HasMandatorySettingHint() bool {
+ if o != nil && !IsNil(o.MandatorySettingHint) {
+ return true
+ }
+
+ return false
+}
+
+// SetMandatorySettingHint gets a reference to the given bool and assigns it to the MandatorySettingHint field.
+func (o *PreferencesModel) SetMandatorySettingHint(v bool) {
+ o.MandatorySettingHint = &v
+}
+
+func (o PreferencesModel) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o PreferencesModel) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.ReasonRequired) {
+ toSerialize["reasonRequired"] = o.ReasonRequired
+ }
+ if !IsNil(o.KeyGenerationMode) {
+ toSerialize["keyGenerationMode"] = o.KeyGenerationMode
+ }
+ if !IsNil(o.ShowVariationId) {
+ toSerialize["showVariationId"] = o.ShowVariationId
+ }
+ if o.ReasonRequiredEnvironments != nil {
+ toSerialize["reasonRequiredEnvironments"] = o.ReasonRequiredEnvironments
+ }
+ if !IsNil(o.MandatorySettingHint) {
+ toSerialize["mandatorySettingHint"] = o.MandatorySettingHint
+ }
+ return toSerialize, nil
+}
+
+type NullablePreferencesModel struct {
+ value *PreferencesModel
+ isSet bool
+}
+
+func (v NullablePreferencesModel) Get() *PreferencesModel {
+ return v.value
+}
+
+func (v *NullablePreferencesModel) Set(val *PreferencesModel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullablePreferencesModel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullablePreferencesModel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullablePreferencesModel(val *PreferencesModel) *NullablePreferencesModel {
+ return &NullablePreferencesModel{value: val, isSet: true}
+}
+
+func (v NullablePreferencesModel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullablePreferencesModel) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_prerequisite_comparator.go b/model_prerequisite_comparator.go
index 6f5bccb..507938f 100644
--- a/model_prerequisite_comparator.go
+++ b/model_prerequisite_comparator.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_prerequisite_flag_condition_model.go b/model_prerequisite_flag_condition_model.go
index ec3bbe5..b53e4b5 100644
--- a/model_prerequisite_flag_condition_model.go
+++ b/model_prerequisite_flag_condition_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_product_model.go b/model_product_model.go
index 310961d..0b01b02 100644
--- a/model_product_model.go
+++ b/model_product_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_product_model__links.go b/model_product_model__links.go
new file mode 100644
index 0000000..0cae595
--- /dev/null
+++ b/model_product_model__links.go
@@ -0,0 +1,451 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the ProductModelLinks type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProductModelLinks{}
+
+// ProductModelLinks Links to additional related resources.
+type ProductModelLinks struct {
+ Self *ConfigModelLinksSelf `json:"self,omitempty"`
+ Configs *ConfigModelLinksSelf `json:"configs,omitempty"`
+ Environments *ConfigModelLinksSelf `json:"environments,omitempty"`
+ Tags *ConfigModelLinksSelf `json:"tags,omitempty"`
+ PermissionGroups *ConfigModelLinksSelf `json:"permission-groups,omitempty"`
+ Members *ConfigModelLinksSelf `json:"members,omitempty"`
+ Invitations *ConfigModelLinksSelf `json:"invitations,omitempty"`
+ Segments *ConfigModelLinksSelf `json:"segments,omitempty"`
+ Preferences *ConfigModelLinksSelf `json:"preferences,omitempty"`
+ Webhooks *ConfigModelLinksSelf `json:"webhooks,omitempty"`
+}
+
+// NewProductModelLinks instantiates a new ProductModelLinks object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewProductModelLinks() *ProductModelLinks {
+ this := ProductModelLinks{}
+ return &this
+}
+
+// NewProductModelLinksWithDefaults instantiates a new ProductModelLinks object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewProductModelLinksWithDefaults() *ProductModelLinks {
+ this := ProductModelLinks{}
+ return &this
+}
+
+// GetSelf returns the Self field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetSelf() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Self) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Self
+}
+
+// GetSelfOk returns a tuple with the Self field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetSelfOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Self) {
+ return nil, false
+ }
+ return o.Self, true
+}
+
+// HasSelf returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasSelf() bool {
+ if o != nil && !IsNil(o.Self) {
+ return true
+ }
+
+ return false
+}
+
+// SetSelf gets a reference to the given ConfigModelLinksSelf and assigns it to the Self field.
+func (o *ProductModelLinks) SetSelf(v ConfigModelLinksSelf) {
+ o.Self = &v
+}
+
+// GetConfigs returns the Configs field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetConfigs() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Configs) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Configs
+}
+
+// GetConfigsOk returns a tuple with the Configs field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetConfigsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Configs) {
+ return nil, false
+ }
+ return o.Configs, true
+}
+
+// HasConfigs returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasConfigs() bool {
+ if o != nil && !IsNil(o.Configs) {
+ return true
+ }
+
+ return false
+}
+
+// SetConfigs gets a reference to the given ConfigModelLinksSelf and assigns it to the Configs field.
+func (o *ProductModelLinks) SetConfigs(v ConfigModelLinksSelf) {
+ o.Configs = &v
+}
+
+// GetEnvironments returns the Environments field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetEnvironments() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Environments) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Environments
+}
+
+// GetEnvironmentsOk returns a tuple with the Environments field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetEnvironmentsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Environments) {
+ return nil, false
+ }
+ return o.Environments, true
+}
+
+// HasEnvironments returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasEnvironments() bool {
+ if o != nil && !IsNil(o.Environments) {
+ return true
+ }
+
+ return false
+}
+
+// SetEnvironments gets a reference to the given ConfigModelLinksSelf and assigns it to the Environments field.
+func (o *ProductModelLinks) SetEnvironments(v ConfigModelLinksSelf) {
+ o.Environments = &v
+}
+
+// GetTags returns the Tags field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetTags() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Tags) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Tags
+}
+
+// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetTagsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Tags) {
+ return nil, false
+ }
+ return o.Tags, true
+}
+
+// HasTags returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasTags() bool {
+ if o != nil && !IsNil(o.Tags) {
+ return true
+ }
+
+ return false
+}
+
+// SetTags gets a reference to the given ConfigModelLinksSelf and assigns it to the Tags field.
+func (o *ProductModelLinks) SetTags(v ConfigModelLinksSelf) {
+ o.Tags = &v
+}
+
+// GetPermissionGroups returns the PermissionGroups field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetPermissionGroups() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.PermissionGroups) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.PermissionGroups
+}
+
+// GetPermissionGroupsOk returns a tuple with the PermissionGroups field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetPermissionGroupsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.PermissionGroups) {
+ return nil, false
+ }
+ return o.PermissionGroups, true
+}
+
+// HasPermissionGroups returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasPermissionGroups() bool {
+ if o != nil && !IsNil(o.PermissionGroups) {
+ return true
+ }
+
+ return false
+}
+
+// SetPermissionGroups gets a reference to the given ConfigModelLinksSelf and assigns it to the PermissionGroups field.
+func (o *ProductModelLinks) SetPermissionGroups(v ConfigModelLinksSelf) {
+ o.PermissionGroups = &v
+}
+
+// GetMembers returns the Members field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetMembers() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Members) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Members
+}
+
+// GetMembersOk returns a tuple with the Members field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetMembersOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Members) {
+ return nil, false
+ }
+ return o.Members, true
+}
+
+// HasMembers returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasMembers() bool {
+ if o != nil && !IsNil(o.Members) {
+ return true
+ }
+
+ return false
+}
+
+// SetMembers gets a reference to the given ConfigModelLinksSelf and assigns it to the Members field.
+func (o *ProductModelLinks) SetMembers(v ConfigModelLinksSelf) {
+ o.Members = &v
+}
+
+// GetInvitations returns the Invitations field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetInvitations() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Invitations) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Invitations
+}
+
+// GetInvitationsOk returns a tuple with the Invitations field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetInvitationsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Invitations) {
+ return nil, false
+ }
+ return o.Invitations, true
+}
+
+// HasInvitations returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasInvitations() bool {
+ if o != nil && !IsNil(o.Invitations) {
+ return true
+ }
+
+ return false
+}
+
+// SetInvitations gets a reference to the given ConfigModelLinksSelf and assigns it to the Invitations field.
+func (o *ProductModelLinks) SetInvitations(v ConfigModelLinksSelf) {
+ o.Invitations = &v
+}
+
+// GetSegments returns the Segments field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetSegments() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Segments) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Segments
+}
+
+// GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetSegmentsOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Segments) {
+ return nil, false
+ }
+ return o.Segments, true
+}
+
+// HasSegments returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasSegments() bool {
+ if o != nil && !IsNil(o.Segments) {
+ return true
+ }
+
+ return false
+}
+
+// SetSegments gets a reference to the given ConfigModelLinksSelf and assigns it to the Segments field.
+func (o *ProductModelLinks) SetSegments(v ConfigModelLinksSelf) {
+ o.Segments = &v
+}
+
+// GetPreferences returns the Preferences field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetPreferences() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Preferences) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Preferences
+}
+
+// GetPreferencesOk returns a tuple with the Preferences field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetPreferencesOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Preferences) {
+ return nil, false
+ }
+ return o.Preferences, true
+}
+
+// HasPreferences returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasPreferences() bool {
+ if o != nil && !IsNil(o.Preferences) {
+ return true
+ }
+
+ return false
+}
+
+// SetPreferences gets a reference to the given ConfigModelLinksSelf and assigns it to the Preferences field.
+func (o *ProductModelLinks) SetPreferences(v ConfigModelLinksSelf) {
+ o.Preferences = &v
+}
+
+// GetWebhooks returns the Webhooks field value if set, zero value otherwise.
+func (o *ProductModelLinks) GetWebhooks() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Webhooks) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Webhooks
+}
+
+// GetWebhooksOk returns a tuple with the Webhooks field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ProductModelLinks) GetWebhooksOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Webhooks) {
+ return nil, false
+ }
+ return o.Webhooks, true
+}
+
+// HasWebhooks returns a boolean if a field has been set.
+func (o *ProductModelLinks) HasWebhooks() bool {
+ if o != nil && !IsNil(o.Webhooks) {
+ return true
+ }
+
+ return false
+}
+
+// SetWebhooks gets a reference to the given ConfigModelLinksSelf and assigns it to the Webhooks field.
+func (o *ProductModelLinks) SetWebhooks(v ConfigModelLinksSelf) {
+ o.Webhooks = &v
+}
+
+func (o ProductModelLinks) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ProductModelLinks) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.Self) {
+ toSerialize["self"] = o.Self
+ }
+ if !IsNil(o.Configs) {
+ toSerialize["configs"] = o.Configs
+ }
+ if !IsNil(o.Environments) {
+ toSerialize["environments"] = o.Environments
+ }
+ if !IsNil(o.Tags) {
+ toSerialize["tags"] = o.Tags
+ }
+ if !IsNil(o.PermissionGroups) {
+ toSerialize["permission-groups"] = o.PermissionGroups
+ }
+ if !IsNil(o.Members) {
+ toSerialize["members"] = o.Members
+ }
+ if !IsNil(o.Invitations) {
+ toSerialize["invitations"] = o.Invitations
+ }
+ if !IsNil(o.Segments) {
+ toSerialize["segments"] = o.Segments
+ }
+ if !IsNil(o.Preferences) {
+ toSerialize["preferences"] = o.Preferences
+ }
+ if !IsNil(o.Webhooks) {
+ toSerialize["webhooks"] = o.Webhooks
+ }
+ return toSerialize, nil
+}
+
+type NullableProductModelLinks struct {
+ value *ProductModelLinks
+ isSet bool
+}
+
+func (v NullableProductModelLinks) Get() *ProductModelLinks {
+ return v.value
+}
+
+func (v *NullableProductModelLinks) Set(val *ProductModelLinks) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableProductModelLinks) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableProductModelLinks) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableProductModelLinks(val *ProductModelLinks) *NullableProductModelLinks {
+ return &NullableProductModelLinks{value: val, isSet: true}
+}
+
+func (v NullableProductModelLinks) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableProductModelLinks) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_reason_required_environment_model.go b/model_reason_required_environment_model.go
new file mode 100644
index 0000000..a963cbb
--- /dev/null
+++ b/model_reason_required_environment_model.go
@@ -0,0 +1,212 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the ReasonRequiredEnvironmentModel type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ReasonRequiredEnvironmentModel{}
+
+// ReasonRequiredEnvironmentModel struct for ReasonRequiredEnvironmentModel
+type ReasonRequiredEnvironmentModel struct {
+ // Identifier of the Environment.
+ EnvironmentId *string `json:"environmentId,omitempty"`
+ // Indicates that a mandatory note is required in this Environment for saving and publishing.
+ ReasonRequired *bool `json:"reasonRequired,omitempty"`
+ // Name of the Environment.
+ EnvironmentName NullableString `json:"environmentName,omitempty"`
+}
+
+// NewReasonRequiredEnvironmentModel instantiates a new ReasonRequiredEnvironmentModel object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewReasonRequiredEnvironmentModel() *ReasonRequiredEnvironmentModel {
+ this := ReasonRequiredEnvironmentModel{}
+ return &this
+}
+
+// NewReasonRequiredEnvironmentModelWithDefaults instantiates a new ReasonRequiredEnvironmentModel object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewReasonRequiredEnvironmentModelWithDefaults() *ReasonRequiredEnvironmentModel {
+ this := ReasonRequiredEnvironmentModel{}
+ return &this
+}
+
+// GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.
+func (o *ReasonRequiredEnvironmentModel) GetEnvironmentId() string {
+ if o == nil || IsNil(o.EnvironmentId) {
+ var ret string
+ return ret
+ }
+ return *o.EnvironmentId
+}
+
+// GetEnvironmentIdOk returns a tuple with the EnvironmentId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ReasonRequiredEnvironmentModel) GetEnvironmentIdOk() (*string, bool) {
+ if o == nil || IsNil(o.EnvironmentId) {
+ return nil, false
+ }
+ return o.EnvironmentId, true
+}
+
+// HasEnvironmentId returns a boolean if a field has been set.
+func (o *ReasonRequiredEnvironmentModel) HasEnvironmentId() bool {
+ if o != nil && !IsNil(o.EnvironmentId) {
+ return true
+ }
+
+ return false
+}
+
+// SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.
+func (o *ReasonRequiredEnvironmentModel) SetEnvironmentId(v string) {
+ o.EnvironmentId = &v
+}
+
+// GetReasonRequired returns the ReasonRequired field value if set, zero value otherwise.
+func (o *ReasonRequiredEnvironmentModel) GetReasonRequired() bool {
+ if o == nil || IsNil(o.ReasonRequired) {
+ var ret bool
+ return ret
+ }
+ return *o.ReasonRequired
+}
+
+// GetReasonRequiredOk returns a tuple with the ReasonRequired field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ReasonRequiredEnvironmentModel) GetReasonRequiredOk() (*bool, bool) {
+ if o == nil || IsNil(o.ReasonRequired) {
+ return nil, false
+ }
+ return o.ReasonRequired, true
+}
+
+// HasReasonRequired returns a boolean if a field has been set.
+func (o *ReasonRequiredEnvironmentModel) HasReasonRequired() bool {
+ if o != nil && !IsNil(o.ReasonRequired) {
+ return true
+ }
+
+ return false
+}
+
+// SetReasonRequired gets a reference to the given bool and assigns it to the ReasonRequired field.
+func (o *ReasonRequiredEnvironmentModel) SetReasonRequired(v bool) {
+ o.ReasonRequired = &v
+}
+
+// GetEnvironmentName returns the EnvironmentName field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *ReasonRequiredEnvironmentModel) GetEnvironmentName() string {
+ if o == nil || IsNil(o.EnvironmentName.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.EnvironmentName.Get()
+}
+
+// GetEnvironmentNameOk returns a tuple with the EnvironmentName field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *ReasonRequiredEnvironmentModel) GetEnvironmentNameOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.EnvironmentName.Get(), o.EnvironmentName.IsSet()
+}
+
+// HasEnvironmentName returns a boolean if a field has been set.
+func (o *ReasonRequiredEnvironmentModel) HasEnvironmentName() bool {
+ if o != nil && o.EnvironmentName.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetEnvironmentName gets a reference to the given NullableString and assigns it to the EnvironmentName field.
+func (o *ReasonRequiredEnvironmentModel) SetEnvironmentName(v string) {
+ o.EnvironmentName.Set(&v)
+}
+// SetEnvironmentNameNil sets the value for EnvironmentName to be an explicit nil
+func (o *ReasonRequiredEnvironmentModel) SetEnvironmentNameNil() {
+ o.EnvironmentName.Set(nil)
+}
+
+// UnsetEnvironmentName ensures that no value is present for EnvironmentName, not even an explicit nil
+func (o *ReasonRequiredEnvironmentModel) UnsetEnvironmentName() {
+ o.EnvironmentName.Unset()
+}
+
+func (o ReasonRequiredEnvironmentModel) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ReasonRequiredEnvironmentModel) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.EnvironmentId) {
+ toSerialize["environmentId"] = o.EnvironmentId
+ }
+ if !IsNil(o.ReasonRequired) {
+ toSerialize["reasonRequired"] = o.ReasonRequired
+ }
+ if o.EnvironmentName.IsSet() {
+ toSerialize["environmentName"] = o.EnvironmentName.Get()
+ }
+ return toSerialize, nil
+}
+
+type NullableReasonRequiredEnvironmentModel struct {
+ value *ReasonRequiredEnvironmentModel
+ isSet bool
+}
+
+func (v NullableReasonRequiredEnvironmentModel) Get() *ReasonRequiredEnvironmentModel {
+ return v.value
+}
+
+func (v *NullableReasonRequiredEnvironmentModel) Set(val *ReasonRequiredEnvironmentModel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableReasonRequiredEnvironmentModel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableReasonRequiredEnvironmentModel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableReasonRequiredEnvironmentModel(val *ReasonRequiredEnvironmentModel) *NullableReasonRequiredEnvironmentModel {
+ return &NullableReasonRequiredEnvironmentModel{value: val, isSet: true}
+}
+
+func (v NullableReasonRequiredEnvironmentModel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableReasonRequiredEnvironmentModel) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_reason_required_environment_model__links.go b/model_reason_required_environment_model__links.go
new file mode 100644
index 0000000..f57d865
--- /dev/null
+++ b/model_reason_required_environment_model__links.go
@@ -0,0 +1,127 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the ReasonRequiredEnvironmentModelLinks type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ReasonRequiredEnvironmentModelLinks{}
+
+// ReasonRequiredEnvironmentModelLinks Links to additional related resources.
+type ReasonRequiredEnvironmentModelLinks struct {
+ Environment *ConfigModelLinksSelf `json:"environment,omitempty"`
+}
+
+// NewReasonRequiredEnvironmentModelLinks instantiates a new ReasonRequiredEnvironmentModelLinks object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewReasonRequiredEnvironmentModelLinks() *ReasonRequiredEnvironmentModelLinks {
+ this := ReasonRequiredEnvironmentModelLinks{}
+ return &this
+}
+
+// NewReasonRequiredEnvironmentModelLinksWithDefaults instantiates a new ReasonRequiredEnvironmentModelLinks object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewReasonRequiredEnvironmentModelLinksWithDefaults() *ReasonRequiredEnvironmentModelLinks {
+ this := ReasonRequiredEnvironmentModelLinks{}
+ return &this
+}
+
+// GetEnvironment returns the Environment field value if set, zero value otherwise.
+func (o *ReasonRequiredEnvironmentModelLinks) GetEnvironment() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Environment) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Environment
+}
+
+// GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *ReasonRequiredEnvironmentModelLinks) GetEnvironmentOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Environment) {
+ return nil, false
+ }
+ return o.Environment, true
+}
+
+// HasEnvironment returns a boolean if a field has been set.
+func (o *ReasonRequiredEnvironmentModelLinks) HasEnvironment() bool {
+ if o != nil && !IsNil(o.Environment) {
+ return true
+ }
+
+ return false
+}
+
+// SetEnvironment gets a reference to the given ConfigModelLinksSelf and assigns it to the Environment field.
+func (o *ReasonRequiredEnvironmentModelLinks) SetEnvironment(v ConfigModelLinksSelf) {
+ o.Environment = &v
+}
+
+func (o ReasonRequiredEnvironmentModelLinks) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ReasonRequiredEnvironmentModelLinks) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.Environment) {
+ toSerialize["environment"] = o.Environment
+ }
+ return toSerialize, nil
+}
+
+type NullableReasonRequiredEnvironmentModelLinks struct {
+ value *ReasonRequiredEnvironmentModelLinks
+ isSet bool
+}
+
+func (v NullableReasonRequiredEnvironmentModelLinks) Get() *ReasonRequiredEnvironmentModelLinks {
+ return v.value
+}
+
+func (v *NullableReasonRequiredEnvironmentModelLinks) Set(val *ReasonRequiredEnvironmentModelLinks) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableReasonRequiredEnvironmentModelLinks) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableReasonRequiredEnvironmentModelLinks) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableReasonRequiredEnvironmentModelLinks(val *ReasonRequiredEnvironmentModelLinks) *NullableReasonRequiredEnvironmentModelLinks {
+ return &NullableReasonRequiredEnvironmentModelLinks{value: val, isSet: true}
+}
+
+func (v NullableReasonRequiredEnvironmentModelLinks) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableReasonRequiredEnvironmentModelLinks) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_reference_line.go b/model_reference_line.go
index 7d83dea..8d61a3f 100644
--- a/model_reference_line.go
+++ b/model_reference_line.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_reference_lines.go b/model_reference_lines.go
index e6b7291..064465b 100644
--- a/model_reference_lines.go
+++ b/model_reference_lines.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_rollout_percentage_item_model.go b/model_rollout_percentage_item_model.go
index c78cfbc..cc0229d 100644
--- a/model_rollout_percentage_item_model.go
+++ b/model_rollout_percentage_item_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_rollout_rule_comparator.go b/model_rollout_rule_comparator.go
index 6c41c2b..38eb673 100644
--- a/model_rollout_rule_comparator.go
+++ b/model_rollout_rule_comparator.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_rollout_rule_model.go b/model_rollout_rule_model.go
index 2e92c50..6a2d6af 100644
--- a/model_rollout_rule_model.go
+++ b/model_rollout_rule_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_sdk_keys_model.go b/model_sdk_keys_model.go
index 8faf049..e4ca545 100644
--- a/model_sdk_keys_model.go
+++ b/model_sdk_keys_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_segment_comparator.go b/model_segment_comparator.go
index 77358e1..bbf2f34 100644
--- a/model_segment_comparator.go
+++ b/model_segment_comparator.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_segment_condition_model.go b/model_segment_condition_model.go
index fb41989..a497b9f 100644
--- a/model_segment_condition_model.go
+++ b/model_segment_condition_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_segment_list_model.go b/model_segment_list_model.go
index 0c10719..d8d7844 100644
--- a/model_segment_list_model.go
+++ b/model_segment_list_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_segment_model.go b/model_segment_model.go
index d4e5207..6ae28eb 100644
--- a/model_segment_model.go
+++ b/model_segment_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_setting_data_model.go b/model_setting_data_model.go
index 88b3830..fb2790a 100644
--- a/model_setting_data_model.go
+++ b/model_setting_data_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_setting_formula_model.go b/model_setting_formula_model.go
index 6930734..5202213 100644
--- a/model_setting_formula_model.go
+++ b/model_setting_formula_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_setting_model.go b/model_setting_model.go
index 47bee7b..2d897c9 100644
--- a/model_setting_model.go
+++ b/model_setting_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_setting_model__links.go b/model_setting_model__links.go
new file mode 100644
index 0000000..f37c1b4
--- /dev/null
+++ b/model_setting_model__links.go
@@ -0,0 +1,163 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the SettingModelLinks type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SettingModelLinks{}
+
+// SettingModelLinks Links to additional related resources.
+type SettingModelLinks struct {
+ Self *ConfigModelLinksSelf `json:"self,omitempty"`
+ Config *ConfigModelLinksSelf `json:"config,omitempty"`
+}
+
+// NewSettingModelLinks instantiates a new SettingModelLinks object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewSettingModelLinks() *SettingModelLinks {
+ this := SettingModelLinks{}
+ return &this
+}
+
+// NewSettingModelLinksWithDefaults instantiates a new SettingModelLinks object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewSettingModelLinksWithDefaults() *SettingModelLinks {
+ this := SettingModelLinks{}
+ return &this
+}
+
+// GetSelf returns the Self field value if set, zero value otherwise.
+func (o *SettingModelLinks) GetSelf() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Self) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Self
+}
+
+// GetSelfOk returns a tuple with the Self field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *SettingModelLinks) GetSelfOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Self) {
+ return nil, false
+ }
+ return o.Self, true
+}
+
+// HasSelf returns a boolean if a field has been set.
+func (o *SettingModelLinks) HasSelf() bool {
+ if o != nil && !IsNil(o.Self) {
+ return true
+ }
+
+ return false
+}
+
+// SetSelf gets a reference to the given ConfigModelLinksSelf and assigns it to the Self field.
+func (o *SettingModelLinks) SetSelf(v ConfigModelLinksSelf) {
+ o.Self = &v
+}
+
+// GetConfig returns the Config field value if set, zero value otherwise.
+func (o *SettingModelLinks) GetConfig() ConfigModelLinksSelf {
+ if o == nil || IsNil(o.Config) {
+ var ret ConfigModelLinksSelf
+ return ret
+ }
+ return *o.Config
+}
+
+// GetConfigOk returns a tuple with the Config field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *SettingModelLinks) GetConfigOk() (*ConfigModelLinksSelf, bool) {
+ if o == nil || IsNil(o.Config) {
+ return nil, false
+ }
+ return o.Config, true
+}
+
+// HasConfig returns a boolean if a field has been set.
+func (o *SettingModelLinks) HasConfig() bool {
+ if o != nil && !IsNil(o.Config) {
+ return true
+ }
+
+ return false
+}
+
+// SetConfig gets a reference to the given ConfigModelLinksSelf and assigns it to the Config field.
+func (o *SettingModelLinks) SetConfig(v ConfigModelLinksSelf) {
+ o.Config = &v
+}
+
+func (o SettingModelLinks) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o SettingModelLinks) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.Self) {
+ toSerialize["self"] = o.Self
+ }
+ if !IsNil(o.Config) {
+ toSerialize["config"] = o.Config
+ }
+ return toSerialize, nil
+}
+
+type NullableSettingModelLinks struct {
+ value *SettingModelLinks
+ isSet bool
+}
+
+func (v NullableSettingModelLinks) Get() *SettingModelLinks {
+ return v.value
+}
+
+func (v *NullableSettingModelLinks) Set(val *SettingModelLinks) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableSettingModelLinks) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableSettingModelLinks) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableSettingModelLinks(val *SettingModelLinks) *NullableSettingModelLinks {
+ return &NullableSettingModelLinks{value: val, isSet: true}
+}
+
+func (v NullableSettingModelLinks) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableSettingModelLinks) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_setting_tag_model.go b/model_setting_tag_model.go
index 598c2da..d1c9d05 100644
--- a/model_setting_tag_model.go
+++ b/model_setting_tag_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_setting_type.go b/model_setting_type.go
index b008d91..1d2de1e 100644
--- a/model_setting_type.go
+++ b/model_setting_type.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_setting_value_model.go b/model_setting_value_model.go
index 4f11ad7..66d4dd5 100644
--- a/model_setting_value_model.go
+++ b/model_setting_value_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_tag_model.go b/model_tag_model.go
index d710a6b..fc0df80 100644
--- a/model_tag_model.go
+++ b/model_tag_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_targeting_rule_model.go b/model_targeting_rule_model.go
index 1b7d412..d3622bb 100644
--- a/model_targeting_rule_model.go
+++ b/model_targeting_rule_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
@@ -20,7 +20,7 @@ var _ MappedNullable = &TargetingRuleModel{}
// TargetingRuleModel struct for TargetingRuleModel
type TargetingRuleModel struct {
- // The user conditions that are combined with the AND logical operator. It can be one of the following: - User condition - Segment condition - Prerequisite flag condition
+ // The list of conditions that are combined with logical AND operators. It can be one of the following: - User condition - Segment condition - Prerequisite flag condition
Conditions []ConditionModel `json:"conditions,omitempty"`
// The percentage options from where the evaluation process will choose a value based on the flag's percentage evaluation attribute.
PercentageOptions []PercentageOptionModel `json:"percentageOptions,omitempty"`
diff --git a/model_update_config_request.go b/model_update_config_request.go
index 642e30c..bd9690c 100644
--- a/model_update_config_request.go
+++ b/model_update_config_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_environment_model.go b/model_update_environment_model.go
index 1359202..cd58d68 100644
--- a/model_update_environment_model.go
+++ b/model_update_environment_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_evaluation_formula_model.go b/model_update_evaluation_formula_model.go
index 15d9d33..42eb1d1 100644
--- a/model_update_evaluation_formula_model.go
+++ b/model_update_evaluation_formula_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_evaluation_formula_with_id_model.go b/model_update_evaluation_formula_with_id_model.go
index 1909f70..ad4961f 100644
--- a/model_update_evaluation_formula_with_id_model.go
+++ b/model_update_evaluation_formula_with_id_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_evaluation_formulas_model.go b/model_update_evaluation_formulas_model.go
index 2032e5c..746642c 100644
--- a/model_update_evaluation_formulas_model.go
+++ b/model_update_evaluation_formulas_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_member_permissions_request.go b/model_update_member_permissions_request.go
new file mode 100644
index 0000000..3044b8b
--- /dev/null
+++ b/model_update_member_permissions_request.go
@@ -0,0 +1,260 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the UpdateMemberPermissionsRequest type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &UpdateMemberPermissionsRequest{}
+
+// UpdateMemberPermissionsRequest struct for UpdateMemberPermissionsRequest
+type UpdateMemberPermissionsRequest struct {
+ // List of Permission Group identifiers to where the Member should be added.
+ PermissionGroupIds []int64 `json:"permissionGroupIds,omitempty"`
+ // Indicates that the member must be Organization Admin.
+ IsAdmin NullableBool `json:"isAdmin,omitempty"`
+ // Indicates that the member must be Billing Manager.
+ IsBillingManager NullableBool `json:"isBillingManager,omitempty"`
+ // When `true`, the member will be removed from those Permission Groups that are not listed in the `permissionGroupIds` field.
+ RemoveFromPermissionGroupsWhereIdNotSet *bool `json:"removeFromPermissionGroupsWhereIdNotSet,omitempty"`
+}
+
+// NewUpdateMemberPermissionsRequest instantiates a new UpdateMemberPermissionsRequest object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewUpdateMemberPermissionsRequest() *UpdateMemberPermissionsRequest {
+ this := UpdateMemberPermissionsRequest{}
+ return &this
+}
+
+// NewUpdateMemberPermissionsRequestWithDefaults instantiates a new UpdateMemberPermissionsRequest object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewUpdateMemberPermissionsRequestWithDefaults() *UpdateMemberPermissionsRequest {
+ this := UpdateMemberPermissionsRequest{}
+ return &this
+}
+
+// GetPermissionGroupIds returns the PermissionGroupIds field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *UpdateMemberPermissionsRequest) GetPermissionGroupIds() []int64 {
+ if o == nil {
+ var ret []int64
+ return ret
+ }
+ return o.PermissionGroupIds
+}
+
+// GetPermissionGroupIdsOk returns a tuple with the PermissionGroupIds field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *UpdateMemberPermissionsRequest) GetPermissionGroupIdsOk() ([]int64, bool) {
+ if o == nil || IsNil(o.PermissionGroupIds) {
+ return nil, false
+ }
+ return o.PermissionGroupIds, true
+}
+
+// HasPermissionGroupIds returns a boolean if a field has been set.
+func (o *UpdateMemberPermissionsRequest) HasPermissionGroupIds() bool {
+ if o != nil && IsNil(o.PermissionGroupIds) {
+ return true
+ }
+
+ return false
+}
+
+// SetPermissionGroupIds gets a reference to the given []int64 and assigns it to the PermissionGroupIds field.
+func (o *UpdateMemberPermissionsRequest) SetPermissionGroupIds(v []int64) {
+ o.PermissionGroupIds = v
+}
+
+// GetIsAdmin returns the IsAdmin field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *UpdateMemberPermissionsRequest) GetIsAdmin() bool {
+ if o == nil || IsNil(o.IsAdmin.Get()) {
+ var ret bool
+ return ret
+ }
+ return *o.IsAdmin.Get()
+}
+
+// GetIsAdminOk returns a tuple with the IsAdmin field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *UpdateMemberPermissionsRequest) GetIsAdminOk() (*bool, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.IsAdmin.Get(), o.IsAdmin.IsSet()
+}
+
+// HasIsAdmin returns a boolean if a field has been set.
+func (o *UpdateMemberPermissionsRequest) HasIsAdmin() bool {
+ if o != nil && o.IsAdmin.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetIsAdmin gets a reference to the given NullableBool and assigns it to the IsAdmin field.
+func (o *UpdateMemberPermissionsRequest) SetIsAdmin(v bool) {
+ o.IsAdmin.Set(&v)
+}
+// SetIsAdminNil sets the value for IsAdmin to be an explicit nil
+func (o *UpdateMemberPermissionsRequest) SetIsAdminNil() {
+ o.IsAdmin.Set(nil)
+}
+
+// UnsetIsAdmin ensures that no value is present for IsAdmin, not even an explicit nil
+func (o *UpdateMemberPermissionsRequest) UnsetIsAdmin() {
+ o.IsAdmin.Unset()
+}
+
+// GetIsBillingManager returns the IsBillingManager field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *UpdateMemberPermissionsRequest) GetIsBillingManager() bool {
+ if o == nil || IsNil(o.IsBillingManager.Get()) {
+ var ret bool
+ return ret
+ }
+ return *o.IsBillingManager.Get()
+}
+
+// GetIsBillingManagerOk returns a tuple with the IsBillingManager field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *UpdateMemberPermissionsRequest) GetIsBillingManagerOk() (*bool, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.IsBillingManager.Get(), o.IsBillingManager.IsSet()
+}
+
+// HasIsBillingManager returns a boolean if a field has been set.
+func (o *UpdateMemberPermissionsRequest) HasIsBillingManager() bool {
+ if o != nil && o.IsBillingManager.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetIsBillingManager gets a reference to the given NullableBool and assigns it to the IsBillingManager field.
+func (o *UpdateMemberPermissionsRequest) SetIsBillingManager(v bool) {
+ o.IsBillingManager.Set(&v)
+}
+// SetIsBillingManagerNil sets the value for IsBillingManager to be an explicit nil
+func (o *UpdateMemberPermissionsRequest) SetIsBillingManagerNil() {
+ o.IsBillingManager.Set(nil)
+}
+
+// UnsetIsBillingManager ensures that no value is present for IsBillingManager, not even an explicit nil
+func (o *UpdateMemberPermissionsRequest) UnsetIsBillingManager() {
+ o.IsBillingManager.Unset()
+}
+
+// GetRemoveFromPermissionGroupsWhereIdNotSet returns the RemoveFromPermissionGroupsWhereIdNotSet field value if set, zero value otherwise.
+func (o *UpdateMemberPermissionsRequest) GetRemoveFromPermissionGroupsWhereIdNotSet() bool {
+ if o == nil || IsNil(o.RemoveFromPermissionGroupsWhereIdNotSet) {
+ var ret bool
+ return ret
+ }
+ return *o.RemoveFromPermissionGroupsWhereIdNotSet
+}
+
+// GetRemoveFromPermissionGroupsWhereIdNotSetOk returns a tuple with the RemoveFromPermissionGroupsWhereIdNotSet field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *UpdateMemberPermissionsRequest) GetRemoveFromPermissionGroupsWhereIdNotSetOk() (*bool, bool) {
+ if o == nil || IsNil(o.RemoveFromPermissionGroupsWhereIdNotSet) {
+ return nil, false
+ }
+ return o.RemoveFromPermissionGroupsWhereIdNotSet, true
+}
+
+// HasRemoveFromPermissionGroupsWhereIdNotSet returns a boolean if a field has been set.
+func (o *UpdateMemberPermissionsRequest) HasRemoveFromPermissionGroupsWhereIdNotSet() bool {
+ if o != nil && !IsNil(o.RemoveFromPermissionGroupsWhereIdNotSet) {
+ return true
+ }
+
+ return false
+}
+
+// SetRemoveFromPermissionGroupsWhereIdNotSet gets a reference to the given bool and assigns it to the RemoveFromPermissionGroupsWhereIdNotSet field.
+func (o *UpdateMemberPermissionsRequest) SetRemoveFromPermissionGroupsWhereIdNotSet(v bool) {
+ o.RemoveFromPermissionGroupsWhereIdNotSet = &v
+}
+
+func (o UpdateMemberPermissionsRequest) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o UpdateMemberPermissionsRequest) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if o.PermissionGroupIds != nil {
+ toSerialize["permissionGroupIds"] = o.PermissionGroupIds
+ }
+ if o.IsAdmin.IsSet() {
+ toSerialize["isAdmin"] = o.IsAdmin.Get()
+ }
+ if o.IsBillingManager.IsSet() {
+ toSerialize["isBillingManager"] = o.IsBillingManager.Get()
+ }
+ if !IsNil(o.RemoveFromPermissionGroupsWhereIdNotSet) {
+ toSerialize["removeFromPermissionGroupsWhereIdNotSet"] = o.RemoveFromPermissionGroupsWhereIdNotSet
+ }
+ return toSerialize, nil
+}
+
+type NullableUpdateMemberPermissionsRequest struct {
+ value *UpdateMemberPermissionsRequest
+ isSet bool
+}
+
+func (v NullableUpdateMemberPermissionsRequest) Get() *UpdateMemberPermissionsRequest {
+ return v.value
+}
+
+func (v *NullableUpdateMemberPermissionsRequest) Set(val *UpdateMemberPermissionsRequest) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableUpdateMemberPermissionsRequest) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableUpdateMemberPermissionsRequest) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableUpdateMemberPermissionsRequest(val *UpdateMemberPermissionsRequest) *NullableUpdateMemberPermissionsRequest {
+ return &NullableUpdateMemberPermissionsRequest{value: val, isSet: true}
+}
+
+func (v NullableUpdateMemberPermissionsRequest) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableUpdateMemberPermissionsRequest) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_update_permission_group_request.go b/model_update_permission_group_request.go
index 5ed7e57..74b87e2 100644
--- a/model_update_permission_group_request.go
+++ b/model_update_permission_group_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_preferences_request.go b/model_update_preferences_request.go
new file mode 100644
index 0000000..6e8b408
--- /dev/null
+++ b/model_update_preferences_request.go
@@ -0,0 +1,306 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the UpdatePreferencesRequest type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &UpdatePreferencesRequest{}
+
+// UpdatePreferencesRequest struct for UpdatePreferencesRequest
+type UpdatePreferencesRequest struct {
+ // Indicates that a mandatory note is required for saving and publishing.
+ ReasonRequired NullableBool `json:"reasonRequired,omitempty"`
+ KeyGenerationMode *KeyGenerationMode `json:"keyGenerationMode,omitempty"`
+ // Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.
+ ShowVariationId NullableBool `json:"showVariationId,omitempty"`
+ // Indicates whether Feature flags and Settings must have a hint.
+ MandatorySettingHint NullableBool `json:"mandatorySettingHint,omitempty"`
+ // List of Environments where mandatory note must be set before saving and publishing.
+ ReasonRequiredEnvironments []UpdateReasonRequiredEnvironmentModel `json:"reasonRequiredEnvironments,omitempty"`
+}
+
+// NewUpdatePreferencesRequest instantiates a new UpdatePreferencesRequest object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewUpdatePreferencesRequest() *UpdatePreferencesRequest {
+ this := UpdatePreferencesRequest{}
+ return &this
+}
+
+// NewUpdatePreferencesRequestWithDefaults instantiates a new UpdatePreferencesRequest object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewUpdatePreferencesRequestWithDefaults() *UpdatePreferencesRequest {
+ this := UpdatePreferencesRequest{}
+ return &this
+}
+
+// GetReasonRequired returns the ReasonRequired field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *UpdatePreferencesRequest) GetReasonRequired() bool {
+ if o == nil || IsNil(o.ReasonRequired.Get()) {
+ var ret bool
+ return ret
+ }
+ return *o.ReasonRequired.Get()
+}
+
+// GetReasonRequiredOk returns a tuple with the ReasonRequired field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *UpdatePreferencesRequest) GetReasonRequiredOk() (*bool, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.ReasonRequired.Get(), o.ReasonRequired.IsSet()
+}
+
+// HasReasonRequired returns a boolean if a field has been set.
+func (o *UpdatePreferencesRequest) HasReasonRequired() bool {
+ if o != nil && o.ReasonRequired.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetReasonRequired gets a reference to the given NullableBool and assigns it to the ReasonRequired field.
+func (o *UpdatePreferencesRequest) SetReasonRequired(v bool) {
+ o.ReasonRequired.Set(&v)
+}
+// SetReasonRequiredNil sets the value for ReasonRequired to be an explicit nil
+func (o *UpdatePreferencesRequest) SetReasonRequiredNil() {
+ o.ReasonRequired.Set(nil)
+}
+
+// UnsetReasonRequired ensures that no value is present for ReasonRequired, not even an explicit nil
+func (o *UpdatePreferencesRequest) UnsetReasonRequired() {
+ o.ReasonRequired.Unset()
+}
+
+// GetKeyGenerationMode returns the KeyGenerationMode field value if set, zero value otherwise.
+func (o *UpdatePreferencesRequest) GetKeyGenerationMode() KeyGenerationMode {
+ if o == nil || IsNil(o.KeyGenerationMode) {
+ var ret KeyGenerationMode
+ return ret
+ }
+ return *o.KeyGenerationMode
+}
+
+// GetKeyGenerationModeOk returns a tuple with the KeyGenerationMode field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *UpdatePreferencesRequest) GetKeyGenerationModeOk() (*KeyGenerationMode, bool) {
+ if o == nil || IsNil(o.KeyGenerationMode) {
+ return nil, false
+ }
+ return o.KeyGenerationMode, true
+}
+
+// HasKeyGenerationMode returns a boolean if a field has been set.
+func (o *UpdatePreferencesRequest) HasKeyGenerationMode() bool {
+ if o != nil && !IsNil(o.KeyGenerationMode) {
+ return true
+ }
+
+ return false
+}
+
+// SetKeyGenerationMode gets a reference to the given KeyGenerationMode and assigns it to the KeyGenerationMode field.
+func (o *UpdatePreferencesRequest) SetKeyGenerationMode(v KeyGenerationMode) {
+ o.KeyGenerationMode = &v
+}
+
+// GetShowVariationId returns the ShowVariationId field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *UpdatePreferencesRequest) GetShowVariationId() bool {
+ if o == nil || IsNil(o.ShowVariationId.Get()) {
+ var ret bool
+ return ret
+ }
+ return *o.ShowVariationId.Get()
+}
+
+// GetShowVariationIdOk returns a tuple with the ShowVariationId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *UpdatePreferencesRequest) GetShowVariationIdOk() (*bool, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.ShowVariationId.Get(), o.ShowVariationId.IsSet()
+}
+
+// HasShowVariationId returns a boolean if a field has been set.
+func (o *UpdatePreferencesRequest) HasShowVariationId() bool {
+ if o != nil && o.ShowVariationId.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetShowVariationId gets a reference to the given NullableBool and assigns it to the ShowVariationId field.
+func (o *UpdatePreferencesRequest) SetShowVariationId(v bool) {
+ o.ShowVariationId.Set(&v)
+}
+// SetShowVariationIdNil sets the value for ShowVariationId to be an explicit nil
+func (o *UpdatePreferencesRequest) SetShowVariationIdNil() {
+ o.ShowVariationId.Set(nil)
+}
+
+// UnsetShowVariationId ensures that no value is present for ShowVariationId, not even an explicit nil
+func (o *UpdatePreferencesRequest) UnsetShowVariationId() {
+ o.ShowVariationId.Unset()
+}
+
+// GetMandatorySettingHint returns the MandatorySettingHint field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *UpdatePreferencesRequest) GetMandatorySettingHint() bool {
+ if o == nil || IsNil(o.MandatorySettingHint.Get()) {
+ var ret bool
+ return ret
+ }
+ return *o.MandatorySettingHint.Get()
+}
+
+// GetMandatorySettingHintOk returns a tuple with the MandatorySettingHint field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *UpdatePreferencesRequest) GetMandatorySettingHintOk() (*bool, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.MandatorySettingHint.Get(), o.MandatorySettingHint.IsSet()
+}
+
+// HasMandatorySettingHint returns a boolean if a field has been set.
+func (o *UpdatePreferencesRequest) HasMandatorySettingHint() bool {
+ if o != nil && o.MandatorySettingHint.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetMandatorySettingHint gets a reference to the given NullableBool and assigns it to the MandatorySettingHint field.
+func (o *UpdatePreferencesRequest) SetMandatorySettingHint(v bool) {
+ o.MandatorySettingHint.Set(&v)
+}
+// SetMandatorySettingHintNil sets the value for MandatorySettingHint to be an explicit nil
+func (o *UpdatePreferencesRequest) SetMandatorySettingHintNil() {
+ o.MandatorySettingHint.Set(nil)
+}
+
+// UnsetMandatorySettingHint ensures that no value is present for MandatorySettingHint, not even an explicit nil
+func (o *UpdatePreferencesRequest) UnsetMandatorySettingHint() {
+ o.MandatorySettingHint.Unset()
+}
+
+// GetReasonRequiredEnvironments returns the ReasonRequiredEnvironments field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *UpdatePreferencesRequest) GetReasonRequiredEnvironments() []UpdateReasonRequiredEnvironmentModel {
+ if o == nil {
+ var ret []UpdateReasonRequiredEnvironmentModel
+ return ret
+ }
+ return o.ReasonRequiredEnvironments
+}
+
+// GetReasonRequiredEnvironmentsOk returns a tuple with the ReasonRequiredEnvironments field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *UpdatePreferencesRequest) GetReasonRequiredEnvironmentsOk() ([]UpdateReasonRequiredEnvironmentModel, bool) {
+ if o == nil || IsNil(o.ReasonRequiredEnvironments) {
+ return nil, false
+ }
+ return o.ReasonRequiredEnvironments, true
+}
+
+// HasReasonRequiredEnvironments returns a boolean if a field has been set.
+func (o *UpdatePreferencesRequest) HasReasonRequiredEnvironments() bool {
+ if o != nil && IsNil(o.ReasonRequiredEnvironments) {
+ return true
+ }
+
+ return false
+}
+
+// SetReasonRequiredEnvironments gets a reference to the given []UpdateReasonRequiredEnvironmentModel and assigns it to the ReasonRequiredEnvironments field.
+func (o *UpdatePreferencesRequest) SetReasonRequiredEnvironments(v []UpdateReasonRequiredEnvironmentModel) {
+ o.ReasonRequiredEnvironments = v
+}
+
+func (o UpdatePreferencesRequest) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o UpdatePreferencesRequest) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if o.ReasonRequired.IsSet() {
+ toSerialize["reasonRequired"] = o.ReasonRequired.Get()
+ }
+ if !IsNil(o.KeyGenerationMode) {
+ toSerialize["keyGenerationMode"] = o.KeyGenerationMode
+ }
+ if o.ShowVariationId.IsSet() {
+ toSerialize["showVariationId"] = o.ShowVariationId.Get()
+ }
+ if o.MandatorySettingHint.IsSet() {
+ toSerialize["mandatorySettingHint"] = o.MandatorySettingHint.Get()
+ }
+ if o.ReasonRequiredEnvironments != nil {
+ toSerialize["reasonRequiredEnvironments"] = o.ReasonRequiredEnvironments
+ }
+ return toSerialize, nil
+}
+
+type NullableUpdatePreferencesRequest struct {
+ value *UpdatePreferencesRequest
+ isSet bool
+}
+
+func (v NullableUpdatePreferencesRequest) Get() *UpdatePreferencesRequest {
+ return v.value
+}
+
+func (v *NullableUpdatePreferencesRequest) Set(val *UpdatePreferencesRequest) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableUpdatePreferencesRequest) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableUpdatePreferencesRequest) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableUpdatePreferencesRequest(val *UpdatePreferencesRequest) *NullableUpdatePreferencesRequest {
+ return &NullableUpdatePreferencesRequest{value: val, isSet: true}
+}
+
+func (v NullableUpdatePreferencesRequest) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableUpdatePreferencesRequest) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_update_product_request.go b/model_update_product_request.go
index fd7895a..81d4846 100644
--- a/model_update_product_request.go
+++ b/model_update_product_request.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_reason_required_environment_model.go b/model_update_reason_required_environment_model.go
new file mode 100644
index 0000000..e429456
--- /dev/null
+++ b/model_update_reason_required_environment_model.go
@@ -0,0 +1,165 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the UpdateReasonRequiredEnvironmentModel type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &UpdateReasonRequiredEnvironmentModel{}
+
+// UpdateReasonRequiredEnvironmentModel struct for UpdateReasonRequiredEnvironmentModel
+type UpdateReasonRequiredEnvironmentModel struct {
+ // Identifier of the Environment.
+ EnvironmentId *string `json:"environmentId,omitempty"`
+ // Indicates that a mandatory note is required in this Environment for saving and publishing.
+ ReasonRequired *bool `json:"reasonRequired,omitempty"`
+}
+
+// NewUpdateReasonRequiredEnvironmentModel instantiates a new UpdateReasonRequiredEnvironmentModel object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewUpdateReasonRequiredEnvironmentModel() *UpdateReasonRequiredEnvironmentModel {
+ this := UpdateReasonRequiredEnvironmentModel{}
+ return &this
+}
+
+// NewUpdateReasonRequiredEnvironmentModelWithDefaults instantiates a new UpdateReasonRequiredEnvironmentModel object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewUpdateReasonRequiredEnvironmentModelWithDefaults() *UpdateReasonRequiredEnvironmentModel {
+ this := UpdateReasonRequiredEnvironmentModel{}
+ return &this
+}
+
+// GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.
+func (o *UpdateReasonRequiredEnvironmentModel) GetEnvironmentId() string {
+ if o == nil || IsNil(o.EnvironmentId) {
+ var ret string
+ return ret
+ }
+ return *o.EnvironmentId
+}
+
+// GetEnvironmentIdOk returns a tuple with the EnvironmentId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *UpdateReasonRequiredEnvironmentModel) GetEnvironmentIdOk() (*string, bool) {
+ if o == nil || IsNil(o.EnvironmentId) {
+ return nil, false
+ }
+ return o.EnvironmentId, true
+}
+
+// HasEnvironmentId returns a boolean if a field has been set.
+func (o *UpdateReasonRequiredEnvironmentModel) HasEnvironmentId() bool {
+ if o != nil && !IsNil(o.EnvironmentId) {
+ return true
+ }
+
+ return false
+}
+
+// SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.
+func (o *UpdateReasonRequiredEnvironmentModel) SetEnvironmentId(v string) {
+ o.EnvironmentId = &v
+}
+
+// GetReasonRequired returns the ReasonRequired field value if set, zero value otherwise.
+func (o *UpdateReasonRequiredEnvironmentModel) GetReasonRequired() bool {
+ if o == nil || IsNil(o.ReasonRequired) {
+ var ret bool
+ return ret
+ }
+ return *o.ReasonRequired
+}
+
+// GetReasonRequiredOk returns a tuple with the ReasonRequired field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *UpdateReasonRequiredEnvironmentModel) GetReasonRequiredOk() (*bool, bool) {
+ if o == nil || IsNil(o.ReasonRequired) {
+ return nil, false
+ }
+ return o.ReasonRequired, true
+}
+
+// HasReasonRequired returns a boolean if a field has been set.
+func (o *UpdateReasonRequiredEnvironmentModel) HasReasonRequired() bool {
+ if o != nil && !IsNil(o.ReasonRequired) {
+ return true
+ }
+
+ return false
+}
+
+// SetReasonRequired gets a reference to the given bool and assigns it to the ReasonRequired field.
+func (o *UpdateReasonRequiredEnvironmentModel) SetReasonRequired(v bool) {
+ o.ReasonRequired = &v
+}
+
+func (o UpdateReasonRequiredEnvironmentModel) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o UpdateReasonRequiredEnvironmentModel) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.EnvironmentId) {
+ toSerialize["environmentId"] = o.EnvironmentId
+ }
+ if !IsNil(o.ReasonRequired) {
+ toSerialize["reasonRequired"] = o.ReasonRequired
+ }
+ return toSerialize, nil
+}
+
+type NullableUpdateReasonRequiredEnvironmentModel struct {
+ value *UpdateReasonRequiredEnvironmentModel
+ isSet bool
+}
+
+func (v NullableUpdateReasonRequiredEnvironmentModel) Get() *UpdateReasonRequiredEnvironmentModel {
+ return v.value
+}
+
+func (v *NullableUpdateReasonRequiredEnvironmentModel) Set(val *UpdateReasonRequiredEnvironmentModel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableUpdateReasonRequiredEnvironmentModel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableUpdateReasonRequiredEnvironmentModel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableUpdateReasonRequiredEnvironmentModel(val *UpdateReasonRequiredEnvironmentModel) *NullableUpdateReasonRequiredEnvironmentModel {
+ return &NullableUpdateReasonRequiredEnvironmentModel{value: val, isSet: true}
+}
+
+func (v NullableUpdateReasonRequiredEnvironmentModel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableUpdateReasonRequiredEnvironmentModel) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_update_segment_model.go b/model_update_segment_model.go
index 2bd9a8d..82c5b7f 100644
--- a/model_update_segment_model.go
+++ b/model_update_segment_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_setting_value_model.go b/model_update_setting_value_model.go
index 56c628b..08b0271 100644
--- a/model_update_setting_value_model.go
+++ b/model_update_setting_value_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_setting_value_with_setting_id_model.go b/model_update_setting_value_with_setting_id_model.go
index 0fdde31..c6d7a39 100644
--- a/model_update_setting_value_with_setting_id_model.go
+++ b/model_update_setting_value_with_setting_id_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_setting_values_with_id_model.go b/model_update_setting_values_with_id_model.go
index 30b0c36..b6b7be9 100644
--- a/model_update_setting_values_with_id_model.go
+++ b/model_update_setting_values_with_id_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_update_tag_model.go b/model_update_tag_model.go
index 78e5e47..178e3a8 100644
--- a/model_update_tag_model.go
+++ b/model_update_tag_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_user_comparator.go b/model_user_comparator.go
index 52e2430..e82fe96 100644
--- a/model_user_comparator.go
+++ b/model_user_comparator.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_user_condition_model.go b/model_user_condition_model.go
index c2d4873..0a4398b 100644
--- a/model_user_condition_model.go
+++ b/model_user_condition_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_user_model.go b/model_user_model.go
index eeee8f5..ef76094 100644
--- a/model_user_model.go
+++ b/model_user_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_value_model.go b/model_value_model.go
index e243f41..e535176 100644
--- a/model_value_model.go
+++ b/model_value_model.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/model_web_hook_http_method.go b/model_web_hook_http_method.go
new file mode 100644
index 0000000..28c9523
--- /dev/null
+++ b/model_web_hook_http_method.go
@@ -0,0 +1,112 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+ "fmt"
+)
+
+// WebHookHttpMethod the model 'WebHookHttpMethod'
+type WebHookHttpMethod string
+
+// List of WebHookHttpMethod
+const (
+ WEBHOOKHTTPMETHOD_GET WebHookHttpMethod = "get"
+ WEBHOOKHTTPMETHOD_POST WebHookHttpMethod = "post"
+)
+
+// All allowed values of WebHookHttpMethod enum
+var AllowedWebHookHttpMethodEnumValues = []WebHookHttpMethod{
+ "get",
+ "post",
+}
+
+func (v *WebHookHttpMethod) UnmarshalJSON(src []byte) error {
+ var value string
+ err := json.Unmarshal(src, &value)
+ if err != nil {
+ return err
+ }
+ enumTypeValue := WebHookHttpMethod(value)
+ for _, existing := range AllowedWebHookHttpMethodEnumValues {
+ if existing == enumTypeValue {
+ *v = enumTypeValue
+ return nil
+ }
+ }
+
+ return fmt.Errorf("%+v is not a valid WebHookHttpMethod", value)
+}
+
+// NewWebHookHttpMethodFromValue returns a pointer to a valid WebHookHttpMethod
+// for the value passed as argument, or an error if the value passed is not allowed by the enum
+func NewWebHookHttpMethodFromValue(v string) (*WebHookHttpMethod, error) {
+ ev := WebHookHttpMethod(v)
+ if ev.IsValid() {
+ return &ev, nil
+ } else {
+ return nil, fmt.Errorf("invalid value '%v' for WebHookHttpMethod: valid values are %v", v, AllowedWebHookHttpMethodEnumValues)
+ }
+}
+
+// IsValid return true if the value is valid for the enum, false otherwise
+func (v WebHookHttpMethod) IsValid() bool {
+ for _, existing := range AllowedWebHookHttpMethodEnumValues {
+ if existing == v {
+ return true
+ }
+ }
+ return false
+}
+
+// Ptr returns reference to WebHookHttpMethod value
+func (v WebHookHttpMethod) Ptr() *WebHookHttpMethod {
+ return &v
+}
+
+type NullableWebHookHttpMethod struct {
+ value *WebHookHttpMethod
+ isSet bool
+}
+
+func (v NullableWebHookHttpMethod) Get() *WebHookHttpMethod {
+ return v.value
+}
+
+func (v *NullableWebHookHttpMethod) Set(val *WebHookHttpMethod) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableWebHookHttpMethod) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableWebHookHttpMethod) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableWebHookHttpMethod(val *WebHookHttpMethod) *NullableWebHookHttpMethod {
+ return &NullableWebHookHttpMethod{value: val, isSet: true}
+}
+
+func (v NullableWebHookHttpMethod) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableWebHookHttpMethod) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
diff --git a/model_webhook_header_model.go b/model_webhook_header_model.go
new file mode 100644
index 0000000..cf98bae
--- /dev/null
+++ b/model_webhook_header_model.go
@@ -0,0 +1,184 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the WebhookHeaderModel type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &WebhookHeaderModel{}
+
+// WebhookHeaderModel struct for WebhookHeaderModel
+type WebhookHeaderModel struct {
+ // The HTTP header key.
+ Key string `json:"key"`
+ // The HTTP header value.
+ Value string `json:"value"`
+ // Indicates whether the header value is sensitive.
+ IsSecure *bool `json:"isSecure,omitempty"`
+}
+
+// NewWebhookHeaderModel instantiates a new WebhookHeaderModel object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewWebhookHeaderModel(key string, value string) *WebhookHeaderModel {
+ this := WebhookHeaderModel{}
+ this.Key = key
+ this.Value = value
+ return &this
+}
+
+// NewWebhookHeaderModelWithDefaults instantiates a new WebhookHeaderModel object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewWebhookHeaderModelWithDefaults() *WebhookHeaderModel {
+ this := WebhookHeaderModel{}
+ return &this
+}
+
+// GetKey returns the Key field value
+func (o *WebhookHeaderModel) GetKey() string {
+ if o == nil {
+ var ret string
+ return ret
+ }
+
+ return o.Key
+}
+
+// GetKeyOk returns a tuple with the Key field value
+// and a boolean to check if the value has been set.
+func (o *WebhookHeaderModel) GetKeyOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.Key, true
+}
+
+// SetKey sets field value
+func (o *WebhookHeaderModel) SetKey(v string) {
+ o.Key = v
+}
+
+// GetValue returns the Value field value
+func (o *WebhookHeaderModel) GetValue() string {
+ if o == nil {
+ var ret string
+ return ret
+ }
+
+ return o.Value
+}
+
+// GetValueOk returns a tuple with the Value field value
+// and a boolean to check if the value has been set.
+func (o *WebhookHeaderModel) GetValueOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.Value, true
+}
+
+// SetValue sets field value
+func (o *WebhookHeaderModel) SetValue(v string) {
+ o.Value = v
+}
+
+// GetIsSecure returns the IsSecure field value if set, zero value otherwise.
+func (o *WebhookHeaderModel) GetIsSecure() bool {
+ if o == nil || IsNil(o.IsSecure) {
+ var ret bool
+ return ret
+ }
+ return *o.IsSecure
+}
+
+// GetIsSecureOk returns a tuple with the IsSecure field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *WebhookHeaderModel) GetIsSecureOk() (*bool, bool) {
+ if o == nil || IsNil(o.IsSecure) {
+ return nil, false
+ }
+ return o.IsSecure, true
+}
+
+// HasIsSecure returns a boolean if a field has been set.
+func (o *WebhookHeaderModel) HasIsSecure() bool {
+ if o != nil && !IsNil(o.IsSecure) {
+ return true
+ }
+
+ return false
+}
+
+// SetIsSecure gets a reference to the given bool and assigns it to the IsSecure field.
+func (o *WebhookHeaderModel) SetIsSecure(v bool) {
+ o.IsSecure = &v
+}
+
+func (o WebhookHeaderModel) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o WebhookHeaderModel) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["key"] = o.Key
+ toSerialize["value"] = o.Value
+ if !IsNil(o.IsSecure) {
+ toSerialize["isSecure"] = o.IsSecure
+ }
+ return toSerialize, nil
+}
+
+type NullableWebhookHeaderModel struct {
+ value *WebhookHeaderModel
+ isSet bool
+}
+
+func (v NullableWebhookHeaderModel) Get() *WebhookHeaderModel {
+ return v.value
+}
+
+func (v *NullableWebhookHeaderModel) Set(val *WebhookHeaderModel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableWebhookHeaderModel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableWebhookHeaderModel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableWebhookHeaderModel(val *WebhookHeaderModel) *NullableWebhookHeaderModel {
+ return &NullableWebhookHeaderModel{value: val, isSet: true}
+}
+
+func (v NullableWebhookHeaderModel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableWebhookHeaderModel) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_webhook_model.go b/model_webhook_model.go
new file mode 100644
index 0000000..c5a252d
--- /dev/null
+++ b/model_webhook_model.go
@@ -0,0 +1,390 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the WebhookModel type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &WebhookModel{}
+
+// WebhookModel struct for WebhookModel
+type WebhookModel struct {
+ // The identifier of the Webhook.
+ WebhookId *int32 `json:"webhookId,omitempty"`
+ // The URL of the Webhook.
+ Url NullableString `json:"url,omitempty"`
+ HttpMethod *WebHookHttpMethod `json:"httpMethod,omitempty"`
+ // The HTTP body content.
+ Content NullableString `json:"content,omitempty"`
+ // List of HTTP headers that the Webhook must send.
+ WebHookHeaders []WebhookHeaderModel `json:"webHookHeaders,omitempty"`
+ // The Config's name where the applied changes will invoke the Webhook.
+ ConfigName NullableString `json:"configName,omitempty"`
+ // The Environment's name where the applied changes will invoke the Webhook.
+ EnvironmentName NullableString `json:"environmentName,omitempty"`
+}
+
+// NewWebhookModel instantiates a new WebhookModel object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewWebhookModel() *WebhookModel {
+ this := WebhookModel{}
+ return &this
+}
+
+// NewWebhookModelWithDefaults instantiates a new WebhookModel object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewWebhookModelWithDefaults() *WebhookModel {
+ this := WebhookModel{}
+ return &this
+}
+
+// GetWebhookId returns the WebhookId field value if set, zero value otherwise.
+func (o *WebhookModel) GetWebhookId() int32 {
+ if o == nil || IsNil(o.WebhookId) {
+ var ret int32
+ return ret
+ }
+ return *o.WebhookId
+}
+
+// GetWebhookIdOk returns a tuple with the WebhookId field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *WebhookModel) GetWebhookIdOk() (*int32, bool) {
+ if o == nil || IsNil(o.WebhookId) {
+ return nil, false
+ }
+ return o.WebhookId, true
+}
+
+// HasWebhookId returns a boolean if a field has been set.
+func (o *WebhookModel) HasWebhookId() bool {
+ if o != nil && !IsNil(o.WebhookId) {
+ return true
+ }
+
+ return false
+}
+
+// SetWebhookId gets a reference to the given int32 and assigns it to the WebhookId field.
+func (o *WebhookModel) SetWebhookId(v int32) {
+ o.WebhookId = &v
+}
+
+// GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *WebhookModel) GetUrl() string {
+ if o == nil || IsNil(o.Url.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.Url.Get()
+}
+
+// GetUrlOk returns a tuple with the Url field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *WebhookModel) GetUrlOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.Url.Get(), o.Url.IsSet()
+}
+
+// HasUrl returns a boolean if a field has been set.
+func (o *WebhookModel) HasUrl() bool {
+ if o != nil && o.Url.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetUrl gets a reference to the given NullableString and assigns it to the Url field.
+func (o *WebhookModel) SetUrl(v string) {
+ o.Url.Set(&v)
+}
+// SetUrlNil sets the value for Url to be an explicit nil
+func (o *WebhookModel) SetUrlNil() {
+ o.Url.Set(nil)
+}
+
+// UnsetUrl ensures that no value is present for Url, not even an explicit nil
+func (o *WebhookModel) UnsetUrl() {
+ o.Url.Unset()
+}
+
+// GetHttpMethod returns the HttpMethod field value if set, zero value otherwise.
+func (o *WebhookModel) GetHttpMethod() WebHookHttpMethod {
+ if o == nil || IsNil(o.HttpMethod) {
+ var ret WebHookHttpMethod
+ return ret
+ }
+ return *o.HttpMethod
+}
+
+// GetHttpMethodOk returns a tuple with the HttpMethod field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+func (o *WebhookModel) GetHttpMethodOk() (*WebHookHttpMethod, bool) {
+ if o == nil || IsNil(o.HttpMethod) {
+ return nil, false
+ }
+ return o.HttpMethod, true
+}
+
+// HasHttpMethod returns a boolean if a field has been set.
+func (o *WebhookModel) HasHttpMethod() bool {
+ if o != nil && !IsNil(o.HttpMethod) {
+ return true
+ }
+
+ return false
+}
+
+// SetHttpMethod gets a reference to the given WebHookHttpMethod and assigns it to the HttpMethod field.
+func (o *WebhookModel) SetHttpMethod(v WebHookHttpMethod) {
+ o.HttpMethod = &v
+}
+
+// GetContent returns the Content field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *WebhookModel) GetContent() string {
+ if o == nil || IsNil(o.Content.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.Content.Get()
+}
+
+// GetContentOk returns a tuple with the Content field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *WebhookModel) GetContentOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.Content.Get(), o.Content.IsSet()
+}
+
+// HasContent returns a boolean if a field has been set.
+func (o *WebhookModel) HasContent() bool {
+ if o != nil && o.Content.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetContent gets a reference to the given NullableString and assigns it to the Content field.
+func (o *WebhookModel) SetContent(v string) {
+ o.Content.Set(&v)
+}
+// SetContentNil sets the value for Content to be an explicit nil
+func (o *WebhookModel) SetContentNil() {
+ o.Content.Set(nil)
+}
+
+// UnsetContent ensures that no value is present for Content, not even an explicit nil
+func (o *WebhookModel) UnsetContent() {
+ o.Content.Unset()
+}
+
+// GetWebHookHeaders returns the WebHookHeaders field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *WebhookModel) GetWebHookHeaders() []WebhookHeaderModel {
+ if o == nil {
+ var ret []WebhookHeaderModel
+ return ret
+ }
+ return o.WebHookHeaders
+}
+
+// GetWebHookHeadersOk returns a tuple with the WebHookHeaders field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *WebhookModel) GetWebHookHeadersOk() ([]WebhookHeaderModel, bool) {
+ if o == nil || IsNil(o.WebHookHeaders) {
+ return nil, false
+ }
+ return o.WebHookHeaders, true
+}
+
+// HasWebHookHeaders returns a boolean if a field has been set.
+func (o *WebhookModel) HasWebHookHeaders() bool {
+ if o != nil && IsNil(o.WebHookHeaders) {
+ return true
+ }
+
+ return false
+}
+
+// SetWebHookHeaders gets a reference to the given []WebhookHeaderModel and assigns it to the WebHookHeaders field.
+func (o *WebhookModel) SetWebHookHeaders(v []WebhookHeaderModel) {
+ o.WebHookHeaders = v
+}
+
+// GetConfigName returns the ConfigName field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *WebhookModel) GetConfigName() string {
+ if o == nil || IsNil(o.ConfigName.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.ConfigName.Get()
+}
+
+// GetConfigNameOk returns a tuple with the ConfigName field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *WebhookModel) GetConfigNameOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.ConfigName.Get(), o.ConfigName.IsSet()
+}
+
+// HasConfigName returns a boolean if a field has been set.
+func (o *WebhookModel) HasConfigName() bool {
+ if o != nil && o.ConfigName.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetConfigName gets a reference to the given NullableString and assigns it to the ConfigName field.
+func (o *WebhookModel) SetConfigName(v string) {
+ o.ConfigName.Set(&v)
+}
+// SetConfigNameNil sets the value for ConfigName to be an explicit nil
+func (o *WebhookModel) SetConfigNameNil() {
+ o.ConfigName.Set(nil)
+}
+
+// UnsetConfigName ensures that no value is present for ConfigName, not even an explicit nil
+func (o *WebhookModel) UnsetConfigName() {
+ o.ConfigName.Unset()
+}
+
+// GetEnvironmentName returns the EnvironmentName field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *WebhookModel) GetEnvironmentName() string {
+ if o == nil || IsNil(o.EnvironmentName.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.EnvironmentName.Get()
+}
+
+// GetEnvironmentNameOk returns a tuple with the EnvironmentName field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *WebhookModel) GetEnvironmentNameOk() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.EnvironmentName.Get(), o.EnvironmentName.IsSet()
+}
+
+// HasEnvironmentName returns a boolean if a field has been set.
+func (o *WebhookModel) HasEnvironmentName() bool {
+ if o != nil && o.EnvironmentName.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetEnvironmentName gets a reference to the given NullableString and assigns it to the EnvironmentName field.
+func (o *WebhookModel) SetEnvironmentName(v string) {
+ o.EnvironmentName.Set(&v)
+}
+// SetEnvironmentNameNil sets the value for EnvironmentName to be an explicit nil
+func (o *WebhookModel) SetEnvironmentNameNil() {
+ o.EnvironmentName.Set(nil)
+}
+
+// UnsetEnvironmentName ensures that no value is present for EnvironmentName, not even an explicit nil
+func (o *WebhookModel) UnsetEnvironmentName() {
+ o.EnvironmentName.Unset()
+}
+
+func (o WebhookModel) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o WebhookModel) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if !IsNil(o.WebhookId) {
+ toSerialize["webhookId"] = o.WebhookId
+ }
+ if o.Url.IsSet() {
+ toSerialize["url"] = o.Url.Get()
+ }
+ if !IsNil(o.HttpMethod) {
+ toSerialize["httpMethod"] = o.HttpMethod
+ }
+ if o.Content.IsSet() {
+ toSerialize["content"] = o.Content.Get()
+ }
+ if o.WebHookHeaders != nil {
+ toSerialize["webHookHeaders"] = o.WebHookHeaders
+ }
+ if o.ConfigName.IsSet() {
+ toSerialize["configName"] = o.ConfigName.Get()
+ }
+ if o.EnvironmentName.IsSet() {
+ toSerialize["environmentName"] = o.EnvironmentName.Get()
+ }
+ return toSerialize, nil
+}
+
+type NullableWebhookModel struct {
+ value *WebhookModel
+ isSet bool
+}
+
+func (v NullableWebhookModel) Get() *WebhookModel {
+ return v.value
+}
+
+func (v *NullableWebhookModel) Set(val *WebhookModel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableWebhookModel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableWebhookModel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableWebhookModel(val *WebhookModel) *NullableWebhookModel {
+ return &NullableWebhookModel{value: val, isSet: true}
+}
+
+func (v NullableWebhookModel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableWebhookModel) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/model_webhook_signing_keys_model.go b/model_webhook_signing_keys_model.go
new file mode 100644
index 0000000..d2b06f2
--- /dev/null
+++ b/model_webhook_signing_keys_model.go
@@ -0,0 +1,185 @@
+/*
+ConfigCat Public Management API
+
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+
+API version: v1
+Contact: support@configcat.com
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package configcatpublicapi
+
+import (
+ "encoding/json"
+)
+
+// checks if the WebhookSigningKeysModel type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &WebhookSigningKeysModel{}
+
+// WebhookSigningKeysModel struct for WebhookSigningKeysModel
+type WebhookSigningKeysModel struct {
+ // The first signing key.
+ Key1 NullableString `json:"key1,omitempty"`
+ // The second signing key.
+ Key2 NullableString `json:"key2,omitempty"`
+}
+
+// NewWebhookSigningKeysModel instantiates a new WebhookSigningKeysModel object
+// This constructor will assign default values to properties that have it defined,
+// and makes sure properties required by API are set, but the set of arguments
+// will change when the set of required properties is changed
+func NewWebhookSigningKeysModel() *WebhookSigningKeysModel {
+ this := WebhookSigningKeysModel{}
+ return &this
+}
+
+// NewWebhookSigningKeysModelWithDefaults instantiates a new WebhookSigningKeysModel object
+// This constructor will only assign default values to properties that have it defined,
+// but it doesn't guarantee that properties required by API are set
+func NewWebhookSigningKeysModelWithDefaults() *WebhookSigningKeysModel {
+ this := WebhookSigningKeysModel{}
+ return &this
+}
+
+// GetKey1 returns the Key1 field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *WebhookSigningKeysModel) GetKey1() string {
+ if o == nil || IsNil(o.Key1.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.Key1.Get()
+}
+
+// GetKey1Ok returns a tuple with the Key1 field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *WebhookSigningKeysModel) GetKey1Ok() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.Key1.Get(), o.Key1.IsSet()
+}
+
+// HasKey1 returns a boolean if a field has been set.
+func (o *WebhookSigningKeysModel) HasKey1() bool {
+ if o != nil && o.Key1.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetKey1 gets a reference to the given NullableString and assigns it to the Key1 field.
+func (o *WebhookSigningKeysModel) SetKey1(v string) {
+ o.Key1.Set(&v)
+}
+// SetKey1Nil sets the value for Key1 to be an explicit nil
+func (o *WebhookSigningKeysModel) SetKey1Nil() {
+ o.Key1.Set(nil)
+}
+
+// UnsetKey1 ensures that no value is present for Key1, not even an explicit nil
+func (o *WebhookSigningKeysModel) UnsetKey1() {
+ o.Key1.Unset()
+}
+
+// GetKey2 returns the Key2 field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *WebhookSigningKeysModel) GetKey2() string {
+ if o == nil || IsNil(o.Key2.Get()) {
+ var ret string
+ return ret
+ }
+ return *o.Key2.Get()
+}
+
+// GetKey2Ok returns a tuple with the Key2 field value if set, nil otherwise
+// and a boolean to check if the value has been set.
+// NOTE: If the value is an explicit nil, `nil, true` will be returned
+func (o *WebhookSigningKeysModel) GetKey2Ok() (*string, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.Key2.Get(), o.Key2.IsSet()
+}
+
+// HasKey2 returns a boolean if a field has been set.
+func (o *WebhookSigningKeysModel) HasKey2() bool {
+ if o != nil && o.Key2.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetKey2 gets a reference to the given NullableString and assigns it to the Key2 field.
+func (o *WebhookSigningKeysModel) SetKey2(v string) {
+ o.Key2.Set(&v)
+}
+// SetKey2Nil sets the value for Key2 to be an explicit nil
+func (o *WebhookSigningKeysModel) SetKey2Nil() {
+ o.Key2.Set(nil)
+}
+
+// UnsetKey2 ensures that no value is present for Key2, not even an explicit nil
+func (o *WebhookSigningKeysModel) UnsetKey2() {
+ o.Key2.Unset()
+}
+
+func (o WebhookSigningKeysModel) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o WebhookSigningKeysModel) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ if o.Key1.IsSet() {
+ toSerialize["key1"] = o.Key1.Get()
+ }
+ if o.Key2.IsSet() {
+ toSerialize["key2"] = o.Key2.Get()
+ }
+ return toSerialize, nil
+}
+
+type NullableWebhookSigningKeysModel struct {
+ value *WebhookSigningKeysModel
+ isSet bool
+}
+
+func (v NullableWebhookSigningKeysModel) Get() *WebhookSigningKeysModel {
+ return v.value
+}
+
+func (v *NullableWebhookSigningKeysModel) Set(val *WebhookSigningKeysModel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableWebhookSigningKeysModel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableWebhookSigningKeysModel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableWebhookSigningKeysModel(val *WebhookSigningKeysModel) *NullableWebhookSigningKeysModel {
+ return &NullableWebhookSigningKeysModel{value: val, isSet: true}
+}
+
+func (v NullableWebhookSigningKeysModel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableWebhookSigningKeysModel) UnmarshalJSON(src []byte) error {
+ v.isSet = true
+ return json.Unmarshal(src, &v.value)
+}
+
+
diff --git a/response.go b/response.go
index c8051dc..6529860 100644
--- a/response.go
+++ b/response.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com
diff --git a/test/api_webhooks_test.go b/test/api_webhooks_test.go
new file mode 100644
index 0000000..d394c7b
--- /dev/null
+++ b/test/api_webhooks_test.go
@@ -0,0 +1,109 @@
+/*
+ConfigCat Public Management API
+
+Testing WebhooksApiService
+
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech);
+
+package configcatpublicapi
+
+import (
+ "context"
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+ "testing"
+ openapiclient "github.com/configcat/configcat-publicapi-go-client"
+)
+
+func Test_configcatpublicapi_WebhooksApiService(t *testing.T) {
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+
+ t.Run("Test WebhooksApiService CreateWebhook", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ var configId string
+ var environmentId string
+
+ resp, httpRes, err := apiClient.WebhooksApi.CreateWebhook(context.Background(), configId, environmentId).Execute()
+
+ require.Nil(t, err)
+ require.NotNil(t, resp)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
+ t.Run("Test WebhooksApiService DeleteWebhook", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ var webhookId int32
+
+ httpRes, err := apiClient.WebhooksApi.DeleteWebhook(context.Background(), webhookId).Execute()
+
+ require.Nil(t, err)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
+ t.Run("Test WebhooksApiService GetWebhook", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ var webhookId int32
+
+ resp, httpRes, err := apiClient.WebhooksApi.GetWebhook(context.Background(), webhookId).Execute()
+
+ require.Nil(t, err)
+ require.NotNil(t, resp)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
+ t.Run("Test WebhooksApiService GetWebhookSigningKeys", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ var webhookId int32
+
+ resp, httpRes, err := apiClient.WebhooksApi.GetWebhookSigningKeys(context.Background(), webhookId).Execute()
+
+ require.Nil(t, err)
+ require.NotNil(t, resp)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
+ t.Run("Test WebhooksApiService GetWebhooks", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ var productId string
+
+ resp, httpRes, err := apiClient.WebhooksApi.GetWebhooks(context.Background(), productId).Execute()
+
+ require.Nil(t, err)
+ require.NotNil(t, resp)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
+ t.Run("Test WebhooksApiService UpdateWebhook", func(t *testing.T) {
+
+ t.Skip("skip test") // remove to run test
+
+ var webhookId int32
+
+ resp, httpRes, err := apiClient.WebhooksApi.UpdateWebhook(context.Background(), webhookId).Execute()
+
+ require.Nil(t, err)
+ require.NotNil(t, resp)
+ assert.Equal(t, 200, httpRes.StatusCode)
+
+ })
+
+}
diff --git a/utils.go b/utils.go
index a052500..61c8205 100644
--- a/utils.go
+++ b/utils.go
@@ -1,7 +1,7 @@
/*
ConfigCat Public Management API
-**Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
+The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header.
API version: v1
Contact: support@configcat.com