GET /v2/features
Description:
This API request returns all the active named feature for the requested site
API Limit:
600 requests per minute. Client receives 429 once over the limit.
Method Details:
Http method: GET
Response format: Json
Headers:
useriq-api-key: Your valid API key generated from the site settings page
Content-Type: application/json
Parameters:
None
Response:
Status code 200:
The body contains the result, which is a list of features. The features are sorted by updated_at timestamp and then description
Other Status code:
400: Bad request
401: Unauthorized.
429: Too many requests.
Response Field Description:
- site_id: (Integer), the site id.
- feature_id: (Integer), the feature id which is the internal id to identify the feature.
- name: (String), the feature name.
- type: (String), the feature type.
- target: (String), the feature target.
- is_starred: (boolean), whether the feature has been favorited and marked with a star.
- created_at: UTC, format yyyy-MM-dd hh:mm:ss.SSS, the date/time the feature is created.
- updated_at: UTC, format yyyy-MM-dd hh:mm:ss.SSS, the date/time the feature was last edited.
Example GET request with Response:
Example Request:
GET https://api.useriq.com/v2/features
Example Response
{
„success”: true,
„result”: [
{
„site_id”: 1234567,
„feature_id”, 123,
„name”: „Main page view”,
„type”: „pageview”,
„target”: „https://fictile-splitters.000webhostapp.com/index.html”,
„is_starred”: false,
„created_at”: „2021-04-19 05:16:24.930”,
„updated_at”: „2021-04-19 05:16:24.930”
},
{
„site_id”: 1234567,
„feature_id”: 156,
„name”: „Apply Filters”,
„type”: „click”,
„target”: „click:BUTTON className: filter-apply-btn md-button md-ink-ripple textContent: Apply Filters | https://app.useriq.com/#/named_features -testingURLchanges”,
„is_starred”: true,
„status”: „Active”,
„created_at”: „2018-06-15 12:07:24.583”,
„updated_at”: „2020-05-28 01:29:07.688”
}
]
}

Comments
0 comments
Article is closed for comments.