GET /v1/feature/adoption/{featureId}

Retrieves the feature adoption numbers for a specific feature and date range. If dateRangeEnd is not specified, defaults to the current time. Max date range is 7 days.

Path parameters

  • featureId string Required

    Feature id

Query parameters

  • dateRangeEnd integer(int64)

    Date range end

  • dateRangeStart integer(int64)

    Date range start

  • propertyKey string

    Property Key

Responses

  • 200 */*

    Success

    Hide response attributes Show response attributes object
    • id string Required
    • name string Required
    • type string Required

      Values are FEATURE or MODULE.

    • parentFeatureId string
    • propertyKey string Required
    • status string

      Values are ACTIVATED or DELETED.

    • featureLabels array[object]

      Array of labels associated with the feature

      Hide featureLabels attributes Show featureLabels attributes object

      Feature label object

      • id string
      • name string
      • color string
  • 400

    Bad request

  • 401

    Unauthorized or bad API Key

  • 404

    Feature not found

  • 429

    Rate limit exceeded

GET /v1/feature/adoption/{featureId}
curl \
 --request GET 'https://api.aptrinsic.com/v1/feature/adoption/{featureId}'
Response examples (200)
{
  "id": "string",
  "name": "string",
  "type": "FEATURE",
  "parentFeatureId": "string",
  "propertyKey": "string",
  "status": "ACTIVATED",
  "featureLabels": [
    {
      "id": "string",
      "name": "string",
      "color": "string"
    }
  ]
}