defaultLogLevel | Specifies which types of application logs display in Dev Center, based on priority level. Possible values mirror Apache’s log4net: All, Debug, Info, Warn, Error, Fatal, and Off. When deploying an API Extensions application to production, set this value to Error to avoid performance penalties. |
| actions | An array of actions. |
actionId | Identifies a specific action. This ID matches the naming conventions in the assets/functions.json file. |
| actions[ contexts ] | The per-site settings that apply to an individual action. |
context | (Optional) The siteId for the site you want to apply the nested settings to. You can omit this field if you want to apply the same settings to an action across all your sites. |
| actions[ contexts[ customFunctions ] ] | An array of custom functions tied to an action. Some actions can run only one function, but other functions can run multiple functions. |
applicationKey | The application key of the API Extensions application. |
functionId | The name of the custom function tied to the action, per the naming conventions set in the manifest files located in the assets/src directory. |
enabled | (Optional) A Boolean that controls whether the function is enabled or disabled. The default is true. |
timeoutMilliseconds | (Optional) The number of milliseconds that the function waits before timing out. The default is 5000 milliseconds. |
exceptionBehavior | (Optional) The behavior to take when an error is encountered, either fault or continue. The default is fault. |
logLevel | (Optional) Specifies which types of function-specific logs display in Dev Center, based on priority level. Possible values mirror Apache’s log4net: All, Debug, Info, Warn, Error, Fatal, and Off. When deploying an API Extensions application to production, set this value to Error to avoid performance penalties. |
| actions[ contexts[ customFunctions[ configuration ] ] ] | Custom function-level settings that you can create. If you create custom settings with the same names as custom settings created at the application level, these settings take precedence over the application-level configurations. |
yourCustomField | Custom object data. |
| configurations | Custom settings that apply to all actions in the API Extensions application. |
applicationKey | The application key of the API Extensions application. |
| configurations[ configuration ] | Custom application-level settings that you can create. If you create custom settings with the same names as custom settings created at the function level, these settings are overwritten by the function-level configurations. |
yourCustomField | Custom object data. |