Config modifier endpoints allow you to review and manage config modifiers and their related links. Learn about config modifiers.
Anyone in a Redox organization can view config modifiers and related links, but you must be assigned to an engineer or support role to update them.
You can:
- retrieve a list of config modifiers by environment or organization;
- create config modifiers or links;
- update config modifiers or links; or
- delete config modifiers or link.
Test config modifier
Test a config modifier schema against a sample payload.
cURL request example
Request Body Schema
- environmentrequired, object
Specifies which Redox environment to use to test the config modifier.
- idrequired, string
Contains the unique identifier of the Redox environment.
Format: uuid
- configModifierrequired, object
Contains the config modifier settings to test against the payload.
- selectorrequired, string
Indicates the field path within the payload that this config modifier operates upon.
- flavorrequired, string
Indicates the type, or flavor, of config modifier. A put flavor alters data (i.e., creates or replaces) in a payload, while a delete flavor removes data from a payload.
Possible Values:put,delete - schemaobject
(For put flavors only) Contains a schema of keywords that define what the config modifier should do at the specified selector path.
- inputPayloadsrequired, object
Contains the payload(s) to test against the config modifier settings.
- processedPayloadrequired, object
Contains an example of a JSON payload after any expected processing (such as translation sets or other config modifiers) has occurred.
- initialPayloadobject
Contains an example of a JSON payload before any Redox processing has occurred.
Contains the config modifier and payload(s) to test.
- metaobject
- versionstring
Lists the major and minor version number for the format of the returned payload. The payload format or shape may change between minor versions, like including additional or extended fields in later versions. We include the version data in each response so that you have the option to handle the signaled differences.
- payloadobject
Contains the results of testing the config modifier settings against the provided payload(s).
- outcomerequired, string
Describes the result of applying the given config modifier to the payload. A value of
succeededindicates that the output payload was modified. A value offield-not-foundindicates that the field specified in the selector was not found in the payload(s).Possible Values:succeeded,field-not-found - outputobject
Contains the output payload after applying the config modifier to the provided input payload(s).
- schemaResultobject
Contains the schema output.
- fieldstring
For a field-not-found outcome, contains the selector path that was not found.