Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate based on live api #15

Merged
merged 2 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ api_tags.go
api_webhooks.go
client.go
configuration.go
docs/AccessType.md
docs/AddOrUpdateIntegrationLinkModel.md
docs/AddOrUpdateJiraIntegrationLinkModel.md
docs/AuditLogItemModel.md
docs/AuditLogType.md
docs/AuditLogsApi.md
docs/CodeReferenceModel.md
docs/CodeReferenceRequest.md
Expand All @@ -55,10 +53,8 @@ docs/CreateTagModel.md
docs/DeleteIntegrationLinkModel.md
docs/DeleteRepositoryReportsRequest.md
docs/EnvironmentAccessModel.md
docs/EnvironmentAccessType.md
docs/EnvironmentModel.md
docs/EnvironmentsApi.md
docs/EvaluationVersion.md
docs/FeatureFlagLimitations.md
docs/FeatureFlagSettingValuesApi.md
docs/FeatureFlagSettingValuesUsingSDKKeyApi.md
Expand All @@ -70,22 +66,18 @@ docs/InitialValue.md
docs/IntegrationLinkDetail.md
docs/IntegrationLinkDetailsModel.md
docs/IntegrationLinkModel.md
docs/IntegrationLinkType.md
docs/IntegrationLinksApi.md
docs/IntegrationModel.md
docs/IntegrationType.md
docs/IntegrationsApi.md
docs/IntegrationsModel.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/ModifyIntegrationRequest.md
docs/OperationType.md
docs/OrganizationAdminModel.md
docs/OrganizationInvitationModel.md
docs/OrganizationMemberModel.md
Expand All @@ -99,7 +91,6 @@ docs/PercentageOptionModel.md
docs/PermissionGroupModel.md
docs/PermissionGroupsApi.md
docs/PreferencesModel.md
docs/PrerequisiteComparator.md
docs/PrerequisiteFlagConditionModel.md
docs/ProductModel.md
docs/ProductsApi.md
Expand All @@ -108,11 +99,9 @@ docs/ReferenceLine.md
docs/ReferenceLines.md
docs/ReplaceSettingModel.md
docs/RolloutPercentageItemModel.md
docs/RolloutRuleComparator.md
docs/RolloutRuleModel.md
docs/SDKKeysApi.md
docs/SdkKeysModel.md
docs/SegmentComparator.md
docs/SegmentConditionModel.md
docs/SegmentListModel.md
docs/SegmentModel.md
Expand All @@ -121,7 +110,6 @@ docs/SettingDataModel.md
docs/SettingFormulaModel.md
docs/SettingModel.md
docs/SettingTagModel.md
docs/SettingType.md
docs/SettingValueModel.md
docs/TagModel.md
docs/TagsApi.md
Expand All @@ -141,11 +129,9 @@ docs/UpdateSettingValueModel.md
docs/UpdateSettingValueWithSettingIdModel.md
docs/UpdateSettingValuesWithIdModel.md
docs/UpdateTagModel.md
docs/UserComparator.md
docs/UserConditionModel.md
docs/UserModel.md
docs/ValueModel.md
docs/WebHookHttpMethod.md
docs/WebHookRequest.md
docs/WebhookConfig.md
docs/WebhookEnvironment.md
Expand All @@ -156,11 +142,9 @@ 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_audit_log_item_model.go
model_audit_log_type.go
model_code_reference_model.go
model_code_reference_request.go
model_comparison_value_list_model.go
Expand All @@ -184,27 +168,21 @@ model_create_tag_model.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_evaluation_version.go
model_feature_flag_limitations.go
model_flag_reference.go
model_initial_value.go
model_integration_link_detail.go
model_integration_link_details_model.go
model_integration_link_model.go
model_integration_link_type.go
model_integration_model.go
model_integration_type.go
model_integrations_model.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_modify_integration_request.go
model_operation_type.go
model_organization_admin_model.go
model_organization_invitation_model.go
model_organization_member_model.go
Expand All @@ -216,26 +194,22 @@ model_organization_product_model.go
model_percentage_option_model.go
model_permission_group_model.go
model_preferences_model.go
model_prerequisite_comparator.go
model_prerequisite_flag_condition_model.go
model_product_model.go
model_reason_required_environment_model.go
model_reference_line.go
model_reference_lines.go
model_replace_setting_model.go
model_rollout_percentage_item_model.go
model_rollout_rule_comparator.go
model_rollout_rule_model.go
model_sdk_keys_model.go
model_segment_comparator.go
model_segment_condition_model.go
model_segment_list_model.go
model_segment_model.go
model_setting_data_model.go
model_setting_formula_model.go
model_setting_model.go
model_setting_tag_model.go
model_setting_type.go
model_setting_value_model.go
model_tag_model.go
model_targeting_rule_model.go
Expand All @@ -254,11 +228,9 @@ model_update_setting_value_model.go
model_update_setting_value_with_setting_id_model.go
model_update_setting_values_with_id_model.go
model_update_tag_model.go
model_user_comparator.go
model_user_condition_model.go
model_user_model.go
model_value_model.go
model_web_hook_http_method.go
model_web_hook_request.go
model_webhook_config.go
model_webhook_environment.go
Expand Down
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: go

install:
- go get -d -v .

script:
- go build -v ./

24 changes: 5 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
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
**Base API URL**: https://api.configcat.com

If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger).
If you prefer the swagger documentation, you can find it here: [Swagger UI](https://api.configcat.com/swagger).

The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON
format.
Expand All @@ -15,8 +15,8 @@ format.
# 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)
- [OpenAPI v3](https://api.configcat.com/docs/v1/swagger.json)
- [Swagger v2](https://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.
Expand Down Expand Up @@ -109,7 +109,7 @@ ctx = context.WithValue(context.Background(), configcatpublicapi.ContextOperatio

## Documentation for API Endpoints

All URIs are relative to *https://test-api.configcat.com*
All URIs are relative to *https://api.configcat.com*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
Expand Down Expand Up @@ -208,11 +208,9 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [AccessType](docs/AccessType.md)
- [AddOrUpdateIntegrationLinkModel](docs/AddOrUpdateIntegrationLinkModel.md)
- [AddOrUpdateJiraIntegrationLinkModel](docs/AddOrUpdateJiraIntegrationLinkModel.md)
- [AuditLogItemModel](docs/AuditLogItemModel.md)
- [AuditLogType](docs/AuditLogType.md)
- [CodeReferenceModel](docs/CodeReferenceModel.md)
- [CodeReferenceRequest](docs/CodeReferenceRequest.md)
- [ComparisonValueListModel](docs/ComparisonValueListModel.md)
Expand All @@ -236,27 +234,21 @@ Class | Method | HTTP request | Description
- [DeleteIntegrationLinkModel](docs/DeleteIntegrationLinkModel.md)
- [DeleteRepositoryReportsRequest](docs/DeleteRepositoryReportsRequest.md)
- [EnvironmentAccessModel](docs/EnvironmentAccessModel.md)
- [EnvironmentAccessType](docs/EnvironmentAccessType.md)
- [EnvironmentModel](docs/EnvironmentModel.md)
- [EvaluationVersion](docs/EvaluationVersion.md)
- [FeatureFlagLimitations](docs/FeatureFlagLimitations.md)
- [FlagReference](docs/FlagReference.md)
- [InitialValue](docs/InitialValue.md)
- [IntegrationLinkDetail](docs/IntegrationLinkDetail.md)
- [IntegrationLinkDetailsModel](docs/IntegrationLinkDetailsModel.md)
- [IntegrationLinkModel](docs/IntegrationLinkModel.md)
- [IntegrationLinkType](docs/IntegrationLinkType.md)
- [IntegrationModel](docs/IntegrationModel.md)
- [IntegrationType](docs/IntegrationType.md)
- [IntegrationsModel](docs/IntegrationsModel.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)
- [ModifyIntegrationRequest](docs/ModifyIntegrationRequest.md)
- [OperationType](docs/OperationType.md)
- [OrganizationAdminModel](docs/OrganizationAdminModel.md)
- [OrganizationInvitationModel](docs/OrganizationInvitationModel.md)
- [OrganizationMemberModel](docs/OrganizationMemberModel.md)
Expand All @@ -268,26 +260,22 @@ Class | Method | HTTP request | Description
- [PercentageOptionModel](docs/PercentageOptionModel.md)
- [PermissionGroupModel](docs/PermissionGroupModel.md)
- [PreferencesModel](docs/PreferencesModel.md)
- [PrerequisiteComparator](docs/PrerequisiteComparator.md)
- [PrerequisiteFlagConditionModel](docs/PrerequisiteFlagConditionModel.md)
- [ProductModel](docs/ProductModel.md)
- [ReasonRequiredEnvironmentModel](docs/ReasonRequiredEnvironmentModel.md)
- [ReferenceLine](docs/ReferenceLine.md)
- [ReferenceLines](docs/ReferenceLines.md)
- [ReplaceSettingModel](docs/ReplaceSettingModel.md)
- [RolloutPercentageItemModel](docs/RolloutPercentageItemModel.md)
- [RolloutRuleComparator](docs/RolloutRuleComparator.md)
- [RolloutRuleModel](docs/RolloutRuleModel.md)
- [SdkKeysModel](docs/SdkKeysModel.md)
- [SegmentComparator](docs/SegmentComparator.md)
- [SegmentConditionModel](docs/SegmentConditionModel.md)
- [SegmentListModel](docs/SegmentListModel.md)
- [SegmentModel](docs/SegmentModel.md)
- [SettingDataModel](docs/SettingDataModel.md)
- [SettingFormulaModel](docs/SettingFormulaModel.md)
- [SettingModel](docs/SettingModel.md)
- [SettingTagModel](docs/SettingTagModel.md)
- [SettingType](docs/SettingType.md)
- [SettingValueModel](docs/SettingValueModel.md)
- [TagModel](docs/TagModel.md)
- [TargetingRuleModel](docs/TargetingRuleModel.md)
Expand All @@ -306,11 +294,9 @@ Class | Method | HTTP request | Description
- [UpdateSettingValueWithSettingIdModel](docs/UpdateSettingValueWithSettingIdModel.md)
- [UpdateSettingValuesWithIdModel](docs/UpdateSettingValuesWithIdModel.md)
- [UpdateTagModel](docs/UpdateTagModel.md)
- [UserComparator](docs/UserComparator.md)
- [UserConditionModel](docs/UserConditionModel.md)
- [UserModel](docs/UserModel.md)
- [ValueModel](docs/ValueModel.md)
- [WebHookHttpMethod](docs/WebHookHttpMethod.md)
- [WebHookRequest](docs/WebHookRequest.md)
- [WebhookConfig](docs/WebhookConfig.md)
- [WebhookEnvironment](docs/WebhookEnvironment.md)
Expand Down
Loading
Loading