Skip to content

openflagr/goflagr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for goflagr

Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is "/api/v1".

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.1.4
  • Package version: 1.1.1
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./goflagr"

Documentation for API Endpoints

All URIs are relative to http://localhost/api/v1

Class Method HTTP request Description
ConstraintApi CreateConstraint Post /flags/{flagID}/segments/{segmentID}/constraints
ConstraintApi DeleteConstraint Delete /flags/{flagID}/segments/{segmentID}/constraints/{constraintID}
ConstraintApi FindConstraints Get /flags/{flagID}/segments/{segmentID}/constraints
ConstraintApi PutConstraint Put /flags/{flagID}/segments/{segmentID}/constraints/{constraintID}
DistributionApi FindDistributions Get /flags/{flagID}/segments/{segmentID}/distributions
DistributionApi PutDistributions Put /flags/{flagID}/segments/{segmentID}/distributions
EvaluationApi PostEvaluation Post /evaluation
EvaluationApi PostEvaluationBatch Post /evaluation/batch
ExportApi GetExportEvalCacheJSON Get /export/eval_cache/json
ExportApi GetExportSqlite Get /export/sqlite
FlagApi CreateFlag Post /flags
FlagApi DeleteFlag Delete /flags/{flagID}
FlagApi FindFlags Get /flags
FlagApi GetFlag Get /flags/{flagID}
FlagApi GetFlagEntityTypes Get /flags/entity_types
FlagApi GetFlagSnapshots Get /flags/{flagID}/snapshots
FlagApi PutFlag Put /flags/{flagID}
FlagApi SetFlagEnabled Put /flags/{flagID}/enabled
HealthApi GetHealth Get /health
SegmentApi CreateSegment Post /flags/{flagID}/segments
SegmentApi DeleteSegment Delete /flags/{flagID}/segments/{segmentID}
SegmentApi FindSegments Get /flags/{flagID}/segments
SegmentApi PutSegment Put /flags/{flagID}/segments/{segmentID}
SegmentApi PutSegmentsReorder Put /flags/{flagID}/segments/reorder
VariantApi CreateVariant Post /flags/{flagID}/variants
VariantApi DeleteVariant Delete /flags/{flagID}/variants/{variantID}
VariantApi FindVariants Get /flags/{flagID}/variants
VariantApi PutVariant Put /flags/{flagID}/variants/{variantID}

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published