Plans (Formerly Bundles)
Get Plan Features
Retrieve a paginated list of plan features, with the abillity to search and order (by date (createdAt) or expiration date (expirationDate))
get/resources/plans/v1/{id}/features
Request
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Query parameters
offsetnumber
Page offset of the results to return
limitnumber
Number of results per page
filterstring
Search input; Searchable fields: name
orderBy'name' | 'key' | 'createdAt'
Order fields by date created (createdAt) or expired (expirationDate)
sortType'ASC' | 'DESC'
Sort fields by an ascending (ASC) or a decending (DESC) order
featureIdsstring[]
Comma separated feature IDs that can be used to filter the results
permissionKeysstring[]
Comma separated permission keys that can be used to filter the results
hasFeatureFlagboolean
Filter out features that are linked/not linked to feature-flag
Response
Example response
{
"items": [
{
"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.