Validate feature import data
Validates a feature flag data set. Checks whether the data can be imported into the specified project and environment. The returned value is an object that contains errors, warnings, and permissions required to perform the import, as described in the import documentation.
Authentication
Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format
Request
importTogglesSchema
project
The exported project
environment
The exported environment
data
The result of the export operation, providing you with the feature flag definitions, strategy definitions and the rest of the elements relevant to the features (tags, environments etc.)
Response
importTogglesValidateSchema
errors
A list of errors that prevent the provided data from being successfully imported.
warnings
A list of warnings related to the provided data.
permissions
Any additional permissions required to import the data. If the list is empty, you require no additional permissions beyond what your user already has.