Get Features for Pricing Tier
Get all features associated with a specific pricing-tier
.
caution
This endpoint has been deprecated and will be phased out at the end of 2023. Please update any existing usages of it to use the Query endpoint instead.
Endpoint
GET /v1/pricing-tiers/:pricingTierId/features
Request
- cURL
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
curl "https://api.warrant.dev/v1/pricing-tiers/growth-tier/features" \
-H "Authorization: ApiKey YOUR_KEY"
pricingTierFeatures, err := feature.listFeaturesForPricingTier("growth-tier", &warrant.ListPricingTierParams{
ListParams: warrant.ListParams{
Limit: 10,
},
})
ListResult<Feature> features = client.listFeaturesForPricingTier("growth-tier", new ListParams().withLimit(10));
// Class method
const features = await warrantClient.Feature.listFeaturesForPricingTier(
"growth-tier",
{ limit: 10 }
);
// Instance method
const pricingTier = await warrantClient.PricingTier.get("growth-tier");
const features = await pricingTier.listFeatures({ limit: 10 });
# Class method
features = warrant.Feature.list_for_pricing_tier("growth-tier", {"limit": 10})
# Instance method
pricing_tier = warrant.PricingTier.get("growth-tier")
features = pricing_tier.list_features({"limit": 10})
# Class method
features = Warrant::Feature.list_for_pricing_tier("growth-tier", { limit: 10 })
# Instance method
pricing_tier = Warrant::PricingTier.get("growth-tier")
features = pricing_tier.list_features({ limit: 10 })
Response
[
{
"featureId": "dashboard"
},
{
"featureId": "feature-2"
}
]