Parse policy commands
Parse policy mode provides the commands to specify a parse policy.
To enter the mode, use the global assembly-parse command. To delete a parse policy, use the global no assembly-parse command.
While in this mode, use the commands in the following table to define the parse policy.
- To view the current configuration, use the show command.
- To restore default values, use the reset command.
- To exit this configuration mode without saving changes to the running configuration, use the cancel command.
- To exit this configuration mode and save changes to the running configuration, use the exit command.
| Command | Purpose |
|---|---|
| admin-state | This command sets the administrative state for the configuration. |
| correlation-path | This command specifies the part of the API definition that correlates with the policy. |
| input | This command specifies the variable in the API context that contains the input for the parse policy. |
| output | This command specifies the variable in the API context that contains the results of the parse policy. |
| parse-settings-reference | This command specifies the parse settings configuration for the parse policy. |
| summary | This command specifies the brief, descriptive summary for the object instance. |
| title | This command specifies the title for the configuration. |
| use-content-type | This command specifies whether to attempt a parse action by using the
Content-Type specified in the request headers. |
| warn-on-empty-input | This command determines whether to generate a warning instead of an error when the payload of the input message is empty. |