{"id":18729886,"url":"https://github.com/openflagr/goflagr","last_synced_at":"2025-11-12T08:30:15.094Z","repository":{"id":46676070,"uuid":"393568609","full_name":"openflagr/goflagr","owner":"openflagr","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-30T18:02:11.000Z","size":81,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-12-28T14:41:57.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openflagr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-07T03:36:44.000Z","updated_at":"2024-07-05T08:59:43.000Z","dependencies_parsed_at":"2022-08-30T00:21:30.928Z","dependency_job_id":null,"html_url":"https://github.com/openflagr/goflagr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fgoflagr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fgoflagr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fgoflagr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openflagr%2Fgoflagr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openflagr","download_url":"https://codeload.github.com/openflagr/goflagr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239599037,"owners_count":19665911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T14:29:34.820Z","updated_at":"2025-11-12T08:30:15.038Z","avatar_url":"https://github.com/openflagr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go API client for goflagr\n\nFlagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \\\"/api/v1\\\". \n\n## Overview\nThis API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.  By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.\n\n- API version: 1.1.4\n- Package version: 1.1.1\n- Build package: io.swagger.codegen.languages.GoClientCodegen\n\n## Installation\nPut the package under your project folder and add the following in import:\n```golang\nimport \"./goflagr\"\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *http://localhost/api/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*ConstraintApi* | [**CreateConstraint**](docs/ConstraintApi.md#createconstraint) | **Post** /flags/{flagID}/segments/{segmentID}/constraints | \n*ConstraintApi* | [**DeleteConstraint**](docs/ConstraintApi.md#deleteconstraint) | **Delete** /flags/{flagID}/segments/{segmentID}/constraints/{constraintID} | \n*ConstraintApi* | [**FindConstraints**](docs/ConstraintApi.md#findconstraints) | **Get** /flags/{flagID}/segments/{segmentID}/constraints | \n*ConstraintApi* | [**PutConstraint**](docs/ConstraintApi.md#putconstraint) | **Put** /flags/{flagID}/segments/{segmentID}/constraints/{constraintID} | \n*DistributionApi* | [**FindDistributions**](docs/DistributionApi.md#finddistributions) | **Get** /flags/{flagID}/segments/{segmentID}/distributions | \n*DistributionApi* | [**PutDistributions**](docs/DistributionApi.md#putdistributions) | **Put** /flags/{flagID}/segments/{segmentID}/distributions | \n*EvaluationApi* | [**PostEvaluation**](docs/EvaluationApi.md#postevaluation) | **Post** /evaluation | \n*EvaluationApi* | [**PostEvaluationBatch**](docs/EvaluationApi.md#postevaluationbatch) | **Post** /evaluation/batch | \n*ExportApi* | [**GetExportEvalCacheJSON**](docs/ExportApi.md#getexportevalcachejson) | **Get** /export/eval_cache/json | \n*ExportApi* | [**GetExportSqlite**](docs/ExportApi.md#getexportsqlite) | **Get** /export/sqlite | \n*FlagApi* | [**CreateFlag**](docs/FlagApi.md#createflag) | **Post** /flags | \n*FlagApi* | [**DeleteFlag**](docs/FlagApi.md#deleteflag) | **Delete** /flags/{flagID} | \n*FlagApi* | [**FindFlags**](docs/FlagApi.md#findflags) | **Get** /flags | \n*FlagApi* | [**GetFlag**](docs/FlagApi.md#getflag) | **Get** /flags/{flagID} | \n*FlagApi* | [**GetFlagEntityTypes**](docs/FlagApi.md#getflagentitytypes) | **Get** /flags/entity_types | \n*FlagApi* | [**GetFlagSnapshots**](docs/FlagApi.md#getflagsnapshots) | **Get** /flags/{flagID}/snapshots | \n*FlagApi* | [**PutFlag**](docs/FlagApi.md#putflag) | **Put** /flags/{flagID} | \n*FlagApi* | [**SetFlagEnabled**](docs/FlagApi.md#setflagenabled) | **Put** /flags/{flagID}/enabled | \n*HealthApi* | [**GetHealth**](docs/HealthApi.md#gethealth) | **Get** /health | \n*SegmentApi* | [**CreateSegment**](docs/SegmentApi.md#createsegment) | **Post** /flags/{flagID}/segments | \n*SegmentApi* | [**DeleteSegment**](docs/SegmentApi.md#deletesegment) | **Delete** /flags/{flagID}/segments/{segmentID} | \n*SegmentApi* | [**FindSegments**](docs/SegmentApi.md#findsegments) | **Get** /flags/{flagID}/segments | \n*SegmentApi* | [**PutSegment**](docs/SegmentApi.md#putsegment) | **Put** /flags/{flagID}/segments/{segmentID} | \n*SegmentApi* | [**PutSegmentsReorder**](docs/SegmentApi.md#putsegmentsreorder) | **Put** /flags/{flagID}/segments/reorder | \n*VariantApi* | [**CreateVariant**](docs/VariantApi.md#createvariant) | **Post** /flags/{flagID}/variants | \n*VariantApi* | [**DeleteVariant**](docs/VariantApi.md#deletevariant) | **Delete** /flags/{flagID}/variants/{variantID} | \n*VariantApi* | [**FindVariants**](docs/VariantApi.md#findvariants) | **Get** /flags/{flagID}/variants | \n*VariantApi* | [**PutVariant**](docs/VariantApi.md#putvariant) | **Put** /flags/{flagID}/variants/{variantID} | \n\n\n## Documentation For Models\n\n - [Constraint](docs/Constraint.md)\n - [CreateConstraintRequest](docs/CreateConstraintRequest.md)\n - [CreateFlagRequest](docs/CreateFlagRequest.md)\n - [CreateSegmentRequest](docs/CreateSegmentRequest.md)\n - [CreateVariantRequest](docs/CreateVariantRequest.md)\n - [Distribution](docs/Distribution.md)\n - [EvalContext](docs/EvalContext.md)\n - [EvalDebugLog](docs/EvalDebugLog.md)\n - [EvalResult](docs/EvalResult.md)\n - [EvaluationBatchRequest](docs/EvaluationBatchRequest.md)\n - [EvaluationBatchResponse](docs/EvaluationBatchResponse.md)\n - [EvaluationEntity](docs/EvaluationEntity.md)\n - [Flag](docs/Flag.md)\n - [FlagSnapshot](docs/FlagSnapshot.md)\n - [Health](docs/Health.md)\n - [ModelError](docs/ModelError.md)\n - [PutDistributionsRequest](docs/PutDistributionsRequest.md)\n - [PutFlagRequest](docs/PutFlagRequest.md)\n - [PutSegmentReorderRequest](docs/PutSegmentReorderRequest.md)\n - [PutSegmentRequest](docs/PutSegmentRequest.md)\n - [PutVariantRequest](docs/PutVariantRequest.md)\n - [Segment](docs/Segment.md)\n - [SegmentDebugLog](docs/SegmentDebugLog.md)\n - [SetFlagEnabledRequest](docs/SetFlagEnabledRequest.md)\n - [Variant](docs/Variant.md)\n\n\n## Documentation For Authorization\n Endpoints do not require authorization.\n\n\n## Author\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenflagr%2Fgoflagr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenflagr%2Fgoflagr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenflagr%2Fgoflagr/lists"}