Comments (6)
hello. Can you assign this to me ? Still understanding the code but I am interested in contributing here
from switchfeat.
Sure. Go for it.
from switchfeat.
Hello. I'm looking forward to contributing to this project.
from switchfeat.
@dev-bre Hi. I have set up the project in my local. I am testing it in the local, below input is my flag. I am trying to evaluate it. I am not able to get how to pass context in the body in evaluate api. please guide me with some example snapshots.
{ "success": true, "data": { "name": "testing1", "description": "testing1", "createdOn": "2024-03-06T09:25:36.091Z", "status": true, "updatedOn": "2024-03-06T09:25:49.472Z", "key": "testing1", "rules": [ { "segment": { "name": "Test", "description": "testing", "matching": "all", "conditions": [ { "context": "testing1", "value": "12-02-2022", "conditionType": "datetime", "operator": "beforeOrAt", "key": "condition_fa8da9a7-9baf-40c3-862b-858a97fe5920" }, { "context": "testing2", "value": "test", "conditionType": "string", "operator": "equals", "key": "condition_4dec1293-62e9-49da-a5a0-87717b0b4d98" } ], "createdOn": "2024-03-06T09:23:52.820Z", "updatedOn": "2024-03-06T09:23:52.820Z", "key": "segment_05ee150d-f9c9-4e2b-9bd9-78b7f90627dd" }, "key": "rule_0d9bbc93-a43c-4cd1-817c-a73ddb754c3d" }, { "segment": { "name": "test2", "description": "", "matching": "all", "conditions": [ { "context": "test1", "conditionType": "boolean", "operator": "true", "key": "condition_188f4644-3863-4f90-8583-47824c1f947c" }, { "context": "test2", "value": "14-01-2001", "conditionType": "datetime", "operator": "afterOrAt", "key": "condition_87cd2521-4896-4623-b65d-c88494ab2839" } ], "createdOn": "2024-03-06T09:24:59.470Z", "updatedOn": "2024-03-06T09:24:59.470Z", "key": "segment_218d627d-26cc-49cf-93e2-16bcabbf878f" }, "key": "rule_ca3e3e6e-b1b7-43f2-981d-b79c1fe8d7bb" } ], "_id": "mrcMvuyoUrbSFyLB" } }
API I am hitting this API
curl --location 'http://localhost:4000/api/sdk/flags/testing1/evaluate' \ --header 'Accept: */*' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Connection: keep-alive' \ --header 'Content-Type: application/json' \ --header 'sf-api-key: sk_97c9a247-bd44-450c-85cc-61637108a866' \ --header 'Cookie: connect.sid=s%3A4NcJZVGEiV436H9PA5Bho4Zg1PsD_0wM.BQcnwuDX9GtLkxxQ32SMO1S0%2FY4nCeKpOIFOsMRL190' \ --data '{ "context": { "value": "something" } }'
from switchfeat.
from switchfeat.
Hello will you please assign it to me i wanna interested in contributing this
from switchfeat.
Related Issues (20)
- feat(api): refactor fetch api layer
- feat(api): create sdk routes for get requests HOT 21
- bug(docker): the docker image missing .env file
- feat(docs): basic documentation
- bug(ui): Flags rules - segments dropdown option not selectable
- feat: create actions audit
- bug(ui): flag switch state not in sync between flags list and edit flag view
- feat(ui): design dashboard HOT 20
- feat(api): apikey based access
- feat: add google authentication HOT 1
- bug(ui): login - 'view documentation' button broken link HOT 10
- feat(doc): add sdk api endpoints to documentation
- feat(sdk): build nodejs sdk
- feat(ui): global search HOT 2
- chore: configure prettier HOT 1
- feat(api): add support for numeric conditions match HOT 3
- feat(sdk): build .net sdk
- feat(sdk): build golang sdk
- The official website is not working ;( HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from switchfeat.