Web Security

Download 0
Last updated Nov 23, 2026

websec-add-path-template-batch

Register the URL template in each input row.

Input fields: path_template (required), host, method, params, description. Omitted host or method means any. An existing template of the same host, method and path_template is updated. A row that fails validation is not saved and reports the reason in _error.

websec-add-path-template-batch

Output fields

FieldTypeNameDescription
hostStringHostNormalized host, * for any host, e.g. shop.example.com
methodStringMethodNormalized HTTP method, * for any method, e.g. GET
path_templateStringURL templateNormalized URL template, e.g. /api/users/:user_id/orders
guidStringGUIDGUID of the stored template, e.g. 5b1c6e2a-8f4d-4e7b-9a31-0c2d7e9f1a44
_actionStringActionadded or updated when saved, invalid on bad input, error on store failure
_errorStringErrorReason of failure, e.g. invalid placeholder: :userId, use :name or :name.ext with [a-z0-9_]