JavaScript
Features
Create a feature
Creates a new feature with the specified type, metering, and configuration.
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Server API Key
Body
application/json
Create a new feature with type, optional metering, and configuration.
The unique identifier for the feature
Required string length:
1 - 255Pattern:
^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$The display name for the feature
Maximum string length:
255The type of the feature
Available options:
BOOLEAN, NUMBER, ENUM The description for the feature
Maximum string length:
255The meter type for the feature
Available options:
None, FLUCTUATING, INCREMENTAL The status of the feature
Available options:
NEW, SUSPENDED, ACTIVE The units for the feature
Maximum string length:
255The plural units for the feature
Maximum string length:
255The additional metadata for the feature
Unit transformation to be applied to the reported usage
The configuration data for the feature
Required array length:
1 - 255 elementsResponse
The newly created feature object.
Response object
Feature configuration object
