Plans (Formerly Bundles)
Get Single Plan
Retrieve a single plan, including features linked to it
get/resources/plans/v1/{id}
Request
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Response
Example response
{
"id": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3",
"vendorId": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3",
"name": "Test Plan",
"defaultTreatment": "true",
"rules": [
{
"description": "This is the first rule",
"conditionLogic": "and",
"conditions": [
{
"attribute": "myCustomAttribute",
"attributeType": "custom",
"op": "in_list",
"value": {
"list": [
"valueA",
"valueB"
]
}
}
],
"treatment": "true"
}
],
"description": "This is a test plan",
"createdAt": "2022-01-01T00:00:00",
"updatedAt": "2022-01-01T00:00:00",
"features": {
"id": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3",
"name": "Test Feature",
"key": "test-feature",
"permissions": [
"permission.read",
"permission.write"
]
},
"entitlements": {
"id": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3",
"name": "Test Feature",
"key": "test-feature",
"permissions": [
"permission.read",
"permission.write"
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.